'use strict';

var Locale = require('./Locale-fbe01177.js');

exports.Gender = void 0;
(function (Gender) {
    Gender["Boy"] = "boy";
    Gender["Girl"] = "girl";
})(exports.Gender || (exports.Gender = {}));
exports.BabyGrowthChartType = void 0;
(function (BabyGrowthChartType) {
    BabyGrowthChartType[BabyGrowthChartType["Height"] = 0] = "Height";
    BabyGrowthChartType[BabyGrowthChartType["Weight"] = 1] = "Weight";
    BabyGrowthChartType[BabyGrowthChartType["Head"] = 2] = "Head";
    BabyGrowthChartType[BabyGrowthChartType["BMI"] = 3] = "BMI";
})(exports.BabyGrowthChartType || (exports.BabyGrowthChartType = {}));
exports.BabyGrowthChartDuration = void 0;
(function (BabyGrowthChartDuration) {
    BabyGrowthChartDuration[BabyGrowthChartDuration["Weekly"] = 0] = "Weekly";
    BabyGrowthChartDuration[BabyGrowthChartDuration["Monthly"] = 1] = "Monthly";
    BabyGrowthChartDuration[BabyGrowthChartDuration["Yearly"] = 2] = "Yearly";
})(exports.BabyGrowthChartDuration || (exports.BabyGrowthChartDuration = {}));
exports.BabyGrowthResultTab = void 0;
(function (BabyGrowthResultTab) {
    BabyGrowthResultTab[BabyGrowthResultTab["Height"] = 0] = "Height";
    BabyGrowthResultTab[BabyGrowthResultTab["Weight"] = 1] = "Weight";
    BabyGrowthResultTab[BabyGrowthResultTab["Head"] = 2] = "Head";
    BabyGrowthResultTab[BabyGrowthResultTab["BMI"] = 3] = "BMI";
    BabyGrowthResultTab[BabyGrowthResultTab["Record"] = 4] = "Record";
})(exports.BabyGrowthResultTab || (exports.BabyGrowthResultTab = {}));

exports.OnboardingStep = void 0;
(function (OnboardingStep) {
    OnboardingStep[OnboardingStep["Phone"] = 0] = "Phone";
    OnboardingStep[OnboardingStep["OTP"] = 1] = "OTP";
    OnboardingStep[OnboardingStep["OTPEmail"] = 2] = "OTPEmail";
    OnboardingStep[OnboardingStep["PersonalInfo"] = 3] = "PersonalInfo";
    OnboardingStep[OnboardingStep["UpdatePassword"] = 4] = "UpdatePassword";
    OnboardingStep[OnboardingStep["Result"] = 5] = "Result";
    OnboardingStep[OnboardingStep["DynamicForm"] = 6] = "DynamicForm";
})(exports.OnboardingStep || (exports.OnboardingStep = {}));

