1import"../chunks/CWj6FrbW.js";import"../chunks/69_IOA4Y.js";import{p as z,g as D,o as F,t as M,a as x,b as G,s as J,j as K,d as N,f as g,e as i,$ as L,c as t,n as h,r as e,q as Q,l as R,u as V}from"../chunks/Coqcv2G2.js";import{i as X}from"../chunks/CZeb1kGS.js";import{s as Y}from"../chunks/DWkfIKkC.js";import{h as Z}from"../chunks/6VWT9yGr.js";import{s as m}from"../chunks/deyIpViy.js";import{i as tt}from"../chunks/CKxXGAmO.js";import{s as W,W as et,m as at}from"../chunks/7OfIzHrn.js";import{p as rt}from"../chunks/jB2tIm76.js";import{T as ot}from"../chunks/C8eAJkD3.js";import{S as st}from"../chunks/B5Z6ST1B.js";var it=g('<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=g("<div><!></div>"),lt=g('<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-1 scrollbar-none overflow-x-auto w-fit text-center text-sm font-medium 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,_){z(_,!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:(O,dt)=>{var v=it(),E=t(v),P=t(E);st(P,{}),e(E),e(v),Q("click",v,()=>{W.set(!n())}),x(O,v)},$$slots:{default:!0}})}e(a),M(()=>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=h(w,2),k=t(y),d=t(k),q=t(d,!0);e(d);var c=h(d,2),T=t(c,!0);e(c),e(k),e(y),e(b),e(f);var S=h(f,2),H=t(S);Y(H,_,"default",{},null),e(S),e(l),M((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`),N(q,a),m(c,1,`min-w-fit p-1.5 ${p??""} transition`),N(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};
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.