"use strict";
exports.id = 751;
exports.ids = [751];
exports.modules = {

/***/ 1653:
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "AL": () => (/* binding */ RACR_AGENT),
/* harmony export */   "MQ": () => (/* binding */ RETASK_AGENT),
/* harmony export */   "Q8": () => (/* binding */ MAIN_CUT_AGENT),
/* harmony export */   "Sg": () => (/* binding */ DEFAULT_AGENT_TIPS),
/* harmony export */   "ZK": () => (/* binding */ PROMPT_TYPE),
/* harmony export */   "Zb": () => (/* binding */ publicAccoutImg),
/* harmony export */   "cP": () => (/* binding */ TEMPLATE_TYPE),
/* harmony export */   "lz": () => (/* binding */ qrcodeImg)
/* harmony export */ });
/* unused harmony exports RETASK_AGENT_OLD, PREVIEW_MIN_SCALE, PREVIEW_MAX_SCALE */
const TEMPLATE_TYPE = [
    {
        key: "mannequin",
        icon: "/model.png"
    },
    {
        key: "model",
        icon: "/real.png"
    },
    {
        key: "product",
        icon: "/product.png"
    },
    {
        key: "toy",
        icon: "/toy.png"
    },
    {
        key: "children",
        icon: "/child.png"
    },
    {
        key: "replicate",
        icon: "/new_retask.svg",
        bottom: true,
        needDot: true
    },
    // {
    //     key: 'upscale',
    //     icon: '/new_maximize.svg',
    //     beta: false,
    // },
    {
        key: "image2image",
        icon: "/img2img.svg",
        bottom: true,
        floatIcon: "/icon_sd.svg"
    },
    {
        key: "text2image",
        icon: "/txt2img.svg",
        bottom: true,
        floatIcon: "/icon_sd.svg"
    }
];
const PROMPT_TYPE = [
    {
        key: "textDescription"
    },
    {
        key: "template"
    },
    {
        key: "prompt"
    },
    {
        key: "replicate"
    }
];
const DEFAULT_AGENT_TIPS = {
    mannequin: {
        icon: "/model.png",
        paramType: "textDescription",
        isSupportBatchTask: false,
        isSupportChangeVersion: true
    },
    model: {
        icon: "/real.png",
        paramType: "textDescription",
        isSupportBatchTask: false,
        isSupportChangeVersion: true
    },
    product: {
        icon: "/product.png",
        paramType: "textDescription",
        isSupportBatchTask: false,
        isSupportChangeVersion: true
    },
    accessory: {
        icon: "/jewelry.png",
        paramType: "textDescription",
        isSupportBatchTask: false,
        isSupportChangeVersion: false
    },
    toy: {
        icon: "/toy.png",
        paramType: "textDescription",
        isSupportBatchTask: false,
        isSupportChangeVersion: false
    },
    children: {
        icon: "/child.png",
        paramType: "textDescription",
        isSupportBatchTask: false,
        isSupportChangeVersion: false
    },
    replicate: {
        icon: "/new_retask.svg",
        paramType: "textDescription",
        isSupportChangeVersion: true
    },
    upscale: {
        icon: "",
        paramType: "xxx"
    },
    image2image: {
        paramType: "Image2Image",
        isSupportBatchTask: true,
        isSupportChangeVersion: false
    },
    text2image: {
        paramType: "Text2Image",
        isSupportBatchTask: true,
        isSupportChangeVersion: false
    }
};
const RACR_AGENT = [
    "mannequin",
    "model",
    "accessory",
    "children"
];
const RETASK_AGENT_OLD = (/* unused pure expression or super */ null && ([
    "mannequin",
    "model",
    "children"
]));
const RETASK_AGENT = [
    "mannequin",
    "model",
    "children",
    "replicate"
];
// 主体分割的agent
const MAIN_CUT_AGENT = [
    "product",
    "toy"
];
const qrcodeImg = "https://ai-image.weshop.com/help_qrcode.jpeg";
const publicAccoutImg = "https://ai-image.weshop.com/20230919-154023.png";
const PREVIEW_MIN_SCALE = 1;
const PREVIEW_MAX_SCALE = 4;


/***/ }),