/* type in flow */
exports.NodePosition = void 0;
(function (NodePosition) {
    NodePosition[NodePosition["HEAD"] = 0] = "HEAD";
    NodePosition[NodePosition["TAIL"] = 1] = "TAIL";
    NodePosition[NodePosition["MIDDLE"] = 2] = "MIDDLE";
    NodePosition[NodePosition["CONNECT"] = 3] = "CONNECT";
    NodePosition[NodePosition["SSO"] = 4] = "SSO";
    NodePosition[NodePosition["MULTIPLE"] = 5] = "MULTIPLE";
})(exports.NodePosition || (exports.NodePosition = {}));
/* action_type in flow */
exports.NodeType = void 0;
(function (NodeType) {
    NodeType[NodeType["UNDEFINED"] = -1] = "UNDEFINED";
    NodeType[NodeType["TEXT"] = 0] = "TEXT";
    NodeType[NodeType["IMAGE"] = 1] = "IMAGE";
    NodeType[NodeType["FORM"] = 2] = "FORM";
    NodeType[NodeType["CONDITION"] = 3] = "CONDITION";
    NodeType[NodeType["POLL"] = 4] = "POLL";
    NodeType[NodeType["FINAL_STANDARD"] = 5] = "FINAL_STANDARD";
    NodeType[NodeType["FINAL"] = 6] = "FINAL";
    NodeType[NodeType["FINAL_THANK_YOU"] = 7] = "FINAL_THANK_YOU";
    NodeType[NodeType["RATING"] = 8] = "RATING";
    NodeType[NodeType["REACTION"] = 9] = "REACTION";
    NodeType[NodeType["REVIEW"] = 10] = "REVIEW";
    NodeType[NodeType["RESULT_POLL"] = 11] = "RESULT_POLL";
    NodeType[NodeType["RESULT_RATING"] = 12] = "RESULT_RATING";
    NodeType[NodeType["RESULT_REACTION"] = 13] = "RESULT_REACTION";
    NodeType[NodeType["OTP"] = 14] = "OTP";
})(exports.NodeType || (exports.NodeType = {}));
const NodeFinalTypes = [
    exports.NodeType.FINAL,
    exports.NodeType.FINAL_STANDARD,
    exports.NodeType.FINAL_THANK_YOU,
];
/* type if nodes.intent */
exports.NodeIntentType = void 0;
(function (NodeIntentType) {
    NodeIntentType["BOT_TEXT"] = "bot-text";
    NodeIntentType["BOT_IMAGE"] = "bot-image";
    NodeIntentType["BOT_BACKGROUND_IMAGE"] = "bot-background-image";
    NodeIntentType["BOT_BUTTON"] = "bot-button";
    NodeIntentType["BOT_URL"] = "bot-url";
    NodeIntentType["BOT_RECALCULATE"] = "bot-recalculate";
    NodeIntentType["BOT_BOOKING"] = "bot-booking";
    NodeIntentType["BOT_MAIN_TITLE"] = "bot-main-title";
    NodeIntentType["BOT_MAIN_IMAGE"] = "bot-main-image";
    NodeIntentType["BOT_MAIN_BODY"] = "bot-main-body";
    NodeIntentType["BOT_MAIN_BUTTON"] = "bot-main-button";
    NodeIntentType["BOT_SUB_TITLE"] = "bot-sub-title";
    NodeIntentType["BOT_SUB_BODY"] = "bot-sub-body";
    NodeIntentType["BOT_LANDING_PAGE_URL"] = "bot-landing-page-url";
    NodeIntentType["BOT_LANDING_PAGE_BUTTON"] = "bot-landing-page-button";
    NodeIntentType["BOT_RISK_SCREEN"] = "bot-risk-screen";
    NodeIntentType["BOT_RELATED_ARTICLE"] = "bot-related-article";
    NodeIntentType["THANK_YOU_IMAGE"] = "thank-you-image";
    NodeIntentType["THANK_YOU_TITLE"] = "thank-you-title";
    NodeIntentType["THANK_YOU_BODY"] = "thank-you-body";
    NodeIntentType["TOTAL_LINE"] = "total-line";
    NodeIntentType["BOT_SUBMISSION"] = "bot-submission";
    NodeIntentType["BOT_EVENT_SUBMISSION"] = "bot-event-submission";
    NodeIntentType["BOT_SUGGESTED_SERVICE"] = "bot-suggested-service";
    /** intents fake for sso block */
    NodeIntentType["SSO_INTENT"] = "sso-intent";
})(exports.NodeIntentType || (exports.NodeIntentType = {}));
/* type if nodes.action */
exports.NodeActionType = void 0;
(function (NodeActionType) {
    NodeActionType["ACTION_CONDITION"] = "action-condition";
    NodeActionType["ACTION_INTERNAL"] = "action-internal";
    NodeActionType["ACTION_EXTERNAL"] = "action-external";
    NodeActionType["ACTION_SSO_REDIRECT"] = "action-sso-redirect";
    NodeActionType["ACTION_MULTIPLE_BUTTON"] = "action-multiple-button";
    NodeActionType["USER_CHOICE_TEXT"] = "user-choice-text";
    NodeActionType["USER_CHOICE_TEXT_BY_INPUT"] = "user-choice-text-by-input";
    NodeActionType["USER_CHOICE_NEXT"] = "user-choice-next";
    NodeActionType["USER_CHOICE_IMAGE"] = "user-choice-image";
    NodeActionType["USER_SUBMIT_TEXT"] = "user-submit-text";
    NodeActionType["USER_SUBMIT_NUMBER"] = "user-submit-number";
    NodeActionType["USER_SUBMIT_NAME"] = "user-submit-name";
    NodeActionType["USER_SUBMIT_PHONE"] = "user-submit-phone";
    NodeActionType["USER_SUBMIT_EMAIL"] = "user-submit-email";
    NodeActionType["USER_SUBMIT_DROPDOWN"] = "user-submit-dropdown";
    NodeActionType["USER_SUBMIT_DATE"] = "user-submit-date";
    NodeActionType["USER_SUBMIT_DOB"] = "user-submit-dob";
    NodeActionType["USER_SUBMIT_CONFIRM"] = "user-submit-confirm";
    NodeActionType["USER_SUBMIT_SEND"] = "user-submit-send";
    NodeActionType["USER_SUBMIT_RESEND"] = "user-submit-resend";
    NodeActionType["USER_SUBMIT_ADDRESS"] = "user-submit-address";
    NodeActionType["USER_SUBMIT_ADDRESS_PROVINCE"] = "user-submit-address-province";
    NodeActionType["USER_SUBMIT_ADDRESS_DISTRICT"] = "user-submit-address-district";
    NodeActionType["USER_SUBMIT_ADDRESS_COMMUNE"] = "user-submit-address-commune";
    NodeActionType["USER_SUBMIT_BMI"] = "user-submit-bmi";
    NodeActionType["USER_SUBMIT_BMI_HIDDEN"] = "user-submit-bmi-hidden";
    NodeActionType["USER_SUBMIT_TERMS"] = "user-submit-terms";
    NodeActionType["USER_SUBMIT_GENDER"] = "user-submit-gender";
    NodeActionType["USER_SUBMIT_OTP"] = "user-submit-otp";
    NodeActionType["USER_SUBMIT_WHATSAPP"] = "user-submit-whatsapp";
    NodeActionType["POLL_CHOICE"] = "poll-choice";
    NodeActionType["POLL_CHOICE_TEXT_BY_INPUT"] = "poll-choice-text-by-input";
    NodeActionType["POLL_CHOICE_IMAGE"] = "poll-choice-image";
    NodeActionType["POLL_BUTTON"] = "poll-button";
    NodeActionType["RATING_STAR"] = "rating-star";
    NodeActionType["RATING_DESCRIPTION"] = "rating-description";
    NodeActionType["RATING_BUTTON"] = "rating-button";
    NodeActionType["LIKE_CHOICE"] = "like-choice";
    NodeActionType["DISLIKE_CHOICE"] = "dislike-choice";
    NodeActionType["REVIEW_CHOICE"] = "review-choice";
    NodeActionType["REVIEW_DESCRIPTION"] = "review-description";
    NodeActionType["REVIEW_BUTTON"] = "review-button";
    NodeActionType["RESULT_BUTTON"] = "result-button";
    NodeActionType["POLL_RESULT"] = "poll-result";
    NodeActionType["USER_SUBMIT_GOOGLE_API_ADDRESS"] = "user-submit-google-api-address";
})(exports.NodeActionType || (exports.NodeActionType = {}));
const FULL_KEY_ADDRESS = [
    exports.NodeActionType.USER_SUBMIT_ADDRESS_PROVINCE,
    exports.NodeActionType.USER_SUBMIT_ADDRESS_DISTRICT,
    exports.NodeActionType.USER_SUBMIT_ADDRESS_COMMUNE,
    exports.NodeActionType.USER_SUBMIT_ADDRESS,
];
exports.NodeMultipleOptions = void 0;
(function (NodeMultipleOptions) {
    NodeMultipleOptions[NodeMultipleOptions["UNLIMITED"] = 0] = "UNLIMITED";
    NodeMultipleOptions[NodeMultipleOptions["EXACT_NUMBER"] = 1] = "EXACT_NUMBER";
    NodeMultipleOptions[NodeMultipleOptions["RANGE"] = 2] = "RANGE";
})(exports.NodeMultipleOptions || (exports.NodeMultipleOptions = {}));
const ELEMENT_CONTROL_INPUT_TYPE = {
    [exports.NodeActionType.USER_SUBMIT_EMAIL]: 'email',
    [exports.NodeActionType.USER_SUBMIT_TEXT]: 'text',
    [exports.NodeActionType.USER_SUBMIT_DROPDOWN]: 'text',
    [exports.NodeActionType.USER_SUBMIT_NAME]: 'name',
    [exports.NodeActionType.USER_SUBMIT_NUMBER]: 'number',
    [exports.NodeActionType.USER_SUBMIT_ADDRESS]: 'address',
    [exports.NodeActionType.USER_SUBMIT_PHONE]: 'tel',
    [exports.NodeActionType.USER_SUBMIT_OTP]: 'tel',
    [exports.NodeActionType.USER_SUBMIT_WHATSAPP]: 'tel',
    [exports.NodeActionType.USER_SUBMIT_DATE]: 'date',
    [exports.NodeActionType.USER_SUBMIT_CONFIRM]: 'confirm',
    [exports.NodeActionType.USER_SUBMIT_SEND]: 'submit',
    [exports.NodeActionType.USER_SUBMIT_TERMS]: 'terms',
    [exports.NodeActionType.USER_SUBMIT_ADDRESS_PROVINCE]: 'province',
    [exports.NodeActionType.USER_SUBMIT_ADDRESS_DISTRICT]: 'district',
    [exports.NodeActionType.USER_SUBMIT_ADDRESS_COMMUNE]: 'commune',
    [exports.NodeActionType.USER_SUBMIT_BMI]: 'bmi',
    [exports.NodeActionType.USER_SUBMIT_GENDER]: 'gender',
    [exports.NodeActionType.POLL_CHOICE]: 'poll',
    [exports.NodeActionType.POLL_CHOICE_TEXT_BY_INPUT]: 'poll',
    [exports.NodeActionType.POLL_CHOICE_IMAGE]: 'poll',
    [exports.NodeActionType.RATING_STAR]: 'rating',
    [exports.NodeActionType.RATING_DESCRIPTION]: 'text',
    [exports.NodeActionType.LIKE_CHOICE]: 'like',
    [exports.NodeActionType.DISLIKE_CHOICE]: 'dislike',
    [exports.NodeActionType.REVIEW_CHOICE]: 'review',
    [exports.NodeActionType.USER_SUBMIT_GOOGLE_API_ADDRESS]: 'google-api-address',
    [exports.NodeActionType.USER_SUBMIT_DOB]: 'dob',
};
const SubotType = {
    FRU: 'FRU',
    survey: 'Survey',
    ristScreener: 'risk_screener',
    voucherAcuvue: 'ACUVUE',
};

