import{a as e}from"./index-AYdyW-i7.js";const s="https://checkout.updf.cn",t="https://updf.com",o={$accountSdk:{},tokenKey:"x-token",tokenExpire:108e3,oss:{"cn-east":{prefix:"http://test-updf-hangzhou.oss-cn-hangzhou.aliyuncs.com/",region:"oss-cn-hangzhou"},"us-east":{prefix:"http://test-updf-hangzhou.oss-cn-hangzhou.aliyuncs.com/",region:"oss-accelerate"}},ossApp:{"cn-east":{prefix:"http://test-updf-hangzhou.oss-cn-hangzhou.aliyuncs.com/",region:"oss-cn-hangzhou"},"us-east":{prefix:"http://test-updf-hangzhou.oss-cn-hangzhou.aliyuncs.com/",region:"oss-us-east-1"}},getCheckoutUrl:function(){var t,o,n;const a=e.utmSource,i=e.channel;if(e.isCN){let e=s+"/updf?platform=web_ai&isCN=1&routeName=updfAI";return a&&(e+=`&utm_source=${a}`),i&&(e+=`&channel=${i}`),e}const u=(null==(t=this.localeLangs[e.language])?void 0:t.websiteHome)||(null==(o=this.localeLangs["en-US"])?void 0:o.websiteHome);let c="zh-CN"!==e.language?u:null==(n=this.localeLangs["en-US"])?void 0:n.websiteHome;return c+="pricing-individuals?platform=web_ai",a&&(c+=`&utm_source=${a}`),i&&(c+=`&channel=${i}`),c},localeLangs:{"zh-CN":{websiteHome:`${"https://www.updf.cn"}/`},"en-US":{websiteHome:`${t}/`},"ru-RU":{websiteHome:`${t}/`},"nl-NL":{websiteHome:`${t}/`},"de-DE":{websiteHome:`${t}/de/`},"es-ES":{websiteHome:`${t}/es/`},"fr-FR":{websiteHome:`${t}/fr/`},"it-IT":{websiteHome:`${t}/it/`},"ja-JP":{websiteHome:`${t}/jp/`},"pt-BR":{websiteHome:`${t}/br/`},"ko-KR":{websiteHome:`${t}/kr/`},"ar-SA":{websiteHome:`${t}/ar/`},"zh-HK":{websiteHome:`${t}/hk/`}}};export{o as c};