import TIME from "./time" ; /**
 * CLIENT_ID_HEADER references the name of the header used to extract/send the
 * client ID to enable automatic de-duplication.
 */ export const CLIENT_ID_HEADER = "X-Coral-Client-ID" ; /**
 * CLIENT_ID_PARAM references the name of the param used to send the client ID
 * via connectionParams when authenticating a websocket connection to enable
 * automatic de-duplication.
 */ export const CLIENT_ID_PARAM = "clientID" ; /**
 * BUNDLE_ID_PARAM references the name of the param used ot send the ID of the
 * bundle via connectionParams when connecting via a websocket connection.
 */ export const BUNDLE_ID_PARAM = "bundleID" ; /**
 * BUNDLE_CONFIG_PARAM references the name of the param used to send the
 * parameters of the bundle via connectionParams when connecting via a websocket
 * connection.
 */ export const BUNDLE_CONFIG_PARAM = "bundleConfig" ; /**
 * ACCESS_TOKEN_PARAM references the name of the param used to send the access
 * token in connectionParams when authenticating a websocket connection.
 */ export const ACCESS_TOKEN_PARAM = "accessToken" ; /**
 * TOXICITY_THRESHOLD_DEFAULT is the default value used when the threshold is
 * not set.
 */ export const TOXICITY_THRESHOLD_DEFAULT = 80 ; /**
 * TOXICITY_MODEL_DEFAULT is the default value used for the toxicity model.
 */ export const TOXICITY_MODEL_DEFAULT = "TOXICITY" ; /**
 * TOXICITY_ENDPOINT_DEFAULT is the default value used for the toxicity endpoint
 * for the API.
 */ export const TOXICITY_ENDPOINT_DEFAULT = "https://commentanalyzer.googleapis.com/v1alpha1" ; export const GIPHY_SEARCH = "https://api.giphy.com/v1/gifs/search" ; export const GIPHY_FETCH = "https://api.giphy.com/v1/gifs" ; /**
 * DOWNLOAD_LIMIT_TIMEFRAME_DURATION is the number of seconds that a given
 * download may be made within.
 */ export const DOWNLOAD_LIMIT_TIMEFRAME_DURATION = 14 * TIME . DAY ; /**
 * ALLOWED_USERNAME_CHANGE_TIMEFRAME_DURATION is the length of time in seconds
 * a user must wait after changing their username to change it again.
 */ export const ALLOWED_USERNAME_CHANGE_TIMEFRAME_DURATION = 14 * TIME . DAY ; /**
 * SCHEDULED_DELETION_TIMEFRAME is the length of time in seconds a user will
 * have to wait for their account to be deleted after requesting a deletion.
 */ export const SCHEDULED_DELETION_WINDOW_DURATION = 1 * TIME . DAY ; /**
 * DEFAULT_SESSION_DURATION is the length of time in seconds a session is valid
 * for unless configured in tenant.
 */ export const DEFAULT_SESSION_DURATION = 90 * TIME . DAY ; /**
 * COMMENT_REPEAT_POST_DURATION is the length of time in seconds that a
 * previous comment ID is stored for a user to prevent them from posting the
 * same comment repeatedly.
 */ export const COMMENT_REPEAT_POST_DURATION = 6 * TIME . MINUTE ; /**
 * SPOILER_CLASSNAME is the classname that is attached to spoilers.
 */ export const SPOILER_CLASSNAME = "coral-rte-spoiler" ; /**
 * SARCASM_CLASSNAME is the classname that is attached to sarcasm.
 */ export const SARCASM_CLASSNAME = "coral-rte-sarcasm" ; /**
 * MAX_BIO_LENGTH is the maximum length of a user bio in characters
 */ export const MAX_BIO_LENGTH = 100 ; export const REDIRECT_TO_PARAM = "redirectTo" ;