/***/ 3413:
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {


// EXPORTS
__webpack_require__.d(__webpack_exports__, {
  "WM": () => (/* binding */ international_AGENT_LIST),
  "_n": () => (/* binding */ international_BASE_URL),
  "wD": () => (/* binding */ international_BROADCASE_URL),
  "sr": () => (/* binding */ international_CDN_DOMAIN),
  "Xq": () => (/* binding */ international_CLOUD_PROVIDE),
  "Ul": () => (/* binding */ international_HEAD_MENU),
  "HK": () => (/* binding */ international_IMAGE_WATER_MASK),
  "dM": () => (/* binding */ international_INIT_GOURP),
  "RD": () => (/* binding */ IS_CN),
  "jY": () => (/* binding */ IS_EN),
  "Kc": () => (/* binding */ international_IS_LOCAL),
  "mt": () => (/* binding */ international_IS_ONLINE_POWER),
  "zG": () => (/* binding */ international_IS_ONLY_SHOW_STAR),
  "Cu": () => (/* binding */ international_IS_SHOW_GPU),
  "HR": () => (/* binding */ international_IS_SUBMIT_TASK),
  "q6": () => (/* binding */ international_MOBEIL_IMAGE),
  "Fe": () => (/* binding */ international_NETWORK_ERROR),
  "QS": () => (/* binding */ international_PAGE_FAVICON),
  "xt": () => (/* binding */ international_PAGE_LOGO),
  "So": () => (/* binding */ international_PAGE_POLICY),
  "EM": () => (/* binding */ international_PAGE_PRIVACY),
  "H": () => (/* binding */ international_PAGE_TERM),
  "Ti": () => (/* binding */ international_PAGE_TITLE),
  "aV": () => (/* binding */ international_POWER_DETAIL),
  "y2": () => (/* binding */ international_POWER_DETAIL_LIST),
  "GJ": () => (/* binding */ international_PREVIEW_WEBP),
  "vi": () => (/* binding */ international_RETASK_BLOG_LINK),
  "D_": () => (/* binding */ international_RETASK_BLOG_TEXT),
  "KG": () => (/* binding */ international_SECHEDUCLE_STRATEGY),
  "nq": () => (/* binding */ international_SHOW_BATCH_TASK),
  "z4": () => (/* binding */ international_SHOW_BROADCASE),
  "fo": () => (/* binding */ international_SHOW_COMPUTER_POWER),
  "Lf": () => (/* binding */ international_SHOW_WATER_MASK),
  "du": () => (/* binding */ international_SHOW_WECHAT_ACCOUNT),
  "zu": () => (/* binding */ international_WITH_CREDENTIALS),
  "Zy": () => (/* binding */ international_WORKSPACE_CASEINFOS),
  "Yy": () => (/* binding */ international_WORKSPACE_PHRASE),
  "HG": () => (/* binding */ international_WORKSPACE_TABS)
});

// UNUSED EXPORTS: LOG_URL

// NAMESPACE OBJECT: ./src/common/constans/constans_us.ts
var constans_us_namespaceObject = {};
__webpack_require__.r(constans_us_namespaceObject);
__webpack_require__.d(constans_us_namespaceObject, {
  "AGENT_LIST": () => (AGENT_LIST),
  "BASE_URL": () => (BASE_URL),
  "BROADCASE_URL": () => (BROADCASE_URL),
  "CDN_DOMAIN": () => (CDN_DOMAIN),
  "CLOUD_PROVIDE": () => (CLOUD_PROVIDE),
  "HEAD_MENU": () => (HEAD_MENU),
  "IMAGE_WATER_MASK": () => (IMAGE_WATER_MASK),
  "INIT_GOURP": () => (INIT_GOURP),
  "IS_ONLINE_POWER": () => (IS_ONLINE_POWER),
  "IS_ONLY_SHOW_STAR": () => (IS_ONLY_SHOW_STAR),
  "IS_SHOW_GPU": () => (IS_SHOW_GPU),
  "IS_SUBMIT_TASK": () => (IS_SUBMIT_TASK),
  "LOG_URL": () => (LOG_URL),
  "MOBEIL_IMAGE": () => (MOBEIL_IMAGE),
  "NETWORK_ERROR": () => (NETWORK_ERROR),
  "PAGE_FAVICON": () => (PAGE_FAVICON),
  "PAGE_LOGO": () => (PAGE_LOGO),
  "PAGE_POLICY": () => (PAGE_POLICY),
  "PAGE_PRIVACY": () => (PAGE_PRIVACY),
  "PAGE_TERM": () => (PAGE_TERM),
  "PAGE_TITLE": () => (PAGE_TITLE),
  "POWER_DETAIL": () => (POWER_DETAIL),
  "POWER_DETAIL_LIST": () => (POWER_DETAIL_LIST),
  "PREVIEW_WEBP": () => (PREVIEW_WEBP),
  "RETASK_BLOG_LINK": () => (RETASK_BLOG_LINK),
  "RETASK_BLOG_TEXT": () => (RETASK_BLOG_TEXT),
  "SECHEDUCLE_STRATEGY": () => (SECHEDUCLE_STRATEGY),
  "SHOW_BATCH_TASK": () => (SHOW_BATCH_TASK),
  "SHOW_BROADCASE": () => (SHOW_BROADCASE),
  "SHOW_COMPUTER_POWER": () => (SHOW_COMPUTER_POWER),
  "SHOW_WATER_MASK": () => (SHOW_WATER_MASK),
  "SHOW_WECHAT_ACCOUNT": () => (SHOW_WECHAT_ACCOUNT),
  "WITH_CREDENTIALS": () => (WITH_CREDENTIALS),
  "WORKSPACE_CASEINFOS": () => (WORKSPACE_CASEINFOS),
  "WORKSPACE_PHRASE": () => (WORKSPACE_PHRASE),
  "WORKSPACE_TABS": () => (WORKSPACE_TABS)
});

// NAMESPACE OBJECT: ./src/common/constans/constans_cn.ts
var constans_cn_namespaceObject = {};
__webpack_require__.r(constans_cn_namespaceObject);
__webpack_require__.d(constans_cn_namespaceObject, {
  "AGENT_LIST": () => (constans_cn_AGENT_LIST),
  "BASE_URL": () => (constans_cn_BASE_URL),
  "BROADCASE_URL": () => (constans_cn_BROADCASE_URL),
  "CDN_DOMAIN": () => (constans_cn_CDN_DOMAIN),
  "CLOUD_PROVIDE": () => (constans_cn_CLOUD_PROVIDE),
  "HEAD_MENU": () => (constans_cn_HEAD_MENU),
  "IMAGE_WATER_MASK": () => (constans_cn_IMAGE_WATER_MASK),
  "INIT_GOURP": () => (constans_cn_INIT_GOURP),
  "IS_ONLY_SHOW_STAR": () => (constans_cn_IS_ONLY_SHOW_STAR),
  "IS_SHOW_GPU": () => (constans_cn_IS_SHOW_GPU),
  "IS_SUBMIT_TASK": () => (constans_cn_IS_SUBMIT_TASK),
  "LOG_URL": () => (constans_cn_LOG_URL),
  "MOBEIL_IMAGE": () => (constans_cn_MOBEIL_IMAGE),
  "NETWORK_ERROR": () => (constans_cn_NETWORK_ERROR),
  "PAGE_FAVICON": () => (constans_cn_PAGE_FAVICON),
  "PAGE_LOGO": () => (constans_cn_PAGE_LOGO),
  "PAGE_POLICY": () => (constans_cn_PAGE_POLICY),
  "PAGE_PRIVACY": () => (constans_cn_PAGE_PRIVACY),
  "PAGE_TERM": () => (constans_cn_PAGE_TERM),
  "PAGE_TITLE": () => (constans_cn_PAGE_TITLE),
  "POWER_DETAIL": () => (constans_cn_POWER_DETAIL),
  "POWER_DETAIL_LIST": () => (constans_cn_POWER_DETAIL_LIST),
  "PREVIEW_WEBP": () => (constans_cn_PREVIEW_WEBP),
  "RETASK_BLOG_LINK": () => (constans_cn_RETASK_BLOG_LINK),
  "RETASK_BLOG_TEXT": () => (constans_cn_RETASK_BLOG_TEXT),
  "SECHEDUCLE_STRATEGY": () => (constans_cn_SECHEDUCLE_STRATEGY),
  "SHOW_BATCH_TASK": () => (constans_cn_SHOW_BATCH_TASK),
  "SHOW_BROADCASE": () => (constans_cn_SHOW_BROADCASE),
  "SHOW_COMPUTER_POWER": () => (constans_cn_SHOW_COMPUTER_POWER),
  "SHOW_WATER_MASK": () => (constans_cn_SHOW_WATER_MASK),
  "SHOW_WECHAT_ACCOUNT": () => (constans_cn_SHOW_WECHAT_ACCOUNT),
  "WITH_CREDENTIALS": () => (constans_cn_WITH_CREDENTIALS),
  "WORKSPACE_CASEINFOS": () => (constans_cn_WORKSPACE_CASEINFOS),
  "WORKSPACE_PHRASE": () => (constans_cn_WORKSPACE_PHRASE),
  "WORKSPACE_TABS": () => (constans_cn_WORKSPACE_TABS)
});

// EXTERNAL MODULE: ./src/common/constans/index.ts
var constans = __webpack_require__(1653);
;// CONCATENATED MODULE: ./src/common/constans/constans_us.ts

const PAGE_LOGO = "/weshop_ai_logo.svg";
const PAGE_TITLE = "WeShop";
const PAGE_FAVICON = "/small_logo.svg";
const BASE_URL =  false ? 0 : "/api";
const WITH_CREDENTIALS = true;
const SHOW_BATCH_TASK = false // 是否可以批量创建任务
;
const PAGE_PRIVACY = "/i18nPrivacy.html" // 隐私页面链接
;
const PAGE_TERM = "/i18nTerms.html" // 用户协议页面链接
;
const PAGE_POLICY = "/i18nTerms.html" // 支付相关的协议页面链接
;
const IMAGE_WATER_MASK = "/watermark-weshop-i18n.svg" // 水印照片
;
const CDN_DOMAIN = "https://ai-global-image.weshop.com/";
const MOBEIL_IMAGE = `https://ai-global-image.weshop.com/20230713-143524.png` // 移动端显示图片
;
const WORKSPACE_PHRASE = [
    "A girl wearing a floral sundress walks on the streets of Tokyo",
    "Una ni\xf1a con un vestido de flores camina por las calles de Tokio",
    "Uma garota usando um vestido floral caminha pelas ruas de T\xf3quio",
    "Um ador\xe1vel menininho rechonchudo brinca com areia \xe0 beira-mar",
    "Une fille portant une robe \xe0 fleurs marche dans les rues de Tokyo",
    "꽃무늬 원피스를 입은 소녀가 도쿄의 거리를 걷고 있습니다",
    "花柄のワンピースを着た少女が東京の街を歩いています"
];
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\xe1i en el a\xf1o 2020, una hermosa y elegante mujer posa para una foto luciendo un vestido de cuello en V de color rojo profundo. La imagen deber\xeda tener una sensaci\xf3n de pel\xedcula vintage con tonos c\xe1lidos y un efecto desvanecido. La mujer deber\xeda 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\xf3n."
    }
];
const RETASK_BLOG_LINK = "https://blog.weshop.ai/post-96";
const RETASK_BLOG_TEXT = "https://blog.weshop.ai/post-96";
const HEAD_MENU = [
    {
        key: "workstation",
        href: "/workspace"
    },
    {
        key: "blog",
        href: "https://blog.weshop.ai/"
    },
    {
        key: "faqs",
        href: "/faqs"
    }
];
const SHOW_COMPUTER_POWER = true // 是否显示算力点相关
;
const SHOW_BROADCASE = false // 是否显示广播
;
const SHOW_WECHAT_ACCOUNT = false // 是否显示微信公众号
;
const SHOW_WATER_MASK = true // 是否显示水印
;
const IS_SUBMIT_TASK = true // 是否可以投稿
;
const IS_SHOW_GPU = false // 是否显示GPU信息
;
const BROADCASE_URL = "";
const LOG_URL =  false ? 0 : "https://www.weshop.com/api/log";
const INIT_GOURP = "mannequin";
const WORKSPACE_TABS = [
    "star",
    "showcase"
];
const AGENT_LIST = constans/* TEMPLATE_TYPE */.cP;
const IS_ONLINE_POWER = true // 是否是线上算力(失败算力返还)
;
const NETWORK_ERROR = "\uD83D\uDD34 Network anomaly \uD83D\uDE45\uD83C\uDFFB‍♀️";
const IS_ONLY_SHOW_STAR = false;
const PREVIEW_WEBP = "_preview.webp" // 复刻任务图片显示后缀
;
const CLOUD_PROVIDE = "";
const POWER_DETAIL = "Computing Points Details";
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
    }
];
const SECHEDUCLE_STRATEGY = [
    {
        key: "balance",
        label: "Normal Execution"
    },
    {
        key: "immediate",
        label: "Fast Lane Execution"
    },
    {
        key: "offPeak",
        label: "Idle Execution"
    }
];

