import{_ as u,f as l,h as e,F as p,y as h,x as n,t as r,P as d,Q as i}from"./index-GCZD4BFP.js";const z={name:"AmazonAuthorization",data(){return{id_:"amzn1.sp.solution.b50697a2-e3d3-47e0-8de3-9ae03fbdcd9b",regions:[{name:"加拿大",url:"https://sellercentral.amazon.ca"},{name:"美国",url:"https://sellercentral.amazon.com"},{name:"墨西哥",url:"https://sellercentral.amazon.com.mx"},{name:"巴西",url:"https://sellercentral.amazon.com.br"},{name:"西班牙",url:"https://sellercentral-europe.amazon.com"},{name:"英国",url:"https://sellercentral-europe.amazon.com"},{name:"法国",url:"https://sellercentral-europe.amazon.com"},{name:"荷兰",url:"https://sellercentral.amazon.nl"},{name:"德国",url:"https://sellercentral-europe.amazon.com"},{name:"意大利",url:"https://sellercentral-europe.amazon.com"},{name:"瑞典",url:"https://sellercentral.amazon.se"},{name:"南非",url:"https://sellercentral.amazon.co.za"},{name:"波兰",url:"https://sellercentral.amazon.pl"},{name:"埃及",url:"https://sellercentral.amazon.eg"},{name:"土耳其",url:"https://sellercentral.amazon.com.tr"},{name:"沙特阿拉伯",url:"https://sellercentral.amazon.sa"},{name:"阿联酋",url:"https://sellercentral.amazon.ae"},{name:"印度",url:"https://sellercentral.amazon.in"},{name:"比利时",url:"https://sellercentral.amazon.com.be"},{name:"新加坡",url:"https://sellercentral.amazon.sg"},{name:"澳大利亚",url:"https://sellercentral.amazon.com.au"},{name:"日本",url:"https://sellercentral.amazon.co.jp"}]}},methods:{authorize(a){window.open(`${a}/apps/authorize/consent?application_id=${this.id_}&version=beta`)}}},s=a=>(d("data-v-47701710"),a=a(),i(),a),_=s(()=>e("thead",null,[e("tr",null,[e("td",null,"卖家平台"),e("td",null,"URL")])],-1)),b=s(()=>e("tr",null,[e("td",{colspan:"2"},"北美洲")],-1)),f={class:"url"},k=["onClick"];function v(a,x,$,g,o,m){return n(),l("div",null,[e("table",null,[_,e("tbody",null,[b,(n(!0),l(p,null,h(o.regions,(t,c)=>(n(),l("tr",{key:c},[e("td",null,r(t.name),1),e("td",f,r(t.url),1),e("td",null,[e("button",{onClick:y=>m.authorize(t.url)},"授权",8,k)])]))),128))])])])}const S=u(z,[["render",v],["__scopeId","data-v-47701710"]]);export{S as default};
