
/**
 * 由 Fantastic-admin 提供技术支持
 * Powered by Fantastic-admin
 * https://fantastic-admin.github.io
 */

import c from"./HKbd-By3ZrrUU.js";import{d as p,u as l,g as e,c as a,i as t,z as r,b as m,w as _,h as d,t as g,A as u,af as x,e as h,j as k}from"./index-nGFMSQGw.js";const f={key:1,class:"group inline-flex cursor-pointer items-center gap-1 whitespace-nowrap rounded-2 bg-stone-1 px-2 py-1.5 text-dark ring-stone-3 ring-inset transition dark-bg-stone-9 dark-text-white hover-ring-1 dark-ring-stone-7"},b=h("span",{class:"text-sm text-stone-5 transition group-hover-text-dark dark-group-hover-text-white"},"搜索",-1),C=p({name:"ToolbarRightSide",__name:"index",setup(S){const n=l();return(v,s)=>{const o=k,i=c;return e(),a("span",{class:"flex-center cursor-pointer px-2 py-1",onClick:s[0]||(s[0]=y=>t(x).emit("global-search-toggle"))},[t(n).mode==="mobile"?(e(),r(o,{key:0,name:"i-ri:search-line"})):(e(),a("span",f,[m(o,{name:"i-ri:search-line"}),b,t(n).settings.navSearch.enableHotkeys?(e(),r(i,{key:0,class:"ml-2"},{default:_(()=>[d(g(t(n).os==="mac"?"⌥":"Alt")+" S",1)]),_:1})):u("",!0)]))])}}});export{C as _};