;// CONCATENATED MODULE: ./src/common/constans/constans_cn.ts

const IS_LOCAL = "true" == "true" // 单机版
;
const constans_cn_BASE_URL =  false ? 0 : "/api";
const constans_cn_WITH_CREDENTIALS = true;
const constans_cn_PAGE_LOGO = IS_LOCAL ? "/weshop_ai_logo.svg" : "/weshop_logo.svg" // 页面左上角logo
;
const constans_cn_PAGE_TITLE = "WeShop";
const constans_cn_PAGE_FAVICON = "/small_logo.svg";
const constans_cn_PAGE_PRIVACY = "/privacy.html" // 隐私页面链接
;
const constans_cn_PAGE_TERM = "/terms.html" // 用户协议页面链接
;
const constans_cn_PAGE_POLICY = "/policy.html" // 支付相关的协议页面链接
;
const constans_cn_IMAGE_WATER_MASK = "/watermark-weshop.svg" // 水印照片
;
const constans_cn_CDN_DOMAIN = "https://ai-image.weshop.com/" // CDN前缀域名
;
const constans_cn_MOBEIL_IMAGE = "https://ai-image.weshop.com/20230713-143524.png" // 移动端显示图片
;
const constans_cn_WORKSPACE_PHRASE = [
    "穿着碎花连衣裙的女孩走在东京街头",
    "胖胖的可爱小男孩在海边玩沙子",
    "一张豪华真皮沙发放置在酒店的大堂",
    "变形金刚玩具出现在火星基地"
];
const constans_cn_WORKSPACE_CASEINFOS = [
    {
        title: "案例一：",
        content: "一位年轻的中国女性，蓬松的金色短发，纹身，高度细致的皮肤，逼真的细节眼睛，自然的皮肤纹理，自信的表情，时髦的嘻哈装扮，走在背景是城市废墟的室外，晴天，阳光，明亮，夏日午后，清晰对焦，高品质，iPhone拍摄，超逼真。"
    },
    {
        title: "案例二：",
        content: "A beautiful and elegant woman wearing a deep red V-neck dress is posing for a photo on a sailboat in front of a Hawaiian beach in the year 2020. The image should have a vintage film feel with a warm color tone and faded effect. The woman should be the main focus of the image, with the sailboat and beach in the background. Please use Artstation as a reference and include intricate details and hyperdetailed elements."
    }
];
const constans_cn_RETASK_BLOG_LINK = "https://blog.weshop.com/post-811";
const constans_cn_RETASK_BLOG_TEXT = "\uD83D\uDCD5 复刻任务--套图功能教程";
const constans_cn_HEAD_MENU = [
    {
        key: "workstation",
        href: "/workspace"
    },
    {
        key: "blog",
        href: "https://waytoagi.feishu.cn/wiki/UqKXwX1d0iRO5ikBb0DcYyb9ned"
    }
];
const constans_cn_SHOW_COMPUTER_POWER = !IS_LOCAL // 是否显示算力点相关
;
const constans_cn_SHOW_BROADCASE = true // 是否显示广播
;
const constans_cn_SHOW_WECHAT_ACCOUNT = !IS_LOCAL // 是否显示微信公众号
;
const constans_cn_SHOW_WATER_MASK = !IS_LOCAL // 是否显示水印
;
const constans_cn_IS_SUBMIT_TASK = !IS_LOCAL // 是否可以投稿
;
const constans_cn_SHOW_BATCH_TASK = IS_LOCAL // 是否可以批量创建任务
;
const constans_cn_WORKSPACE_TABS = IS_LOCAL ? [
    "star"
] : [
    "star",
    "showcase"
];
const constans_cn_IS_ONLY_SHOW_STAR = IS_LOCAL;
const constans_cn_AGENT_LIST = IS_LOCAL ? [
    {
        key: "image2image",
        icon: "/img2img.svg",
        bottom: true,
        floatIcon: "/icon_sd.svg"
    },
    {
        key: "text2image",
        icon: "/txt2img.svg",
        bottom: true,
        floatIcon: "/icon_sd.svg"
    }
] : constans/* TEMPLATE_TYPE */.cP;
const constans_cn_IS_SHOW_GPU = IS_LOCAL // 是否显示GPU信息
;
const constans_cn_LOG_URL =  false ? 0 : "https://www.weshop.com/api/log";
const constans_cn_BROADCASE_URL = IS_LOCAL ? "https://strapi.weshop.com/api/individual-notification" : "https://strapi.weshop.com/api/pc-notification";
const constans_cn_INIT_GOURP = IS_LOCAL ? "image2image" : "mannequin";
const constans_cn_NETWORK_ERROR = "\uD83D\uDD34 网络异常 \uD83D\uDE45\uD83C\uDFFB‍♀️";
const constans_cn_PREVIEW_WEBP = IS_LOCAL ? "" : "_preview.webp" // 复刻任务图片显示后缀
;
const constans_cn_CLOUD_PROVIDE = IS_LOCAL ? "" : "算力由腾讯云提供";
const constans_cn_POWER_DETAIL = IS_LOCAL ? "执行明细" : "算力明细";
const constans_cn_POWER_DETAIL_LIST = IS_LOCAL ? [
    {
        key: "checkPointCnt",
        label: "CHECKPOINT"
    },
    {
        key: "sdSamplingMethodCnt",
        label: "采样方法"
    },
    {
        key: "posPromptCnt",
        label: "正向咒语通配符"
    },
    {
        key: "totalExecuteCnt",
        label: "总执行次数"
    }
] : [
    {
        key: "checkPointCnt",
        label: "CHECKPOINT"
    },
    {
        key: "sdSamplingMethodCnt",
        label: "采样方法"
    },
    {
        key: "posPromptCnt",
        label: "正向咒语通配符"
    },
    {
        key: "totalExecuteCnt",
        label: "总执行次数"
    },
    {
        key: "perExecutePowerConsume",
        label: "每次执行消耗算力",
        powerNum: true
    },
    {
        key: "totalExecutePowerConsume",
        label: "本任务消耗算力",
        powerNum: true
    }
];
const constans_cn_SECHEDUCLE_STRATEGY = [
    {
        key: "balance",
        label: "正常执行"
    },
    {
        key: "immediate",
        label: "插队执行"
    },
    {
        key: "offPeak",
        label: "空闲执行"
    }
];

