
export const BRAND: any = process.env.BRAND;

const BrandNameMap: any = {
    xiaomai: '小麦企学院',
    syoo: '云课堂'
}

const BrandIconMap: any = {
    xiaomai: 'https://image.xiaomaiketang.com/xm/bFkRBz7teA.png',
    syoo: 'https://image.xiaomaiketang.com/xm/PfDseQHZtB.png'
}

const BrandLogoMap: any = {
    xiaomai: 'https://image.xiaomaiketang.com/xm/6k8PPCmywG.png',
    syoo: 'https://image.xiaomaiketang.com/xm/T7NRKwrfQE.png'
}

const BrandBannerMap: any = {
    xiaomai: 'https://image.xiaomaiketang.com/xm/CDCcdAdaPs.png',
    syoo: 'https://image.xiaomaiketang.com/xm/DzMHpX7GWF.png'
}

const PATH_MAP: any = {
    prod: 'https://res.xiaomai0.com/xiaomai-cloud-class-web/h5.html',
    syoo: 'https://res.xiaomai0.com/xiaomai-cloud-class-web/h5.html',
}

const LIVE_SHARE_MAP: any = {
    xiaomai: process.env.DEPLOY_ENV === 'dev' ? 'https://dev.xiaomai5.com/store-live/index.html#/' : 'https://res.xiaomai0.com/store-live/index.html#/',
    syoo: 'https://dev.xiaomai5.com/dev1/store-live/index.html#/',
}


const CorpType_MAP: any = {
    xiaomai: 'X_MAI',
    syoo: 'S_YOU',
}


const XF_RWM_MAP: any = {
    xiaomai: 'https://cdn.xiaomai5.com/qixueyuankehu.png',
    syoo: 'https://image.xiaomaiketang.com/xm/Z2X2GTmKdj.png'
}




export const brandName: string = BrandNameMap[BRAND];
export const brandIcon: string = BrandIconMap[BRAND];
export const brandLogo: string = BrandLogoMap[BRAND];
export const brandBanner: string = BrandBannerMap[BRAND];
export const path: string = PATH_MAP[BRAND];
export const live: string = LIVE_SHARE_MAP[BRAND];
export const corpType: string = CorpType_MAP[BRAND];
export const xfrwm: string = XF_RWM_MAP[BRAND]
window.brandName = BrandNameMap[BRAND];

