export const IS_EN = process.env.NEXT_PUBLIC_I18N == 'true' // 是否海外英文版
export const IS_LOCAL = process.env.NEXT_PUBLIC_LOCAL == 'true' // 是否本地版
export const IS_CN = !IS_EN // 是否中文版

import * as constantsUs from './constans_us'
import * as constantsCn from './constans_cn'

let exportedConstants

if (IS_EN) {
    exportedConstants = constantsUs
} else if (IS_CN) {
    exportedConstants = constantsCn
}

export const {
    PAGE_LOGO,
    PAGE_PRIVACY,
    PAGE_TERM,
    PAGE_POLICY,
    IMAGE_WATER_MASK,
    CDN_DOMAIN,
    MOBEIL_IMAGE,
    WORKSPACE_PHRASE,
    WORKSPACE_CASEINFOS,
    RETASK_BLOG_LINK,
    RETASK_BLOG_TEXT,
    HEAD_MENU,
    BASE_URL,
    SHOW_COMPUTER_POWER,
    SHOW_BROADCASE,
    SHOW_WECHAT_ACCOUNT,
    SHOW_WATER_MASK,
    WITH_CREDENTIALS,
    IS_SUBMIT_TASK,
    IS_SHOW_GPU,
    BROADCASE_URL,
    LOG_URL,
    WORKSPACE_TABS,
    INIT_GOURP,
    AGENT_LIST,
    IS_ONLINE_POWER,
    NETWORK_ERROR,
    IS_ONLY_SHOW_STAR,
    PREVIEW_WEBP,
    CLOUD_PROVIDE,
    PAGE_TITLE,
    PAGE_FAVICON,
    POWER_DETAIL,
    POWER_DETAIL_LIST,
    SECHEDUCLE_STRATEGY,
    SHOW_BATCH_TASK,
} = exportedConstants