;// CONCATENATED MODULE: ./src/common/constans/international.ts
const IS_EN = "false" == "true" // 是否海外英文版
;
const international_IS_LOCAL = "true" == "true" // 是否本地版
;
const IS_CN = !IS_EN // 是否中文版
;


let exportedConstants;
if (IS_EN) {
    exportedConstants = constans_us_namespaceObject;
} else if (IS_CN) {
    exportedConstants = constans_cn_namespaceObject;
}
const { PAGE_LOGO: international_PAGE_LOGO , PAGE_PRIVACY: international_PAGE_PRIVACY , PAGE_TERM: international_PAGE_TERM , PAGE_POLICY: international_PAGE_POLICY , IMAGE_WATER_MASK: international_IMAGE_WATER_MASK , CDN_DOMAIN: international_CDN_DOMAIN , MOBEIL_IMAGE: international_MOBEIL_IMAGE , WORKSPACE_PHRASE: international_WORKSPACE_PHRASE , WORKSPACE_CASEINFOS: international_WORKSPACE_CASEINFOS , RETASK_BLOG_LINK: international_RETASK_BLOG_LINK , RETASK_BLOG_TEXT: international_RETASK_BLOG_TEXT , HEAD_MENU: international_HEAD_MENU , BASE_URL: international_BASE_URL , SHOW_COMPUTER_POWER: international_SHOW_COMPUTER_POWER , SHOW_BROADCASE: international_SHOW_BROADCASE , SHOW_WECHAT_ACCOUNT: international_SHOW_WECHAT_ACCOUNT , SHOW_WATER_MASK: international_SHOW_WATER_MASK , WITH_CREDENTIALS: international_WITH_CREDENTIALS , IS_SUBMIT_TASK: international_IS_SUBMIT_TASK , IS_SHOW_GPU: international_IS_SHOW_GPU , BROADCASE_URL: international_BROADCASE_URL , LOG_URL: international_LOG_URL , WORKSPACE_TABS: international_WORKSPACE_TABS , INIT_GOURP: international_INIT_GOURP , AGENT_LIST: international_AGENT_LIST , IS_ONLINE_POWER: international_IS_ONLINE_POWER , NETWORK_ERROR: international_NETWORK_ERROR , IS_ONLY_SHOW_STAR: international_IS_ONLY_SHOW_STAR , PREVIEW_WEBP: international_PREVIEW_WEBP , CLOUD_PROVIDE: international_CLOUD_PROVIDE , PAGE_TITLE: international_PAGE_TITLE , PAGE_FAVICON: international_PAGE_FAVICON , POWER_DETAIL: international_POWER_DETAIL , POWER_DETAIL_LIST: international_POWER_DETAIL_LIST , SECHEDUCLE_STRATEGY: international_SECHEDUCLE_STRATEGY , SHOW_BATCH_TASK: international_SHOW_BATCH_TASK  } = exportedConstants;


