1import"../chunks/CWj6FrbW.js";import"../chunks/69_IOA4Y.js";import{p as P,g as D,o as F,t as N,a as x,b as G,s as J,j as K,d as M,f as h,c as t,e as i,$ as L,n as g,r as e,q as Q,l as R,u as V}from"../chunks/7a2fV5I9.js";import{i as X}from"../chunks/Dw-yaK-_.js";import{s as Y}from"../chunks/CiyEWm25.js";import{h as Z}from"../chunks/DKaByr9K.js";import{s as m}from"../chunks/3tOhmI7k.js";import{i as tt}from"../chunks/CWFN-V6k.js";import{a as W,W as et,m as at}from"../chunks/C33EP41Y.js";import{p as rt}from"../chunks/BewnZnAa.js";import{T as ot}from"../chunks/WwSz7SIr.js";import{S as st}from"../chunks/242QKLwC.js";var it=h('<button id="sidebar-toggle-button" class=" cursor-pointer flex rounded-lg hover:bg-gray-100 dark:hover:bg-gray-850 transition cursor-"><div class=" self-center p-1.5"><!></div></button>'),nt=h("<div><!></div>"),lt=h('<div><nav class=" px-2.5 pt-1.5 backdrop-blur-xl w-full drag-region"><div class=" flex items-center"><!> <div class=" flex w-full"><div class="flex gap-0.5 md:gap-1 scrollbar-none overflow-x-auto w-fit text-center text-sm font-normal rounded-full bg-transparent pt-1"><a href="/playground/notes"> </a> <a href="/playground/completions"> </a></div></div></div></nav> <div class=" flex-1 max-h-full overflow-y-auto"><!></div></div>');function wt(A,_){P(_,!1);const o=()=>i(U,"$i18n",s),B=()=>i(et,"$WEBUI_NAME",s),n=()=>i(W,"$showSidebar",s),C=()=>i(at,"$mobile",s),$=()=>i(rt,"$page",s),[s,I]=J(),U=D("i18n");F(async()=>{}),tt();var l=lt();Z("147j1we",r=>{K(a=>{L.title=` 2 ${a??""} / ${B()??""} 3 `},[()=>o().t("Home")])});var f=t(l),b=t(f),w=t(b);{var j=r=>{var a=nt(),p=t(a);{let u=V(()=>n()?o().t("Close Sidebar"):o().t("Open Sidebar"));ot(p,{get content(){return R(u)},interactive:!0,children:(H,dt)=>{var v=it(),E=t(v),O=t(E);st(O,{className:"size-4"}),e(E),e(v),Q("click",v,()=>{W.set(!n())}),x(H,v)},$$slots:{default:!0}})}e(a),N(()=>m(a,1,`${n()?"md:hidden":""} flex flex-none items-center self-end mt-1.5`)),x(r,a)};X(w,r=>{C()&&r(j)})}var y=g(w,2),k=t(y),d=t(k),q=t(d,!0);e(d);var c=g(d,2),T=t(c,!0);e(c),e(k),e(y),e(b),e(f);var S=g(f,2),z=t(S);Y(z,_,"default",{},null),e(S),e(l),N((r,a,p,u)=>{m(l,1,` flex flex-col w-full h-screen max-h-[100dvh] transition-width duration-200 ease-in-out ${n()?"md:max-w-[calc(100%-var(--sidebar-width))]":""} max-w-full`),m(d,1,`min-w-fit p-1.5 ${r??""} transition`),M(q,a),m(c,1,`min-w-fit p-1.5 ${p??""} transition`),M(T,u)},[()=>$().url.pathname.includes("/home/notes")?"":"text-gray-300 dark:text-gray-600 hover:text-gray-700 dark:hover:text-white",()=>o().t("Notes"),()=>$().url.pathname.includes("/playground/calendar")?"":"text-gray-300 dark:text-gray-600 hover:text-gray-700 dark:hover:text-white",()=>o().t("Calendar")]),x(A,l),G(),I()}export{wt as component}; 4//# sourceMappingURL=5.Cz5JQfQi.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.