exports.VideoType = void 0;
(function (VideoType) {
    VideoType["VIDEO"] = "video";
    VideoType["SHORTS"] = "short";
    VideoType["PODCAST"] = "podcast";
    VideoType["LIVESTREAM"] = "live-stream";
})(exports.VideoType || (exports.VideoType = {}));

exports.SocialType = void 0;
(function (SocialType) {
    SocialType["Facebook"] = "facebook";
    SocialType["Zalo"] = "zalo";
    SocialType["Twitter"] = "twitter";
    SocialType["WhatsApp"] = "whatsApp";
    SocialType["Line"] = "line";
    SocialType["Instagram"] = "instagram";
    SocialType["LinkedIn"] = "linkedin";
    SocialType["Youtube"] = "youtube";
    SocialType["Tiktok"] = "tiktok";
    SocialType["Telegram"] = "telegram";
    SocialType["Viber"] = "viber";
})(exports.SocialType || (exports.SocialType = {}));
const COMMON_DATE_TRANSLATE_KEY = {
    DD: { id: 'common.day', defaultMessage: 'Day' },
    MM: { id: 'common.month', defaultMessage: 'Month' },
    YYYY: { id: 'common.year', defaultMessage: 'Year' },
};

var index = /*#__PURE__*/Object.freeze({
  __proto__: null,
  get SocialType () { return exports.SocialType; },
  COMMON_DATE_TRANSLATE_KEY: COMMON_DATE_TRANSLATE_KEY,
  get Gender () { return exports.Gender; },
  get BabyGrowthChartType () { return exports.BabyGrowthChartType; },
  get BabyGrowthChartDuration () { return exports.BabyGrowthChartDuration; },
  get BabyGrowthResultTab () { return exports.BabyGrowthResultTab; },
  get LOCALE () { return Locale.LOCALE; },
  get OnboardingStep () { return exports.OnboardingStep; },
  get NodePosition () { return exports.NodePosition; },
  get NodeType () { return exports.NodeType; },
  NodeFinalTypes: NodeFinalTypes,
  get NodeIntentType () { return exports.NodeIntentType; },
  get NodeActionType () { return exports.NodeActionType; },
  FULL_KEY_ADDRESS: FULL_KEY_ADDRESS,
  get NodeMultipleOptions () { return exports.NodeMultipleOptions; },
  ELEMENT_CONTROL_INPUT_TYPE: ELEMENT_CONTROL_INPUT_TYPE,
  SubotType: SubotType,
  get VideoType () { return exports.VideoType; }
});

exports.COMMON_DATE_TRANSLATE_KEY = COMMON_DATE_TRANSLATE_KEY;
exports.ELEMENT_CONTROL_INPUT_TYPE = ELEMENT_CONTROL_INPUT_TYPE;
exports.FULL_KEY_ADDRESS = FULL_KEY_ADDRESS;
exports.NodeFinalTypes = NodeFinalTypes;
exports.SubotType = SubotType;
exports.index = index;