/***/ }),

/***/ 9204:
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
const Toast = ({ message , duration =3000 , onClose , type ="error"  })=>{
    const toastEl = document?.createElement("div");
    toastEl.textContent = message;
    toastEl.style.position = "fixed";
    toastEl.style.top = "80px";
    toastEl.style.left = "50%";
    toastEl.style.transform = "translate(-50%)";
    toastEl.style.padding = "10px";
    toastEl.style.background = type === "error" ? "#FFF5F2" : "#E8FFEA";
    toastEl.style.color = "#403D3C";
    toastEl.style.borderRadius = "12px";
    toastEl.style.opacity = "0";
    toastEl.style.transition = "opacity 0.3s";
    toastEl.style.zIndex = "10003";
    toastEl.style.fontSize = "14px";
    toastEl.style.border = type === "error" ? "1px solid #F53F3F" : "1px solid #00B42A";
    document.body.appendChild(toastEl);
    setTimeout(()=>{
        toastEl.style.opacity = "1";
    }, 0);
    setTimeout(()=>{
        toastEl.style.opacity = "0";
        setTimeout(()=>{
            document.body.removeChild(toastEl);
            onClose && onClose();
        }, 300);
    }, duration);
};
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Toast);


/***/ }),

/***/ 2228:
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6689);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);

const AppContext = /*#__PURE__*/ (0,react__WEBPACK_IMPORTED_MODULE_0__.createContext)(null);
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (AppContext);


/***/ }),

