import { TEMPLATE_TYPE } from './index'
export const PAGE_LOGO = '/weshop_ai_logo.svg'
export const PAGE_TITLE = 'WeShop'
export const PAGE_FAVICON = '/small_logo.svg'
export const BASE_URL =
    process.env.NODE_ENV === 'development' ? 'https://pre.weshop.ai/api' : '/api'
export const WITH_CREDENTIALS = true
export const SHOW_BATCH_TASK = false // 是否可以批量创建任务
export const PAGE_PRIVACY = '/i18nPrivacy.html' // 隐私页面链接
export const PAGE_TERM = '/i18nTerms.html' // 用户协议页面链接
export const PAGE_POLICY = '/i18nTerms.html' // 支付相关的协议页面链接
export const IMAGE_WATER_MASK = '/watermark-weshop-i18n.svg' // 水印照片
export const CDN_DOMAIN = 'https://ai-global-image.weshop.com/'

export const MOBEIL_IMAGE = `https://ai-global-image.weshop.com/20230713-143524.png` // 移动端显示图片
export const WORKSPACE_PHRASE = [
    'A girl wearing a floral sundress walks on the streets of Tokyo',
    'Una niña con un vestido de flores camina por las calles de Tokio',
    'Uma garota usando um vestido floral caminha pelas ruas de Tóquio',
    'Um adorável menininho rechonchudo brinca com areia à beira-mar',
    'Une fille portant une robe à fleurs marche dans les rues de Tokyo',
    '꽃무늬 원피스를 입은 소녀가 도쿄의 거리를 걷고 있습니다',
    '花柄のワンピースを着た少女が東京の街を歩いています',
]
export const WORKSPACE_CASEINFOS = [
    {
        title: 'Example 1:',
        content:
            "A young Chinese woman with voluminous golden short hair, tattoos, exquisitely detailed skin, lifelike detailed eyes, natural skin texture, a confident expression, and stylish hip-hop attire, is walking outdoors against the backdrop of urban ruins. It's a sunny day, with bright sunlight during a summer afternoon. The focus is clear, and the image is of high quality, shot with an iPhone, achieving a hyper-realistic effect.",
    },
    {
        title: 'Example 2 in Spanish:',
        content:
            'Frente a una playa de Hawái en el año 2020, una hermosa y elegante mujer posa para una foto luciendo un vestido de cuello en V de color rojo profundo. La imagen debería tener una sensación de película vintage con tonos cálidos y un efecto desvanecido. La mujer debería ser el enfoque principal de la imagen, con el velero y la playa de fondo. Por favor, utilice Artstation como referencia e incluya detalles intrincados y elementos de alta precisión.',
    },
]

export const RETASK_BLOG_LINK = 'https://blog.weshop.ai/post-96'

export const RETASK_BLOG_TEXT = 'https://blog.weshop.ai/post-96'
export const HEAD_MENU = [
    {
        key: 'workstation',
        href: '/workspace',
    },
    {
        key: 'blog',
        href: 'https://blog.weshop.ai/',
    },
    {
        key: 'faqs',
        href: '/faqs',
    },
]

export const SHOW_COMPUTER_POWER = true // 是否显示算力点相关
export const SHOW_BROADCASE = false // 是否显示广播
export const SHOW_WECHAT_ACCOUNT = false // 是否显示微信公众号
export const SHOW_WATER_MASK = true // 是否显示水印
export const IS_SUBMIT_TASK = true // 是否可以投稿
export const IS_SHOW_GPU = false // 是否显示GPU信息
export const BROADCASE_URL = ''
export const LOG_URL =
    process.env.NODE_ENV === 'development' ? `${BASE_URL}/log` : 'https://www.weshop.com/api/log'
export const INIT_GOURP = 'mannequin'
export const WORKSPACE_TABS = ['star', 'showcase']
export const AGENT_LIST = TEMPLATE_TYPE
export const IS_ONLINE_POWER = true // 是否是线上算力(失败算力返还)
export const NETWORK_ERROR = '🔴 Network anomaly 🙅🏻‍♀️'
export const IS_ONLY_SHOW_STAR = false
export const PREVIEW_WEBP = '_preview.webp' // 复刻任务图片显示后缀
export const CLOUD_PROVIDE = ''
export const POWER_DETAIL = 'Computing Points Details'
export const POWER_DETAIL_LIST = [
    {
        key: 'checkPointCnt',
        label: 'CHECKPOINT',
    },
    {
        key: 'sdSamplingMethodCnt',
        label: 'Sampling method',
    },
    {
        key: 'posPromptCnt',
        label: 'Positive prompt braces',
    },
    {
        key: 'totalExecuteCnt',
        label: 'Total executions',
    },
    {
        key: 'perExecutePowerConsume',
        label: 'Points consumed eacn execution',
        powerNum: true,
    },
    {
        key: 'totalExecutePowerConsume',
        label: 'Points consumed this execution',
        powerNum: true,
    },
]
export const SECHEDUCLE_STRATEGY = [
    {
        key: 'balance',
        label: 'Normal Execution',
    },
    {
        key: 'immediate',
        label: 'Fast Lane Execution',
    },
    {
        key: 'offPeak',
        label: 'Idle Execution',
    },
]
