import TrackingEvent from '../../tracking-event.js';
import CreatorEvent from './events.js';
import creatorEventGroup from './groups/creator.js';
import completeOnboardingScreenEvent from './events/models/complete-onboarding.js';
import viewOnboardingScreenEvent from './events/models/view-onboarding.js';
import clickCancelSubscriptionPlanEvent from './events/click-cancel-subscription-plan.js';
import clickProceedToPaymentEvent from './events/click-proceed-to-payment.js';
import clickReviewSubscriptionEvent from './events/click-review-subscription.js';
import clickSubscribeEvent from './events/click-subscribe.js';
import clickUpdatePaymentDetailsEvent from './events/click-update-payment-details.js';
import clickUpdateSubscriptionEvent from './events/click-update-subscription.js';
import confirmCancellationEvent from './events/confirm-cancellation.js';
import confirmSubscriptionAttemptEvent from './events/confirm-subscription-attempt.js';
import displayNameUpdatedEvent from './events/display-name-updated.js';
import groupCreatedEvent from './events/group-created.js';
import moduleMovedIntroGroupEvent from './events/module-moded-intro-group.js';
import openModuleCreationMenuEvent from './events/open-module-creation-menu.js';
import shopifyConnectionFlowCompletedEvent from './events/shopify-connection-flow-completed.js';
import submitCancellationReasonsFormEvent from './events/submit-cancellation-reasons-form.js';
import themeUpdatedEvent from './events/theme-updated.js';
import viewPlanSelectionScreenEvent from './events/view-plan-selection-screen.js';
import viewShopifyConnectionFlowEvent from './events/view-shopify-connection-flow.js';
import navBarClickEvent from './events/nav-bar-click.js';
import moduleCreatedEvent from './events/module-created.js';
import elementCreatedEvent from './events/element-created.js';
import profilePictureDimensionsTooSmallErrorEvent from './events/profile-picture-dimensions-too-small-error.js';
import profilePictureFileTooLargeErrorEvent from './events/profile-picture-file-too-large-error.js';
import selectedGoalTemplateEvent from './events/selected-goal-template.js';
const defaultEvent = new TrackingEvent(creatorEventGroup);
export const creatorTracking = {
    [CreatorEvent.CLICK_BLANK_TEMPLATE]: defaultEvent,
    [CreatorEvent.CLICK_BYPASS_TEMPLATE_WARNING]: defaultEvent,
    [CreatorEvent.CLICK_CANCEL_SUBSCRIPTION_PLAN]: clickCancelSubscriptionPlanEvent,
    [CreatorEvent.CLICK_CONTACT_US]: defaultEvent,
    [CreatorEvent.CLICK_FAQS]: defaultEvent,
    [CreatorEvent.CLICK_POPULATED_TEMPLATE]: defaultEvent,
    [CreatorEvent.CLICK_PROCEED_TO_PAYMENT]: clickProceedToPaymentEvent,
    [CreatorEvent.CLICK_REVIEW_SUBSCRIPTION]: clickReviewSubscriptionEvent,
    [CreatorEvent.CLICK_SUBSCRIBE]: clickSubscribeEvent,
    [CreatorEvent.CLICK_TEMPLATE_WARNING_BACK_TO_EDITING]: defaultEvent,
    [CreatorEvent.CLICK_UPDATE_PAYMENT_DETAILS]: clickUpdatePaymentDetailsEvent,
    [CreatorEvent.CLICK_UPDATE_SUBSCRIPTION]: clickUpdateSubscriptionEvent,
    [CreatorEvent.COMPLETE_ONBOARDING_COMPLETE_PROFILE_SCREEN]: completeOnboardingScreenEvent,
    [CreatorEvent.COMPLETE_ONBOARDING_HEADER_IMAGE_CROP_SCREEN]: completeOnboardingScreenEvent,
    [CreatorEvent.COMPLETE_ONBOARDING_HEADER_IMAGE_UPLOAD_SCREEN]: completeOnboardingScreenEvent,
    [CreatorEvent.COMPLETE_ONBOARDING_SOCIAL_LINKS_SCREEN]: completeOnboardingScreenEvent,
    [CreatorEvent.CONFIRM_CANCELLATION]: confirmCancellationEvent,
    [CreatorEvent.CONFIRM_SUBSCRIPTION_ATTEMPT]: confirmSubscriptionAttemptEvent,
    [CreatorEvent.CREATE_EXPERIENCE_STEP]: defaultEvent,
    [CreatorEvent.DISPLAY_NAME_UPDATED]: displayNameUpdatedEvent,
    [CreatorEvent.ELEMENT_CREATED]: elementCreatedEvent,
    [CreatorEvent.GROUP_CREATED]: groupCreatedEvent,
    [CreatorEvent.MODULE_CREATED]: moduleCreatedEvent,
    [CreatorEvent.MODULE_MOVED_INTRO_GROUP]: moduleMovedIntroGroupEvent,
    [CreatorEvent.NAV_BAR_CLICK]: navBarClickEvent,
    [CreatorEvent.OPEN_MODULE_CREATION_MENU]: openModuleCreationMenuEvent,
    [CreatorEvent.POPULATE_MODULES_FAILURE]: defaultEvent,
    [CreatorEvent.POPULATE_MODULES_SUCCESS]: defaultEvent,
    [CreatorEvent.PROFILE_PHOTO_UPDATED]: defaultEvent,
    [CreatorEvent.PROFILE_PICTURE_DIMENSIONS_TOO_SMALL_ERROR]: profilePictureDimensionsTooSmallErrorEvent,
    [CreatorEvent.PROFILE_PICTURE_FILE_TOO_LARGE_ERROR]: profilePictureFileTooLargeErrorEvent,
    [CreatorEvent.PUBLISH_CHANGES]: defaultEvent,
    [CreatorEvent.REQUEST_LOGIN_EMAIL_FAILURE]: defaultEvent,
    [CreatorEvent.REQUEST_LOGIN_EMAIL_SUCCESS]: defaultEvent,
    [CreatorEvent.SELECTED_GOAL_TEMPLATE]: selectedGoalTemplateEvent,
    [CreatorEvent.SHOPIFY_CONNECTION_FLOW_COMPLETED]: shopifyConnectionFlowCompletedEvent,
    [CreatorEvent.SOCIAL_LINKS_UPDATED]: defaultEvent,
    [CreatorEvent.SUBMIT_CANCELLATION_REASONS_FORM]: submitCancellationReasonsFormEvent,
    [CreatorEvent.THEME_UPDATED]: themeUpdatedEvent,
    [CreatorEvent.VIEW_ACCOUNT_SETTINGS_PAGE]: defaultEvent,
    [CreatorEvent.VIEW_ANALYTICS_PAGE]: defaultEvent,
    [CreatorEvent.VIEW_GOAL_TEMPLATE_MODAL]: defaultEvent,
    [CreatorEvent.VIEW_GOAL_TEMPLATE_PAGE]: defaultEvent,
    [CreatorEvent.VIEW_HEADER_TAB]: defaultEvent,
    [CreatorEvent.VIEW_MODULES_TAB]: defaultEvent,
    [CreatorEvent.VIEW_ONBOARDING_COMPLETE_PROFILE_SCREEN]: viewOnboardingScreenEvent,
    [CreatorEvent.VIEW_ONBOARDING_HEADER_IMAGE_CROP_SCREEN]: viewOnboardingScreenEvent,
    [CreatorEvent.VIEW_ONBOARDING_HEADER_IMAGE_UPLOAD_SCREEN]: viewOnboardingScreenEvent,
    [CreatorEvent.VIEW_ONBOARDING_SOCIAL_LINKS_SCREEN]: viewOnboardingScreenEvent,
    [CreatorEvent.VIEW_PLAN_SELECTION_SCREEN]: viewPlanSelectionScreenEvent,
    [CreatorEvent.VIEW_SHOPIFY_CONNECTION_FLOW]: viewShopifyConnectionFlowEvent,
    [CreatorEvent.VIEW_SOCIAL_LINKS_TAB]: defaultEvent,
    [CreatorEvent.VIEW_TALENT_PROFILE_PAGE]: defaultEvent,
    [CreatorEvent.VIEW_TEAM_MEMBERS_PAGE]: defaultEvent,
    [CreatorEvent.VIEW_TEMPLATE_SELECTION_MODAL]: defaultEvent,
    [CreatorEvent.VIEW_TEMPLATE_WARNING_MODAL]: defaultEvent,
    [CreatorEvent.VIEW_THEME_TAB]: defaultEvent
};
export default creatorTracking;