/***/ 8502:
/***/ ((module, __webpack_exports__, __webpack_require__) => {

__webpack_require__.a(module, async (__webpack_handle_async_dependencies__, __webpack_async_result__) => { try {
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "Bj": () => (/* binding */ suspendTask),
/* harmony export */   "Bv": () => (/* binding */ downloadImgName),
/* harmony export */   "Dl": () => (/* binding */ taskExecutions),
/* harmony export */   "Eb": () => (/* binding */ getBodySegment),
/* harmony export */   "F9": () => (/* binding */ saveTask),
/* harmony export */   "FJ": () => (/* binding */ get2KImageStatus),
/* harmony export */   "IM": () => (/* binding */ executionFaceDetect),
/* harmony export */   "Kf": () => (/* binding */ getSegement),
/* harmony export */   "LH": () => (/* binding */ taskExecutionStars),
/* harmony export */   "NJ": () => (/* binding */ getTags),
/* harmony export */   "Ne": () => (/* binding */ getAdetailerParams),
/* harmony export */   "Ob": () => (/* binding */ getHiresFixParams),
/* harmony export */   "PD": () => (/* binding */ getModel),
/* harmony export */   "PR": () => (/* binding */ getUser),
/* harmony export */   "S8": () => (/* binding */ promptRecommand),
/* harmony export */   "Se": () => (/* binding */ getGpuInfo),
/* harmony export */   "T8": () => (/* binding */ getTaskDetail),
/* harmony export */   "Ud": () => (/* binding */ getShowCase),
/* harmony export */   "Xq": () => (/* binding */ getBadge),
/* harmony export */   "Z2": () => (/* binding */ saveSAMMask),
/* harmony export */   "ZX": () => (/* binding */ getGroundParams),
/* harmony export */   "_5": () => (/* binding */ deleteTask),
/* harmony export */   "_X": () => (/* binding */ getTask),
/* harmony export */   "a$": () => (/* binding */ renameTask),
/* harmony export */   "bX": () => (/* binding */ replicableExecutions),
/* harmony export */   "by": () => (/* binding */ runTask),
/* harmony export */   "ey": () => (/* binding */ shopifyUploadImage),
/* harmony export */   "f6": () => (/* binding */ getControllerModels),
/* harmony export */   "hf": () => (/* binding */ starImage),
/* harmony export */   "i2": () => (/* binding */ viewRecord),
/* harmony export */   "l2": () => (/* binding */ getInterrogate),
/* harmony export */   "mT": () => (/* binding */ getControlnetDetect),
/* harmony export */   "mV": () => (/* binding */ getShowCaseDetail),
/* harmony export */   "oZ": () => (/* binding */ getControllerParams),
/* harmony export */   "ox": () => (/* binding */ get2KImage),
/* harmony export */   "pW": () => (/* binding */ showCaseSubmission),
/* harmony export */   "pz": () => (/* binding */ joinOut),
/* harmony export */   "rW": () => (/* binding */ setDefaultAgentVersion),
/* harmony export */   "t4": () => (/* binding */ getTemplate),
/* harmony export */   "uG": () => (/* binding */ updateSegment)
/* harmony export */ });
/* unused harmony exports getTaskStatus, joinIn, joinInEmail, loginThird, checkSmsCode, smsLogin, smsSignup, isFresh, sendVerificationCode, sendEmailVerificationCode, emailLogin, taskExecutionList, getMaskData, getWallet, getNewInvitationID, getInvitationCodeList, getInvitationRecordList, getInvitationUsersList, getWithdrawFunds, starImageToTaskInfo, getApiKey, deleteApiKey, createApiKey, getWxServiceAccountSubscribeStatus, refreshSubscriptionQrCodeForSmsSignUp, getWxServiceAccountSubscriptionQrCode, getLogInfo, getApiPlans, isKorea */
/* harmony import */ var _server__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9245);
var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([_server__WEBPACK_IMPORTED_MODULE_0__]);
_server__WEBPACK_IMPORTED_MODULE_0__ = (__webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__)[0];

// 获取模板
const getTemplate = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.get */ .d.get("/v1/agent/info/locations", {
        params: data,
        headers: {}
    });
};
// 获取任务状态
const getTaskStatus = (data)=>{
    return http.get("/taskStatus", {
        params: data,
        headers: {}
    });
};
// 申请加入
const joinIn = (data)=>{
    return http.post("/login", data);
};
// 申请加入
const joinInEmail = (data)=>{
    return http.post("/emailLogin", data);
};
// 三方登录
const loginThird = (data)=>{
    return http.post("/thirdPartyLogin", data);
};
// 验证码检验
const checkSmsCode = (data)=>{
    return http.post("/checkSmsCode", data);
};
// 老用户登录
const smsLogin = (data)=>{
    return http.post("/smsLogin", data);
};
// 新用户登录
const smsSignup = (data)=>{
    return http.post("/smsSignup", data);
};
//新老用户检测
const isFresh = (data)=>{
    return http.post("/isFresh", data);
};
// 登出
const joinOut = ()=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.post */ .d.post("/logout");
};
//发送登录验证码
const sendVerificationCode = (data)=>{
    return http.post("/smsCode", data);
};
//发送登录邮箱验证码
const sendEmailVerificationCode = (data)=>{
    return http.post("/emailCode", data);
};
const emailLogin = (data)=>{
    return http.post("/emailLogin", data);
};
//查询用户信息
const getUser = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.get */ .d.get("/user", {
        params: data,
        headers: {}
    });
};
// 获取模特(新版)
const getModel = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.get */ .d.get("/v1/agent/info/fashionModels", {
        params: data,
        headers: {}
    });
};
// 获取任务列表
const getTask = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.post */ .d.post("/v1/agent/task/list", data);
};
// 获取tag列表
const getTags = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.get */ .d.get("/v1/agent/info/tags", {
        params: data,
        headers: {}
    });
};
// 创建 or 编辑任务
const saveTask = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.post */ .d.post(`/v1/agent/task/save?paramType=${data.paramType}`, data);
};
// 重命名
const renameTask = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.post */ .d.post("/v1/agent/task/rename", data);
};
// 提交任务
const runTask = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.post */ .d.post("/v1/agent/task/execute", data);
};
// 删除任务
const deleteTask = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.post */ .d.post(`/v1/agent/task/delete?taskId=${data.taskId}`);
};
// 获取任务的执行记录
const replicableExecutions = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.get */ .d.get("/v1/agent/task/replicableExecutions", {
        params: data,
        headers: {}
    });
};
//检测人脸
const executionFaceDetect = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.get */ .d.get("/v1/agent/task/executionFaceDetect", {
        params: data,
        headers: {}
    });
};
// 查询未完成的执行记录(轮训用)
const taskExecutions = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.post */ .d.post("/v1/agent/task/executions", data);
};
const taskExecutionStars = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.post */ .d.post("/v1/agent/task/executionStars", data);
};
// 星标打标
const starImage = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.post */ .d.post("/v1/agent/starImage", data);
};
// 查询已完成的执行记录
const taskExecutionList = (data)=>{
    return http.get("/finishedTaskExecutions", {
        params: data,
        headers: {}
    });
};
// 查询任务详情
const getTaskDetail = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.get */ .d.get("/v1/agent/task/detail", {
        params: data,
        headers: {}
    });
};
const getMaskData = (data)=>{
    return http.get("/imgseg-all", {
        params: data,
        headers: {}
    });
};
const getSegement = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.get */ .d.get("/v1/agent/segment", {
        params: data,
        headers: {}
    });
};
// 主体分割
const getBodySegment = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.get */ .d.get("/v1/agent/bodySegment", {
        params: data,
        headers: {}
    });
};
// 更新模型
const updateSegment = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.post */ .d.post("/v1/agent/updateSegment", data);
};
// //下载4k
// export const getImage4K = (data: IgetImage4KParams) => {
//     return http.get('/upscale', { params: data, headers: {} as AxiosRequestHeaders })
// }
// 总收益（钱包信息）
const getWallet = ()=>{
    return http.get("/wallet");
};
//创建邀请码
const getNewInvitationID = ()=>{
    return http.post("/newInvitationID");
};
// 邀请码列表
const getInvitationCodeList = (data)=>{
    return http.get("/listInvitationID", {
        params: data,
        headers: {}
    });
};
// 邀请记录列表
const getInvitationRecordList = (data)=>{
    return http.get("/listInvitationRecord", {
        params: data,
        headers: {}
    });
};
//推广用户明细
const getInvitationUsersList = (data)=>{
    return http.get("/listInvitedUsers", {
        params: data,
        headers: {}
    });
};
// 申请提现按钮
const getWithdrawFunds = ()=>{
    return http.post("/withdrawFunds");
};
const get2KImage = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.post */ .d.post("/v1/agent/task/upscale2k", data, {
        timeout: 300000
    });
};
const get2KImageStatus = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.get */ .d.get("/v1/agent/task/upscale2kStatus", {
        params: data,
        headers: {}
    });
};
const downloadImgName = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.get */ .d.get("/downloadImgName", {
        params: data,
        headers: {}
    });
};
const getShowCase = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.get */ .d.get("/v1/agent/listStudioCase", {
        params: data,
        headers: {}
    });
};
const getShowCaseDetail = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.get */ .d.get("/v1/agent/studioCaseDetail", {
        params: data,
        headers: {}
    });
};
const getBadge = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.get */ .d.get("/v1/agent/badge", {
        params: data,
        headers: {}
    });
};
const viewRecord = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.post */ .d.post("/v1/agent/viewRecord", data);
};
const getControllerParams = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.get */ .d.get("/v1/agent/playground/controllerParams", {
        params: data,
        headers: {}
    });
};
const getControllerModels = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.get */ .d.get("/v1/agent/playground/controllerModels", {
        params: data,
        headers: {}
    });
};
const getAdetailerParams = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.get */ .d.get("/v1/agent/playground/adetailerParams", {
        params: data,
        headers: {}
    });
};
const getGroundParams = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.get */ .d.get("/v1/agent/playground/commonParams", {
        params: data,
        headers: {}
    });
};
const getHiresFixParams = ()=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.get */ .d.get("/v1/agent/playground/hiresFixParams", {
        headers: {}
    });
};
const getControlnetDetect = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.get */ .d.get("/v1/agent/playground/controlnetDetect", {
        params: data,
        headers: {},
        timeout: 300000
    });
};
const getInterrogate = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.get */ .d.get("/v1/agent/playground/interrogate", {
        params: data,
        headers: {},
        timeout: 300000
    });
};
// 保存mask
const saveSAMMask = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.post */ .d.post("/v1/agent/task/saveMask", data);
};
// 投稿
const showCaseSubmission = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.post */ .d.post("/v1/agent/showCaseSubmission", data);
};
// 跳转至该任务
const starImageToTaskInfo = (data)=>{
    return http.get("/v1/agent/starImageToTaskInfo", {
        params: data,
        headers: {}
    });
};
// 获取推荐词
const promptRecommand = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.get */ .d.get("/v1/agent/promptRecommand", {
        params: data,
        headers: {}
    });
};
// 获取appkey
const getApiKey = ()=>{
    return http.get("/listApiKey");
};
// 删除appkey
const deleteApiKey = (data)=>{
    return http.post("/deleteApiKey", data);
};
// 新建appKey
const createApiKey = ()=>{
    return http.post("/generateApiKey");
};
const shopifyUploadImage = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.post */ .d.post("/shopifyUploadImage", data);
};
// 轮询微信订阅状态
const getWxServiceAccountSubscribeStatus = (data)=>{
    return http.get("/getWxServiceAccountSubscribeStatus", {
        params: data,
        headers: {}
    });
};
// 刷新二维码
const refreshSubscriptionQrCodeForSmsSignUp = (data)=>{
    return http.get("/refreshSubscriptionQrCodeForSmsSignUp", {
        params: data,
        headers: {}
    });
};
// 获取订阅二维码
const getWxServiceAccountSubscriptionQrCode = ()=>{
    return http.get("/wxServiceAccount/getSubscriptionQrCode", {
        headers: {}
    });
};
// 获取本机GPU信息（本地版使用）
const getGpuInfo = ()=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.get */ .d.get("/gpuInfo", {
        params: {
            noShowToast: true
        },
        headers: {}
    });
};
// 获取是否开启日志
const getLogInfo = ()=>{
    return http.get("/logInfo", {
        params: {
            noShowToast: true
        },
        headers: {}
    });
};
// 终止任务
const suspendTask = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.post */ .d.post("/v1/agent/task/suspend", data);
};
const getApiPlans = ()=>{
    return http.get("/apiPlans ", {
        headers: {}
    });
};
// 获取ip
const isKorea = ()=>{
    return http.get("/geoip/isKR");
};
// 默认版本
const setDefaultAgentVersion = (data)=>{
    return _server__WEBPACK_IMPORTED_MODULE_0__/* .http.post */ .d.post("/v1/agent/setDefaultAgentVersion", data);
};

