import{z as e,C as a,E as i}from"./vendor-s2rfM_Vj.js";import"./apis-DdFSvwR4.js";import{f as l}from"./constant-Dkm_Y9q1.js";import"./newtab-BWIjnu6l.js";import{o as r}from"./t-r-vendor-gn7FMrPE.js";import"./index-Bf7N7lFc.js";const n="_drawer-enter_6rvhy_1",t="_drawer-enter-active_6rvhy_7",o="_drawer-exit_6rvhy_17",s="_drawer-exit-active_6rvhy_23",c="_drawer-exit-done_6rvhy_29",v="_wrap-enter_6rvhy_34",u="_wrap-enter-active_6rvhy_38",p="_wrap-exit_6rvhy_47",h="_wrap-exit-active_6rvhy_51",m="_wrap-exit-done_6rvhy_56",d=[{label:"全部",value:l.all,icon:"all"},{label:"热门",value:l.default,icon:"hot"},{label:"工具",value:l.tool,icon:"tool"},{label:"音乐",value:l.music,icon:"music"},{label:"新闻",value:l.news,icon:"news1"},{label:"科技",value:l.tech,icon:"tech"},{label:"图片",value:l.photos,icon:"wallpaper"},{label:"娱乐",value:l.entertainment,icon:"game"},{label:"购物",value:l.shop,icon:"shop"},{label:"社交",value:l.social,icon:"friend"},{label:"阅读",value:l.read,icon:"read"},{label:"体育",value:l.sports,icon:"sport"},{label:"财经",value:l.finance,icon:"finance"},{label:"AI",value:l.ai,icon:"ai"},{label:"其他",value:l.others,icon:"more"}],_=i("div")({name:"WrapUI",class:"w1fna5ir",propsAsIs:!1}),x=i("aside")({name:"DrawerUI",class:"dg7922o",propsAsIs:!1});function b({visible:i,handleVisible:l,appGroup:b,setAppGroup:w}){return e.jsxs(e.Fragment,{children:[e.jsx(a,{in:i,timeout:200,classNames:{enter:v,enterActive:u,exit:p,exitActive:h,exitDone:m},unmountOnExit:!0,children:e.jsx(_,{onClick:()=>l(!1)})}),e.jsx(a,{in:i,timeout:200,classNames:{enter:n,enterActive:t,exit:o,exitActive:s,exitDone:c},unmountOnExit:!0,children:e.jsx(x,{children:d.map((a=>e.jsx(r,{checked:b===a.value,uncheckedProps:{theme:"default",variant:"outline",shape:"round",icon:e.jsx("i",{className:"ovo "+a.icon,style:{marginRight:4}})},checkedProps:{theme:"primary",variant:"light-outline",shape:"round",icon:e.jsx("i",{className:"ovo "+a.icon,style:{marginRight:4}})},onChange:()=>{var e;e=a.value,w(e)},children:a.label},a.value)))})})]})}export{d as APP_GROUP_MAP,b as default};
