import{W as s,L as t}from"./index-CIAVq8iD-1776148658686.js";const a=async e=>{try{return await s("/ranking/list",e)}catch(r){throw console.error("Failed to get list and my ranking:",r),console.error("error:"+r.response.errorMsg),r}},c=async e=>{try{return await t(`/activity/king-queen/effective?templateId=${e}`)}catch(r){throw console.error("Failed to get this week rewards and gifts:",r),console.error("error:"+r.response.errorMsg),r}},i=async e=>{try{return await s("/ranking/top-three-overall",e)}catch(r){throw console.error("Failed to get history top one:",r),console.error("error:"+r.response.errorMsg),r}},g=async(e,r)=>{try{return await s(`/ranking/top-three-overall?topN=${e}`,r)}catch(o){throw console.error("Failed to get history top one:",o),console.error("error:"+o.response.errorMsg),o}},l=async e=>{try{return await s("/ranking/historical-top1",{activityType:e})}catch(r){throw console.error("Failed to get history top one:",r),console.error("error:"+r.response.errorMsg),r}};export{g as a,c as b,l as c,i as d,a as g};