__webpack_async_result__();
} catch(e) { __webpack_async_result__(e); } });

/***/ }),

/***/ 9245:
/***/ ((module, __webpack_exports__, __webpack_require__) => {

__webpack_require__.a(module, async (__webpack_handle_async_dependencies__, __webpack_async_result__) => { try {
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "d": () => (/* binding */ http)
/* harmony export */ });
/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9648);
/* harmony import */ var _components_Toast__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9204);
/* harmony import */ var _common_constans_international__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3413);
var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([axios__WEBPACK_IMPORTED_MODULE_0__]);
axios__WEBPACK_IMPORTED_MODULE_0__ = (__webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__)[0];



// 创建一个 Axios 实例
const axiosInstance = axios__WEBPACK_IMPORTED_MODULE_0__["default"].create({
    baseURL: _common_constans_international__WEBPACK_IMPORTED_MODULE_1__/* .BASE_URL */ ._n,
    timeout: 20000,
    headers: {
        "Content-Type": "application/json"
    },
    withCredentials: _common_constans_international__WEBPACK_IMPORTED_MODULE_1__/* .WITH_CREDENTIALS */ .zu
});
// 请求拦截器
axiosInstance.interceptors.request.use(async (config)=>{
    // 这里的 config 对象包含了本次请求的相关配置
    config.params = {
        ...config.params /* 公共参数 */ 
    };
    config.headers = {};
    config.headers["Weshop-Language"] = document?.documentElement?.lang;
    config.headers["Did"] = "local";
    return config;
}, (error)=>{
    (0,_components_Toast__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)({
        message: error.message,
        duration: 3000
    });
    // 请求出错时的处理s
    return Promise.reject(error);
});
// 响应拦截器
axiosInstance.interceptors.response.use((response)=>{
    const { success , msg , data , code  } = response.data;
    // eslint-disable-next-line @typescript-eslint/no-explicit-any
    let params = {};
    if (response?.config?.data) {
        params = JSON.parse(response?.config?.data);
    } else {
        params = response?.config?.params;
    }
    if (success) return data;
    else if (params?.replicateList) {
        // 复刻请求任务list
        return {
            code,
            msg
        };
    } else if (code === "2005") {
        if (!params?.noLogin) {
            location.href = "/login?from=" + encodeURIComponent(window.location.href);
        }
    } else if (code === "2007" || code === "2014") {
        // 2007 算力不足, 2014 完成注册
        return {
            code,
            msg
        };
    } else if (code === "2011" || code === "2006") {
        (0,_components_Toast__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)({
            message: `🔴 ${msg} 🙅🏻‍♀️`,
            duration: 2000
        });
        if (params?.requestTaskExecutions) {
            return {
                clearInterval: true
            };
        }
    } else {
        if (params?.noShowToast) return;
        if (true) {
            console.error(msg);
        } else {}
        return;
    }
}, (error)=>{
    // eslint-disable-next-line @typescript-eslint/no-explicit-any
    let params = {};
    if (error?.config?.data) {
        params = JSON.parse(error?.config?.data);
    } else {
        params = error?.config?.params;
    }
    if (params?.noShowToast) return;
    // 响应出错时的处理
    if (error.response) {
        const msg = error?.response?.data?.message || _common_constans_international__WEBPACK_IMPORTED_MODULE_1__/* .NETWORK_ERROR */ .Fe;
        if (true) {
            console.error(msg);
        } else {}
    } else {
        if (true) {
            console.error(_common_constans_international__WEBPACK_IMPORTED_MODULE_1__/* .NETWORK_ERROR */ .Fe);
        } else {}
    }
});
/* 导出封装的请求方法 */ const http = {
    // eslint-disable-next-line @typescript-eslint/no-explicit-any
    get (url, config) {
        return axiosInstance.get(url, config);
    },
    // eslint-disable-next-line @typescript-eslint/no-explicit-any
    post (url, data, config) {
        return axiosInstance.post(url, data, config);
    },
    // eslint-disable-next-line @typescript-eslint/no-explicit-any
    put (url, data, config) {
        return axiosInstance.put(url, data, config);
    },
    // eslint-disable-next-line @typescript-eslint/no-explicit-any
    delete (url, config) {
        return axiosInstance.delete(url, config);
    }
};
/* unused harmony default export */ var __WEBPACK_DEFAULT_EXPORT__ = ((/* unused pure expression or super */ null && (axiosInstance)));

__webpack_async_result__();
} catch(e) { __webpack_async_result__(e); } });

/***/ })

};
;