1import{h as M,D as de,z as pe,x as ze,k as Oe,o as s,c as p,w as k,u as t,a,d as e,p as se,b as l,_ as B,f as c,aa as q,C as g,aI as re,e as De,b_ as Ke,b$ as Ne,bY as We,as as ie,bP as Ue,n as S,H as K,F as j,r as V,a8 as L,aK as he,ag as oe,c0 as D,t as y,c1 as fe,ad as ce,ae as ue,aC as ge,bH as Qe,bJ as Ge,G as Je,at as Se,au as Le,c2 as Xe,L as Ye,c3 as Ze,S as T,q as et,bv as tt,c4 as st,aR as at,B as xe,c5 as lt,J as ot,bh as nt}from"./BKPvSWlA.js";import{f as N,a as Ae,b as He,I as rt,c as it}from"./nGHdz-6P.js";import{F as ct,a as ut}from"./DpGjEsiA.js";import{N as te}from"./CespTres.js";import{u as Te}from"./CYefP1vD.js";import{_ as dt}from"./f12pEJ_X.js";import{_ as ne}from"./BLLBY0YZ.js";import{_ as be}from"./KfKZg-fh.js";import{_ as je}from"./DJKHf1j-.js";import{L as Ve,I as ye,a as _e}from"./DtGW57tv.js";import{I as pt,a as we,u as vt}from"./CcX-kce1.js";import{I as mt}from"./XCCLPFfq.js";import{I as qe}from"./xCSw5Fuy.js";import{I as kt}from"./DsB9o9Ro.js";import{I as ht}from"./Dmkt2iuY.js";import{I as ft}from"./UD4i4ajL.js";import{I as W}from"./D3qESAsz.js";import{a as gt,u as xt}from"./JWsItsmk.js";import{d as bt,_ as yt}from"./Dy5qZO0g.js";import{H as _t}from"./Ak3dGjsf.js";import{_ as Ce}from"./IXIvNOZp.js";import{g as wt}from"./xVNoViL4.js";import{I as Ct}from"./B05U5X95.js";import{u as $t}from"./CNiU0GdU.js";import{u as Mt}from"./C1u7JdXv.js";import{S as It}from"./DH8VmTOo.js";import{u as zt}from"./Bw5BwLp8.js";import"./DXA80rk2.js";import"./Cztv8eqI.js";import"./8SpYxbVJ.js";import"./DXPChHmb.js";import"./BKrj-4V8.js";import"./B9rjTKAt.js";import"./ClePoeKw.js";import"./B1P_XZmy.js";import"./C-C6e6K5.js";import"./DlAUqK2U.js";import"./BtRVheZ9.js";import"./DjRITr4h.js";import"./3HGR3UZJ.js";import"./DW2oQt15.js";import"./Cg1T987o.js";var St=M("outline","briefcase","Briefcase",[["path",{d:"M3 9a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v9a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2l0 -9",key:"svg-0"}],["path",{d:"M8 7v-2a2 2 0 0 1 2 -2h4a2 2 0 0 1 2 2v2",key:"svg-1"}],["path",{d:"M12 12l0 .01",key:"svg-2"}],["path",{d:"M3 13a20 20 0 0 0 18 0",key:"svg-3"}]]);var Lt=M("outline","building-community","BuildingCommunity",[["path",{d:"M8 9l5 5v7h-5v-4m0 4h-5v-7l5 -5m1 1v-6a1 1 0 0 1 1 -1h10a1 1 0 0 1 1 1v17h-8",key:"svg-0"}],["path",{d:"M13 7l0 .01",key:"svg-1"}],["path",{d:"M17 7l0 .01",key:"svg-2"}],["path",{d:"M17 11l0 .01",key:"svg-3"}],["path",{d:"M17 15l0 .01",key:"svg-4"}]]);var At=M("outline","calendar-event","CalendarEvent",[["path",{d:"M4 7a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2l0 -12",key:"svg-0"}],["path",{d:"M16 3l0 4",key:"svg-1"}],["path",{d:"M8 3l0 4",key:"svg-2"}],["path",{d:"M4 11l16 0",key:"svg-3"}],["path",{d:"M8 15h2v2h-2l0 -2",key:"svg-4"}]]);var Ht=M("outline","heart-spark","HeartSpark",[["path",{d:"M11.537 19.542l-7.037 -6.97a5 5 0 1 1 7.5 -6.566a5 5 0 0 1 8.212 5.693",key:"svg-0"}],["path",{d:"M19 22.5a4.75 4.75 0 0 1 3.5 -3.5a4.75 4.75 0 0 1 -3.5 -3.5a4.75 4.75 0 0 1 -3.5 3.5a4.75 4.75 0 0 1 3.5 3.5",key:"svg-1"}]]);var $e=M("outline","help","Help",[["path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 1 0 -18 0",key:"svg-0"}],["path",{d:"M12 17l0 .01",key:"svg-1"}],["path",{d:"M12 13.5a1.5 1.5 0 0 1 1 -1.5a2.6 2.6 0 1 0 -3 -4",key:"svg-2"}]]);var Tt=M("outline","home","Home",[["path",{d:"M5 12l-2 0l9 -9l9 9l-2 0",key:"svg-0"}],["path",{d:"M5 12v7a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-7",key:"svg-1"}],["path",{d:"M9 21v-6a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v6",key:"svg-2"}]]);var jt=M("outline","menu-2","Menu2",[["path",{d:"M4 6l16 0",key:"svg-0"}],["path",{d:"M4 12l16 0",key:"svg-1"}],["path",{d:"M4 18l16 0",key:"svg-2"}]]);var Vt=M("outline","message-circle","MessageCircle",[["path",{d:"M3 20l1.3 -3.9c-2.324 -3.437 -1.426 -7.872 2.1 -10.374c3.526 -2.501 8.59 -2.296 11.845 .48c3.255 2.777 3.695 7.266 1.029 10.501c-2.666 3.235 -7.615 4.215 -11.574 2.293l-4.7 1",key:"svg-0"}]]);var qt=M("outline","mountain","Mountain",[["path",{d:"M3 20h18l-6.921 -14.612a2.3 2.3 0 0 0 -4.158 0l-6.921 14.612",key:"svg-0"}],["path",{d:"M7.5 11l2 2.5l2.5 -2.5l2 3l2.5 -2",key:"svg-1"}]]);var Bt=M("outline","news","News",[["path",{d:"M16 6h3a1 1 0 0 1 1 1v11a2 2 0 0 1 -4 0v-13a1 1 0 0 0 -1 -1h-10a1 1 0 0 0 -1 1v12a3 3 0 0 0 3 3h11",key:"svg-0"}],["path",{d:"M8 8l4 0",key:"svg-1"}],["path",{d:"M8 12l4 0",key:"svg-2"}],["path",{d:"M8 16l4 0",key:"svg-3"}]]);var Rt=M("outline","rocket","Rocket",[["path",{d:"M4 13a8 8 0 0 1 7 7a6 6 0 0 0 3 -5a9 9 0 0 0 6 -8a3 3 0 0 0 -3 -3a9 9 0 0 0 -8 6a6 6 0 0 0 -5 3",key:"svg-0"}],["path",{d:"M7 14a6 6 0 0 0 -3 6a6 6 0 0 0 6 -3",key:"svg-1"}],["path",{d:"M14 9a1 1 0 1 0 2 0a1 1 0 1 0 -2 0",key:"svg-2"}]]);var Et=M("outline","spy-off","SpyOff",[["path",{d:"M3 11h8m4 0h6",key:"svg-0"}],["path",{d:"M5 11v-4c0 -.571 .16 -1.105 .437 -1.56m2.563 -1.44h8a3 3 0 0 1 3 3v4",key:"svg-1"}],["path",{d:"M4 17a3 3 0 1 0 6 0a3 3 0 1 0 -6 0",key:"svg-2"}],["path",{d:"M14.88 14.877a3 3 0 1 0 4.239 4.247m.59 -3.414a3.012 3.012 0 0 0 -1.425 -1.422",key:"svg-3"}],["path",{d:"M10 17h4",key:"svg-4"}],["path",{d:"M3 3l18 18",key:"svg-5"}]]);var Ft=M("outline","spy","Spy",[["path",{d:"M3 11h18",key:"svg-0"}],["path",{d:"M5 11v-4a3 3 0 0 1 3 -3h8a3 3 0 0 1 3 3v4",key:"svg-1"}],["path",{d:"M4 17a3 3 0 1 0 6 0a3 3 0 1 0 -6 0",key:"svg-2"}],["path",{d:"M14 17a3 3 0 1 0 6 0a3 3 0 1 0 -6 0",key:"svg-3"}],["path",{d:"M10 17h4",key:"svg-4"}]]);var Pt=M("outline","users-group","UsersGroup",[["path",{d:"M10 13a2 2 0 1 0 4 0a2 2 0 0 0 -4 0",key:"svg-0"}],["path",{d:"M8 21v-1a2 2 0 0 1 2 -2h4a2 2 0 0 1 2 2v1",key:"svg-1"}],["path",{d:"M15 5a2 2 0 1 0 4 0a2 2 0 0 0 -4 0",key:"svg-2"}],["path",{d:"M17 10h2a2 2 0 0 1 2 2v1",key:"svg-3"}],["path",{d:"M5 5a2 2 0 1 0 4 0a2 2 0 0 0 -4 0",key:"svg-4"}],["path",{d:"M3 13v-1a2 2 0 0 1 2 -2h2",key:"svg-5"}]]);const Ot={key:0,class:"cookie fixed bottom-20 left-5 right-5 z-50 max-w-lg rounded-xl bg-purple-100 p-4 shadow-2xl outline outline-2 outline-purple-300 backdrop-blur-lg dark:bg-dark/60 dark:outline-white md:bottom-6"},Dt={class:"flex items-start gap-3"},Kt={class:"flex flex-1 flex-col"},Me="cookie-consent",Ie="accepted",Nt=de({__name:"CookieNotice",setup(H){const r=g(!1),u=()=>re(Me,{default:()=>null,maxAge:31536e3}).value===Ie,C=()=>{const v=re(Me,{default:()=>null,maxAge:31536e3});
1v.value=Ie,r.value=!1},i=pe();return ze(()=>i.isLoggedIn,()=>{i.isLoggedIn&&(C(),r.value=!1)}),Oe(()=>{setTimeout(()=>{i.isLoggedIn?(C(),r.value=!1):u()||(r.value=!0)},2e3)}),(v,I)=>(s(),p(q,{"enter-active-class":"transition-all duration-500 ease-out","enter-from-class":"translate-y-full opacity-0","enter-to-class":"translate-y-0 opacity-100","leave-active-class":"transition-all duration-300 ease-in","leave-from-class":"translate-y-0 opacity-100","leave-to-class":"translate-y-full opacity-0"},{default:k(()=>[t(r)?(s(),a("div",Ot,[e("div",Dt,[e("div",Kt,[I[0]||(I[0]=e("p",{class:"max-w-lg text-sm leading-relaxed text-purple-800 dark:text-white"},[se(" ÐнÑоÑмиÑÑем Ð²Ð°Ñ Ð¾ Ñом, ÑÑо даннÑй ÑеÑÑÑÑ Ð¸ÑполÑзÑÐµÑ "),e("b",null,"cookie"),se(", ÑеÑвиÑÑ Ð²ÐµÐ±-аналиÑики. ÐÑÐ¾Ð´Ð¾Ð»Ð¶Ð°Ñ Ð¿Ð¾Ð»ÑзоваÑÑÑÑ Ð¸Ð¼, Ð²Ñ ÑоглаÑаеÑеÑÑ Ñ Ð¸ÑполÑзованием "),e("b",null,"cookie"),se(" Ð´Ð»Ñ ÑлÑÑÑÐµÐ½Ð¸Ñ ÑабоÑÑ ÑайÑа. ")],-1)),l(t(B),{onClick:C,text:"ÐÑинÑÑÑ Ð¸ закÑÑÑÑ",variant:"primary",class:"mt-4 inline-block"})])])])):c("",!0)]),_:1}))}}),Wt={class:"container"},Ut={class:"flex items-center justify-between"},Qt={key:0,class:"mr-8 flex items-center gap-1"},Gt={class:"flex cursor-pointer items-center gap-2 px-3 py-2 text-black-700 transition-colors hover:text-purple-700 dark:text-white dark:hover:text-purple-400"},Jt=["textContent"],Xt={key:0,class:"pointer-events-auto invisible absolute left-1/2 hidden min-w-[440px] !max-w-lg -translate-x-1/2 overflow-visible pt-8 group-hover:!visible group-focus:!visible sm:block"},Yt={class:"space-y-0.5 rounded-lg bg-white p-3 shadow-2xl ring-1 ring-black-950/5 dark:bg-dark dark:ring-white/5"},Zt=["textContent"],es=["textContent"],ts={key:0,class:"pointer-events-auto absolute left-0 right-0 top-10 -ml-0.5 w-full overflow-visible pt-4"},ss={class:"space-y-0.5 rounded-lg bg-white p-3 shadow-2xl ring-1 ring-black-950/5 dark:bg-dark dark:ring-white/5"},as={key:0},ls={key:1},os=["textContent"],ns=["textContent"],rs={key:2},is={key:3},cs={key:0},us={key:0,class:"pointer-events-auto fixed left-6 right-6 top-14 overflow-visible pt-4 sm:absolute sm:left-0 sm:right-0 sm:top-8 sm:-ml-0.5 sm:w-full"},ds={class:"space-y-0.5 rounded-lg bg-white p-3 shadow-2xl ring-1 ring-black-950/5 dark:bg-dark dark:ring-white/5"},ps={key:1},vs=["textContent"],ms=["textContent"],ks={key:2},hs={key:3},fs={key:0,class:"space-y-2"},gs=["onClick"],xs={class:"flex items-center justify-between text-xl"},bs={class:"flex items-center space-x-3"},ys=["textContent"],_s={key:1},ws={class:"space-y-2"},Cs=["onClick"],$s={key:0,class:"absolute inset-x-0 bottom-0 translate-y-full bg-white/30 py-2 backdrop-blur-[36px] dark:bg-black-950/70"},Ms={class:"container"},Is={class:"flex justify-between"},zs={class:"flex items-center gap-3"},Ss={__name:"Header",setup(H){const r=pe(),u=De(),C=Te(),i=g(!1),v=g(null);function I(){if(i.value){i.value=!1,v.value=null;return}h.value=!1,_.value="",i.value=!0}const E=Ke(Xe),b=g(!1),w=g(null),A=re("_impersonate",{watch:!0});Ne(w,()=>{b.value=E.isGreater("lg"),b.value&&(i.value=!1)});const F=g([{title:"ÐкÑивноÑÑи",icon:Rt,to:"/",subitems:[{title:"Ðлог",icon:Bt,to:"/blog",caption:"ÐоÑледние новоÑÑи и Ð¿Ð¾Ð»ÐµÐ·Ð½Ð°Ñ Ð¸Ð½ÑоÑмаÑиÑ"},{title:"ÐÑиÑа",icon:At,to:"/afisha",caption:"ÐеÑопÑиÑÑÐ¸Ñ Ð¸ акÑивноÑÑи"},{title:"ÐаканÑии волонÑеÑов",icon:Ht,to:"/vacancies",caption:"ÐаканÑии Ñ Dobro.ru"},{title:"ÐидеÑÑ",icon:Qe,to:"/leaders",caption:"ÐелиÑеÑÑ Ñвоими доÑÑижениÑми"},{title:"ÐаданиÑ",icon:rt,to:"/tasks",caption:"ÐÑполнÑйÑе Ð·Ð°Ð´Ð°Ð½Ð¸Ñ Ð¸ полÑÑайÑе баллÑ"},{title:"ÐаканÑии",icon:St,to:"/jobs",caption:"ÐайдиÑе ваканÑÐ¸Ñ Ð¿Ð¾ дÑÑе"}]},{title:"ÐаÑÑнеÑÑ",icon:Pt,to:"/partners"},{title:"ÐÑоÑÑÑанÑÑва",icon:ht,subitems:[{title:"ÐÑоÑÑÑанÑÑва «СÐÐÐл",icon:qt,to:"/spaces",caption:"ÐÑоÑÑÑанÑÑва Ð´Ð»Ñ Ð´Ð¾ÑÑÐ
1³Ð°"},{title:"УÑÑÐµÐ¶Ð´ÐµÐ½Ð¸Ñ Ð¼Ð¾Ð»Ð¾Ð´Ñжной полиÑики",icon:Lt,to:"/spaces/youth-policy",caption:"ÐлоÑадки ÑамоÑеализаÑии молодÑжи"},{title:"ÐобÑо.ЦенÑÑÑ",icon:kt,to:"/spaces/dobro-centers",caption:"ЦенÑÑÑ Ð´Ð¾Ð±ÑÑÑ
дел волонÑÑÑов"}]},{title:"Ðедиа",icon:ft,to:"/media"},{title:"Ðагазин",icon:Ge,to:"/shop"}]),h=g(!1),U=gt(),ae=xt(),P=g(null),Q=g(!1);function G(){Q.value=!0,setTimeout(()=>{Q.value=!1},200)}const J=()=>{U.preference=U.value==="dark"?"light":"dark"},{y:le}=We();function X(){const{close:x}=Se({defaultModelValue:!0,showSwipeBanner:!0,component:je,attrs:{containerClass:"max-w-[420px] w-full m-auto py-8 px-6"},slots:{default:Le({component:dt,attrs:{onClose(){x()}}})}})}const _=g(""),Y=g(null),Z=g(null),f=g(!1),m=g([]),O=g(null),d=g(null);ie(O,x=>{b.value&&(_.value="",h.value=!1,x.stopPropagation())}),ie(d,x=>{b.value||(_.value="",h.value=!1)});function R(x){setTimeout(()=>{h.value&&x.value?.$el?.querySelector("input").focus()},400)}function ve(){h.value=!h.value,_.value="",R(Y)}let ee=null;Ue(_,()=>{Be(_.value)},{debounce:200,maxWait:1e3});function Be(x){ee&&ee.abort(),ee=new AbortController,f.value=!0,$fetch("/api/search",{method:"GET",signal:ee.signal,params:{query:x}}).then(({resources:n})=>{m.value=n,setTimeout(()=>{f.value=!1},300)}).catch(n=>{n.cause.name!=="AbortError"&&setTimeout(()=>{f.value=!1},300)})}function Re(){Je(()=>{h.value?(_.value="",h.value=!1):(i.value=!1,v.value=null,h.value=!0,R(Z))})}const me={events:"afisha",posts:"blog",activities:"vacancies"}
1,Ee={enterActiveClass:"ease-out duration-200",enterFromClass:"-rotate-90 opacity-50",enterToClass:"rotate-0 opacity-100",leaveActiveClass:"ease-in duration-100",leaveFromClass:"rotate-0",leaveToClass:"opacity-0 rotate-90"},Fe={enterActiveClass:"ease-out duration-200",enterFromClass:"rotate-90 opacity-50",enterToClass:"rotate-0 opacity-100",leaveActiveClass:"ease-in duration-100",leaveFromClass:"rotate-0",leaveToClass:"opacity-0 -rotate-90"};return(x,n)=>{const ke=ct;return s(),a("nav",{ref_key:"navEl",ref:w,class:S(["sticky left-0 right-0 top-0 z-[100] flex justify-center bg-white/30 py-6 backdrop-blur-[36px] transition-colors duration-500 dark:bg-black-950/70",{"dark:!bg-dark/70":(x._.provides[D]||x.$route).path==="/"&&t(le)===0&&!i.value,"!bg-light dark:!bg-black-950":i.value}])},[l(t(ut),{"config-file":"true"},{default:k(()=>[e("div",Wt,[e("div",Ut,[l(Ve,{class:S({"max-sm:hidden":h.value})},null,8,["class"]),e("div",{class:"mx-auto flex items-center overflow-visible max-lg:hidden",onMouseleave:n[2]||(n[2]=o=>P.value=null)},[l(q,K(t(N),{mode:"out-in"}),{default:k(()=>[h.value?(s(),a("div",{key:1,class:"relative",ref_key:"searchArea",ref:O},[l(ke,{ref_key:"search",ref:Y,classes:{outer:"!mb-0 mr-2",inner:"!mb-0 h-[40px] min-w-[532px]"},placeholder:"ÐоиÑк",type:"text",modelValue:_.value,"onUpdate:modelValue":n[0]||(n[0]=o=>_.value=o)},null,8,["modelValue"]),h.value?(s(),a("div",ts,[e("div",ss,[l(q,K(t(N),{mode:"out-in"}),{default:k(()=>[f.value?(s(),a("div",as,[l(be,{class:"mx-auto","is-loading":f.value},null,8,["is-loading"])])):m.value.length>0?(s(),a("ul",ls,[m.value?(s(!0),a(j,{key:0},V(m.value,(o,$)=>(s(),p(t(te),{is:"li",key:$,to:`/${me?.[o.type.value]??o.type.value}/${o.id}`,class:"flex cursor-pointer items-center space-x-4 rounded px-3 py-2.5 text-black-950 transition-colors hover:bg-block dark:text-white dark:hover:bg-purple-900/60",onClick:n[1]||(n[1]=z=>h.value=!1)},{default:k(()=>[e("div",null,[e("p",{class:"line-clamp-2 font-bold",textContent:y(o.title)},null,8,os),e("p",{class:"mt-0.5 text-sm tracking-tight opacity-80",textContent:y(o.type.label)},null,8,ns)])]),_:2},1032,["to"]))),128)):c("",!0)])):_.value?m.value.length===0?(s(),a("ul",is,[...n[11]||(n[11]=[e("li",{class:"p-3",textContent:"ÐиÑего не найдено"},null,-1)])])):c("",!0):(s(),a("ul",rs,[...n[10]||(n[10]=[e("li",{class:"p-3",textContent:"ÐведиÑе запÑоÑ"},null,-1)])]))]),_:1},16)])])):c("",!0)],512)):(s(),a("div",Qt,[(s(!0),a(j,null,V(F.value,(o,$)=>(s(),p(L(o?.subitems?"button":t(te)),{key:$+(x._.provides[D]||x.$route).path,to:o?.to,class:S(["group relative rounded-md",{"bg-purple-100 *:text-purple-700 dark:bg-purple-800 dark:*:text-purple-100":(x._.provides[D]||x.$route).path===o?.to||o?.subitems?.some(z=>(x._.provides[D]||x.$route).path.startsWith(z.to))}]),type:"button",onMouseover:z=>P.value=$,onKeydown:[he(oe(z=>P.value=$,["prevent"]),["enter"]),he(oe(z=>P.value=$,["prevent"]),["space"])]},{default:k(()=>[e("div",Gt,[(s(),p(L(o.icon),{class:"size-4 min-w-4 stroke-2"})),e("span",{class:"text-sm font-semibold",textContent:y(o.title)},null,8,Jt),o.subitems?(s(),p(t(pt),{key:0,class:"size-4 min-w-4 stroke-2 transition-transform duration-300 group-hover:rotate-180"})):c("",!0)]),o.subitems&&P.value===$?(s(),a("div",Xt,[e("ul",Yt,[(s(!0),a(j,null,V(o.subitems,(z,Pe)=>(s(),p(t(fe),{is:"li",to:z.to,key:Pe,class:"flex cursor-pointer items-center space-x-4 rounded px-3 py-2.5 text-black-950 transition-colors hover:bg-block dark:text-white dark:hover:bg-purple-900/60",onClick:G},{default:k(()=>[(s(),p(L(z.icon),{class:S(["dark:text-dark-300 size-10 rounded-lg bg-block p-2 text-black-900 dark:bg-purple-1000 dark:text-white",{"!text-purple-600 dark:!text-purple-500":(x._.provides[D]||x.$route).path===z?.to}])},null,8,["class"])),e("div",{class:S({"!text-purple-600 dark:!text-purple-300":(x._.provides[D]||x.$route).path===z?.to})},[e("p",{class:"text-left font-bold",textContent:y(z.title)},null,8,Zt),e("p",{class:"mt-0.5 text-left text-sm tracking-tight opacity-80",textContent:y(z.caption)},null,8,es)],2)]),_:2},1032,["to"]))),128))])])):c("",!0)]),_:2},1064,["to","class","onMouseover","onKeydown"]))),128))]))]),_:1},16),l(t(B),{class:"!bg-transparent text-black-700 transition-opacity duration-300 hover:opacity-40 dark:text-white",variant:"ghost",icon:h.value?t(W):t(we),onClick:oe(ve,["stop"])},null,8,["icon"])],32),e("div",{ref_key:"searchAreaMobile",ref:d,class:"flex items-center gap-1.5 max-md:w-full sm:gap-3"},[b.value?c("",!0):(s(),a("div",{key:0,class:"relative flex-1 sm:ml-8 lg:hidden",ref_key:"searchArea",ref:O},[l(q,ce(ue(t(N))),{default:k(()=>[!b.value&&h.value?(s(),a("div",cs,[l(ke,{ref_key:"mobileSearch",ref:Z,classes:{outer:"!mb-0 mr-2",inner:"
1!mb-0 h-[36px] w-full"},placeholder:"ÐоиÑк",type:"text",modelValue:_.value,"onUpdate:modelValue":n[3]||(n[3]=o=>_.value=o)},null,8,["modelValue"]),h.value?(s(),a("div",us,[e("div",ds,[l(q,K(t(N),{mode:"out-in"}),{default:k(()=>[f.value?(s(),p(be,{key:0,class:"mx-auto","is-loading":f.value},null,8,["is-loading"])):m.value.length>0?(s(),a("ul",ps,[m.value?(s(!0),a(j,{key:0},V(m.value,(o,$)=>(s(),p(t(te),{is:"li",key:$,to:`/${me?.[o.type.value]??o.type.value}/${o.id}`,class:"flex cursor-pointer items-center space-x-4 rounded px-3 py-2.5 text-black-950 transition-colors hover:bg-block dark:text-white dark:hover:bg-purple-900/60",onClick:n[4]||(n[4]=z=>h.value=!1)},{default:k(()=>[e("div",null,[e("p",{class:"line-clamp-2 font-bold",textContent:y(o.title)},null,8,vs),e("p",{class:"mt-0.5 text-sm tracking-tight opacity-80",textContent:y(o.type.label)},null,8,ms)])]),_:2},1032,["to"]))),128)):c("",!0)])):_.value?m.value.length===0?(s(),a("ul",hs,[...n[13]||(n[13]=[e("li",{class:"p-3",textContent:"ÐиÑего не найдено"},null,-1)])])):c("",!0):(s(),a("ul",ks,[...n[12]||(n[12]=[e("li",{class:"p-3",textContent:"ÐведиÑе запÑоÑ"},null,-1)])]))]),_:1},16)])])):c("",!0)])):c("",!0)]),_:1},16)],512)),l(t(B),{variant:"neutral",size:"sm",class:"!bg-black-100 hover:!bg-black-200 dark:!bg-black-800 dark:hover:!bg-black-700 lg:hidden",icon:h.value?t(W):t(we),onClick:Re},null,8,["icon"]),l(t(ne),{class:"flex size-10 items-center justify-center rounded-md bg-black-100 text-purple-800 hover:bg-black-200 dark:bg-black-800 dark:text-yellow-300 dark:hover:bg-black-700 max-lg:hidden","model-value":t(ae),onClick:n[5]||(n[5]=o=>J())},{true:k(()=>[l(t(_e),{class:"size-5"})]),false:k(()=>[l(t(ye),{class:"size-5"})]),_:1},8,["model-value"]),t(r).user?(s(),p(t(te),{key:2,variant:"neutral",size:"sm",class:"relative flex size-9 items-center justify-center rounded-md !bg-black-100 text-neutral-foreground hover:!bg-black-200 dark:!bg-black-800 dark:hover:!bg-black-700 lg:hidden",to:"/profile",onClick:n[6]||(n[6]=()=>{h.value=!1,_.value="",i.value=!1,v.value=null})},{default:k(()=>[l(t(ge),{class:"absolute inset-auto size-5"})]),_:1})):(s(),p(t(B),{key:1,variant:"neutral",size:"sm",class:"!bg-black-100 hover:!bg-black-200 dark:!bg-black-800 dark:hover:!bg-black-700 lg:hidden",icon:t(ge),onClick:X},null,8,["icon"])),l(t(ne),{class:"flex size-9 items-center justify-center rounded-md !bg-black-100 text-neutral-foreground hover:!bg-black-200 dark:!bg-black-800 dark:hover:!bg-black-700 lg:hidden","content-transition":i.value?Ee:Fe,mode:"","model-value":i.value,onClick:I},{true:k(()=>[l(t(W),{class:"absolute inset-auto size-5"})]),false:k(()=>[l(t(jt),{class:"absolute inset-auto size-5"})]),_:1},8,["content-transition","model-value"]),t(r).isLoggedIn?(s(),p(t(B),{key:4,is:"router-link",text:t(r).user.title,class:"min-w-[136px] max-lg:hidden",to:"/profile"},null,8,["text"])):(s(),p(t(B),{key:3,text:"ÐойÑи",class:"w-[136px] max-lg:hidden",onClick:X}))],512)])]),e("div",{class:S(["fixed bottom-0 left-0 right-0 top-[84px] flex h-[calc(100svh_-_84px)] flex-col justify-between bg-light px-3 py-10 opacity-100 transition-all dark:bg-black-950",{"pointer-events-none !h-[calc(0px)] overflow-hidden !opacity-0":!i.value}])},[l(q,K(v.value===null?t(Ae):t(He),{mode:"out-in"}),{default:k(()=>[v.value===null?(s(),a("div",fs,[(s(!0),a(j,null,V(F.value,(o,$)=>(s(),a("div",{key:$,class:"cursor-pointer rounded px-3 py-2 text-black-800 hover:bg-black-700/10 active:bg-black-700/10 dark:text-black-200 hover:dark:bg-black-900/50 active:dark:bg-black-900/50",onClick:()=>{o.subitems?v.value=$:(t(u).push(o.to),i.value=!1)}},[e("div",xs,[e("div",bs,[(s(),p(L(o.icon),{class:"size-5"})),e("p",{textContent:y(o.title)},null,8,ys)]),o.subitems?(s(),p(t(qe),{key:0,class:"size-6"})):c("",!0)])],8,gs))),128))])):(s(),a("div",_s,[e("div",ws,[e("div",{class:"group mb-6 ml-2 flex cursor-pointer items-center",onClick:n[7]||(n[7]=o=>v.value=null)},[l(t(mt),{class:"size-4 transition-all group-hover:-translate-x-1"}),n[14]||(n[14]=e("p",{class:"ml-1 text-sm font-semibold",textContent:"ÐбÑаÑно в менÑ"},null,-1))]),(s(!0),a(j,null,V(F.value[v.value].subitems,(o,$)=>(s(),a("div",{key:$,class:"flex cursor-pointer items-center space-x-3 rounded px-3 py-2 text-lg text-black-800 hover:bg-black-700/10 active:bg-black-700/10 dark:text-black-200 hover:dark:bg-black-900/50 active:dark:bg-black-900/50",onClick:()=>{t(u).push(o.to),i.value=!1}},[(s(),p(L(o.icon),{class:"size-5"})),o.to?(s(),p(t(fe),{key:0,to:o.to,textContent:y(o.title)},null,8,["to","textContent"])):c("",!0)],8,Cs))),128))])]))]),_:1},16),l(t(ne),{class:"flex size-10 items-center justify-center rounded-md bg-black-100 text-purple-800 hover:bg-black-200 dark:bg-black-800 dark:text-white dark:hover:bg-black-700","model-value":t(ae),onClick:n[8]||(n[8]=o=>J())},{true:k(()=>[l(t(_e),{class:"size-5"})]),false:k(()=>[l(t(ye),{class:"size-5"})]),_:1},8,["model-value"])],2),t(A)?(s(),a("div",$s,[e("div",Ms,[e("div",Is,[e("div",zs,[l(t(Ft),{class:"size-5"}),n[15]||(n[15]=e("span",null,"ÐÑ Ð½Ð°Ñ
одиÑеÑÑ Ð¿Ð¾Ð´ ÑÑжой ÑÑеÑной запиÑÑÑ",-1))]),l(t(B),{reverse:"",size:"xs",icon:t(Et),text:"ÐÑйÑи",onClick:n[9]||(n[9]=o=>t(r).logoutImpersonate(t(C)))},null,8,["icon"])])])])):c("",!0)]),_:1})],2)}}},Ls={class:"relative overflow-hidden bg-purple-50 py-12 dark:bg-dark sm:py-[70px]"},As={class:"container mx-auto grid grid-cols-2 gap-5 justify-between md:grid-cols-[auto,1fr,1fr] lg:grid-cols-[auto,1fr,1fr,1fr] lg:gap-8 xl:gap-12"},Hs={class:"flex flex-col"},Ts=["textContent"],js={class:"flex flex-1 max-sm:items-end"},Vs={class:"max-lg:order-2 max-md:col-span-2"},qs={class:"max-lg:order-1 max-sm:mt-2"},Bs={class:"hidden lg:block"},Rs={class:"container relative"},Es=de({__name:"Footer",setup(H){const r=[{title:"Тг-канал «ÐÐ¾Ð»Ð¾Ð´Ð°Ñ ÐÑкÑика»",to:"https://t.me/molarctic51"},{title:"Тг-канал ÐÑбеÑнаÑоÑа ÐндÑÐµÑ Ð§Ð¸Ð±Ð¸Ñа",to:"https://t.me/andrey_chibis"}],u=[{title:"ÐÐ ÐÑбеÑнаÑоÑа ÐндÑÐµÑ Ð§Ð¸Ð±Ð¸Ñа",to:"https://vk.com/chibis.andrey"},{title:"ÐомиÑÐµÑ Ð¼Ð¾Ð»Ð¾Ð´ÐµÐ¶Ð½Ð¾Ð¹ полиÑики ÐÑÑманÑкой облаÑÑи",to:"https://vk.com/murmol51"},{title:"РегионалÑнÑй ÑенÑÑ Ð¿Ð°ÑÑиоÑиÑеÑкого воÑпиÑÐ°Ð½Ð¸Ñ Ð¸ допÑизÑвной подгоÑовки молодежи",to:"https://vk.com/patriot.murmana"},{title:"ÐоÑÑдаÑÑÑвенное авÑономное ÑÑÑеждение ÐÑÑманÑкой облаÑÑи «ÐÐ¾Ð»Ð¾Ð´Ð°Ñ ÐÑкÑика»",to:"https://vk.com/molarctic51"}],C=[{title:"ÐÑавиÑелÑÑÑво ÐÑÑманÑкой облаÑÑи",to:"https://gov-murman.ru/"},{title:"ÐомиÑÐµÑ Ð¼Ð¾Ð»Ð¾Ð´ÐµÐ¶Ð½Ð¾Ð¹ полиÑики ÐÑÑманÑкой облаÑÑи",to:"https://youth.gov-murman.ru/"},{title:"ÐоÑÑал «ÐÐ°Ñ Ð¡ÐµÐ²ÐµÑ»",to:"https://nashsever51.ru/"}],i=[{title:"ÐолÑзоваÑелÑÑкое ÑоглаÑение",to:"/agreement"},{title:"ÐолиÑика конÑиденÑиалÑноÑÑи",to:"/policy"}],v=[{label:"ТеÑ
ниÑеÑÐºÐ°Ñ Ð¿Ð¾Ð´Ð´ÐµÑжка:",email:"[email protected]"},{label:"ÐомиÑÐµÑ Ð¼Ð¾Ð»Ð¾Ð´ÐµÐ¶Ð½Ð¾Ð¹ полиÑики ÐÑÑманÑкой облаÑÑи:",email:"[email protected]"},{label:"ÐÐУÐÐ ÐÐЦ «ÐÐ¾Ð»Ð¾Ð´Ð°Ñ ÐÑкÑика»:",email:"[email protected]"}],I=(b,w)=>T("div",{},[T("span",{class:"text-purple-600 mb-4 text-xl sm:text-2xl font-bold"},b),...w.map(A=>T("div",{class:"flex gap-3 text-xs sm:text-sm text-dark dark:text-white mt-2"},T("a",{href:A.to,target:"_blank"},A.title)))]),E=(b,w)=>T("div",{},[T("span",{class:"text-purple-600 mb-4 text-xl sm:text-2xl font-bold"},b),...w.map(A=>T("div",{class:"mt-2 text-xs sm:text-sm text-dark dark:text-white"},[T("span",{},A.label),T("br"),T("a",{href:`mailto:${A.email}`,class:"text-purple-600 underline hover:text-purple-800 dark:text-purple-400 dark:hover:text-purple-300 whitespace-nowrap"},A.email)]))]);return(b,w)=>(s(),a("footer",Ls,[e("div",As,[e("div",Hs,[l(Ve,{class:"max-sm:max-w-24"}),l(t(B),{text:"ÐапиÑи нам",size:"lg",class:"mt-6 h-11 w-min min-w-[140px] sm:mt-5 sm:min-w-[180px]",onClick:w[0]||(w[0]=A=>t(bt)())}),e("p",{class:"mt-6 text-xxs text-black-600 dark:text-black-400 sm:text-xs lg:mt-16",textContent:y(`© ${t(Ye)().year()} ÐÐ¾Ð»Ð¾Ð´Ð°Ñ ÐÑкÑика`)},null,8,Ts),w[1]||(w[1]=e("a",{href:"https://qubeek.io/?utm_source=molodaya-arctica.ru&utm_medium=referral&utm_campaign=made_by_qubeek&utm_content=footer",target:"_blank",rel:"noopener",class:"mt-3 block text-xxs text-black-600 transition-colors hover:text-purple-600 dar
1k:text-black-400 dark:hover:text-purple-400 sm:text-xs"}," Сделано в Qubeek.io ",-1)),e("div",js,[(s(),p(L(E("ÐонÑакÑÑ",v)),{class:"mt-6 block lg:hidden"}))])]),e("div",Vs,[(s(),p(L(I("ТелегÑам",r)),{class:"mx-auto md:max-w-xs"})),(s(),p(L(I("ÐÐонÑакÑе",u)),{class:"mx-auto mt-4 sm:mt-8 md:max-w-xs"}))]),e("div",qs,[(s(),p(L(I("ÐолезнÑе ÑÑÑлки",C)),{class:"sm:max-w-xs"})),(s(),p(L(I("ÐнÑоÑмаÑÐ¸Ñ Ð¸ докÑменÑÑ ",i)),{class:"mt-4 sm:mt-8 sm:max-w-xs"}))]),e("div",Bs,[(s(),p(L(E("ÐонÑакÑÑ",v))))])]),e("div",Rs,[l(Ze,{class:"absolute -right-8 bottom-0 w-[220px] translate-y-[70%] max-lg:hidden"})])]))}}),Fs={class:"dark:bg-primary-950 group flex w-full items-center justify-between rounded-lg bg-card px-5 py-3 text-left transition-transform"},Ps={class:"flex flex-col gap-1 text-base"},Os=["textContent"],Ds=["innerHTML"],Ks={class:"flex"},Ns={__name:"UIPlane",props:{title:{type:String,default:""},caption:{type:String,default:""},titleClasses:{type:String,default:""}},setup(H){return(r,u)=>(s(),a("button",Fs,[e("span",Ps,[e("span",{class:S([H.titleClasses,"mb-1 font-bold leading-5"]),textContent:y(H.title)},null,10,Os),H.caption?(s(),a("span",{key:0,class:"text-sm leading-5 text-black-600 dark:text-black-300",innerHTML:H.caption},null,8,Ds)):c("",!0)]),e("span",Ks,[l(t(qe),{class:"ml-auto h-6 w-6 text-primary transition-transform group-hover:-translate-x-1"})])]))}},Ws={class:"absolute inset-0"},Us=["textContent"],Qs={key:0,class:"absolute left-0 right-0 z-10 -mt-8 px-6"},Gs={class:"flex w-full items-center justify-between"},Js={key:1,class:"h-full overflow-y-auto"},Xs={class:"space-y-4 p-6"},Ys={class:"text-black group flex flex-col rounded-md bg-card p-4 text-sm shadow-lg"},Zs={class:"mt-1 space-y-0.5"},ea={key:2,class:"h-[calc(100%_-_136px)] overflow-y-auto"},ta={class:"p-6"},sa={key:0,class:"text-center"},aa={key:1,class:"flex flex-col space-y-3"},la={key:0,class:"absolute -right-2 -top-2 flex h-4 w-4"},oa={key:3,class:"h-[calc(100%_-_180px)] overflow-y-auto"},na={class:"space-y-2 p-4"},ra=["onClick"],ia=["textContent"],ca={class:"absolute bottom-0 left-0 right-0 flex items-center justify-around border-t border-black-100 bg-neutral-50 px-6 pb-2 pt-3 dark:border-neutral-700 dark:bg-neutral-900"},ua=["onClick"],da=["textContent"],pa={key:0,class:"fixed bottom-0 left-0 right-0 top-0 z-[9999] h-full overflow-hidden bg-white py-0 shadow-[0_0_50px_-0px_rgba(0,0,0,0.16)] dark:bg-neutral-800 sm:bottom-24 sm:left-auto sm:right-14 sm:top-auto sm:h-[600px] sm:max-w-[480px] sm:rounded-lg"},va={class:"h-full overflow-auto overscroll-contain sm:h-[600px]"},ma={class:"sticky top-0 flex items-center justify-between gap-4 border-b border-black-200 bg-white px-6 py-4 dark:border-black-500 dark:bg-neutral-800"},ka=["innerHTML"],ha={__name:"HelpWidget",setup(H){const r=g(!1),u=g(0),C=pe(),i=g(null);ie(i,f=>v());function v(){r.value=!1,u.value=0}const I=xe(()=>[{title:"ÐлавнаÑ",icon:Tt,showHeader:!1},{title:"ÐбÑаÑениÑ",icon:Vt,disabled:!C.user},{title:"ÐопÑоÑÑ Ð¸ оÑвеÑÑ",tab:"ÐопÑоÑÑ",icon:$e}]),E=g([{title:"ÐолиÑика конÑиденÑиалÑноÑÑи",link:"/policy"},{title:"ÐолÑзоваÑелÑÑкое ÑоглаÑение",link:"/agreement"}]),b=g(null),w=g(""),A=Te(),F=at({appeals:!1,questions:!1});ze(()=>C.isLoggedIn,f=>{f||A.invalidateQueries({queryKey:["appeals"]})});const{state:{data:h,isPending:U,isError:ae,error:P,refetch:Q}}=$t({enabled:()=>F.appeals,queryKey:"appeals",endpoint:"/appeals"}),{data:G,isPending:J,refetch:le}=Mt({queryOptions:{queryKey:["help","questions"],select:f=>f.resources,enabled:()=>F.questions},url:"/api/questions"}),{results:X}=vt(w,G,{matchAllWhenSearchEmpty:!0,fuseOptions:{keys:["id","title","content"],threshold:.1}}),_=xe(()=>X.value.map(f=>f.item));function Y(f){f===1&&C.isLoggedIn&&!h.value&&Q(),f===2&&!G.value&&le(),u.value=f}function Z(){v();const{close:f}=Se({defaultModelValue:!0,component:je,attrs:{containerClass:"max-w-[620px] w-full m-auto p-6 md:p-10",onClose(){f()}},slots:{default:Le({component:yt,attrs:{onClose(){f()}}})}})}return(f,m)=>{const O=et("RouterLink");return s(),a("div",{ref_key:"widget",ref:i},[e("div",{class:"help-widget fixed bottom-6 right-4 z-[1000] flex size-12 cursor-pointer items-center justify-center rounded-full bg-primary p-2.5 shadow-md transition ease-out hover:scale-110 active:scale-90 sm:right-6",onClick:m[0]||(m[0]=d=>r.value=!r.value)},[l(t($e),{class:"size-8 text-white outline-none transition"})]),l(q,ce(ue(t(it))),{default:k(()=>[r.value?(s(),a("div",{key:0,class:S(["fixed bottom-0 right-0 z-[9997] overflow-hidden bg-white p-6 dark:bg-neutral-900 max-sm:left-0 max-sm:top-0 sm:bottom-24 sm:right-14 sm:h-[600px] sm:w-[100%] sm:max-w-[365p
1x] sm:rounded-xl",{"shadow-[0_0_50px_-0px_rgba(0,0,0,0.16)]":!b.value}])},[e("div",Ws,[e("div",{class:S(["sticky flex h-16 flex-col items-center bg-primary py-4 transition",{"h-28":u.value===2}]),style:{transition:"height 300ms"}},[I.value[u.value].showHeader!==!1?(s(),a("p",{key:0,class:"mt-0.5 text-xl text-white",textContent:y(I.value[u.value].title)},null,8,Us)):c("",!0),e("div",{class:S(["mt-2 max-h-0 w-full overflow-hidden px-4 opacity-0",{"max-h-10 opacity-100":u.value===2}]),style:{transition:`max-height 300ms, 2 opacity 200ms`}},[tt(e("input",{"onUpdate:modelValue":m[1]||(m[1]=d=>w.value=d),class:"dark:text-black w-full rounded-md px-4 py-1.5 text-black-900 outline-none",placeholder:"ÐоиÑк"},null,512),[[st,w.value]])],2)],2),e("div",{class:S(["absolute left-0 right-0 -z-10 h-[400px] -translate-y-1/2 scale-y-0 bg-gradient-to-b from-primary to-transparent transition-transform",{"translate-y-0 scale-y-100":u.value===0}])},null,2),u.value===0?(s(),a("div",Qs,[e("div",Gs,[m[3]||(m[3]=e("p",{class:"text-2xl font-semibold text-white md:text-3xl",textContent:"ÐÑжна помоÑÑ?"},null,-1)),e("button",{onClick:v},[l(t(W),{class:"size-6 text-white"})])])])):c("",!0),u.value===0?(s(),a("div",Js,[e("div",Xs,[e("div",{class:"text-black group flex cursor-pointer items-center justify-between rounded-md bg-card px-4 pb-5 pt-4 shadow-lg",onClick:Z},[m[4]||(m[4]=e("div",{class:"flex flex-1 flex-col"},[e("span",{class:"mb-0.5 font-medium transition-colors group-hover:text-primary",textContent:"ÐÑоблема на ÑайÑе"}),e("span",{class:"max-w-[80%] text-xs text-black-800 dark:text-black-300",textContent:"СообÑиÑÑ Ð¾ пÑоблеме на ÑайÑе"})],-1)),l(t(Ct),{class:"size-5 text-primary"})]),e("div",Ys,[m[5]||(m[5]=e("span",null,[se("Email: "),e("a",{class:"text-primary-700",href:"mailto:[email protected]"},"[email protected]")],-1)),e("ul",Zs,[(s(!0),a(j,null,V(E.value,d=>(s(),a("li",{key:d.link,class:"text-xs text-black-800 dark:text-black-300"},[l(O,{to:d.link,textContent:y(d.title),class:"block py-1 transition-colors hover:text-primary",onClick:v},null,8,["to","textContent"])]))),128))])])])])):c("",!0),u.value===1?(s(),a("div",ea,[l(t(Ce),{"is-loading":t(U)},{default:k(()=>[e("div",ta,[t(h).resources.length?(s(),a("div",aa,[(s(!0),a(j,null,V(t(h).resources,d=>(s(),p(O,{key:d.id,to:`/profile/support/${d.id}`,class:"relative",onClick:v},{default:k(()=>[l(Ns,{"title-classes":"text-sm mr-4",title:`â${d.id} â ${d.title}`,caption:`Ð¾Ñ ${t(wt)(d.created_at)}`},null,8,["title","caption"]),d.notifications_count?(s(),a("span",la,[...m[6]||(m[6]=[e("span",{class:"absolute inline-flex h-full w-full animate-ping rounded-full bg-sky-400 opacity-75"},null,-1),e("span",{class:"relative inline-flex h-4 w-4 rounded-full bg-sky-500"},null,-1)])])):c("",!0)]),_:2},1032,["to"]))),128))])):(s(),a("span",sa,"Ðа ÑекÑÑий Ð¼Ð¾Ð¼ÐµÐ½Ñ Ñ Ð²Ð°Ñ Ð½ÐµÑ Ð¾Ð±ÑаÑений"))])]),_:1},8,["is-loading"])])):c("",!0),u.value===2?(s(),a("div",oa,[l(t(Ce),{"is-loading":t(J)},{default:k(()=>[e("div",na,[(s(!0),a(j,null,V(_.value,d=>(s(),a("div",{key:d.id,class:"cursor-pointer rounded-md bg-neutral-100 p-4 dark:bg-black-900",onClick:R=>b.value=d},[e("p",{textContent:y(d.title)},null,8,ia)],8,ra))),128))])]),_:1},8,["is-loading"])])):c("",!0)]),e("div",ca,[(s(!0),a(j,null,V(I.value,(d,R)=>(s(),a("div",{key:R,class:S(["flex cursor-pointer select-none flex-col items-center text-black-800 hover:text-black-950 dark:text-black-300 dark:hover:text-black-500",{"hover:text-brand-4 !text-primary hover:opacity-80 dark:!text-purple-400":u.value===R,"pointer-events-none opacity-30":d.disabled}]),onClick:ve=>Y(R)},[(s(),p(L(d.icon),{class:"size-6"})),e("p",{class:"mt-1 text-sm",textContent:y(d.tab??d.title)},null,8,da)],10,ua))),128))])],2)):c("",!0)]),_:1},16),l(q,ce(ue(b.value?t(He):t(Ae))),{default:k(()=>[r.value&&b.value?(s(),a("div",pa,[e("div",va,[e("div",ma,[l(t(_t),{class:"flex-1",tag:"4",styles:"4",title:b.value.title},null,8,["title"]),l(t(W),{class:"size-7 cursor-pointer rounded-md border border-neutral-200 bg-white p-1 hover:bg-black-100 dark:border-neutral-600 dar
2k:bg-transparent dark:hover:bg-black-700",onClick:m[2]||(m[2]=d=>b.value=null)})]),e("div",{class:"prose my-4 px-6 text-black-900 dark:text-black-100 [&>.container]:px-0",innerHTML:b.value.content},null,8,ka)])])):c("",!0)]),_:1},16)],512)}}},fa={key:0,class:"text-black sticky z-[60] border-b bg-background/30 py-4 backdrop-blur dark:text-white"},ga={class:"flex items-center justify-center gap-x-4 gap-y-2"},xa={class:"items-start px-4 text-sm leading-6 md:items-center md:px-0"},ba=["textContent"],ya=["textContent"],_a=["textContent"],wa=["href"],Ca=["textContent"],$a={__name:"HeaderBanner",setup(H){const{data:r,isPending:u}=zt({endpoint:"/api/common/banner"});function C(i){i.preventDefault(),i.stopImmediatePropagation(),document.querySelector(".help-widget").click()}return(i,v)=>!t(u)&&t(r)?.published?(s(),a("div",fa,[e("div",ga,[e("p",xa,[e("strong",{class:"font-bold",textContent:y(t(r)?.heading)},null,8,ba),v[0]||(v[0]=e("svg",{viewBox:"0 0 2 2",class:"mx-2 inline h-0.5 w-0.5 fill-current","aria-hidden":"true"},[e("circle",{cx:"1",cy:"1",r:"1"})],-1)),e("span",{textContent:y(t(r)?.caption)},null,8,ya)]),t(r).button&&!t(r).link?(s(),a("a",{key:0,onClick:C,href:"#",class:"mr-4 flex rounded-full bg-primary px-3.5 py-1 text-sm text-white shadow-sm hover:bg-gray-700 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-gray-900 dark:bg-gray-600 md:mr-0"},[e("span",{class:"block",textContent:y(t(r)?.button)},null,8,_a)])):c("",!0),t(r).button&&t(r).link?(s(),a("a",{key:1,target:"_blank",href:`https://${t(r).link}`,class:"mr-4 flex rounded-full bg-primary px-3.5 py-1 text-sm text-white shadow-sm hover:bg-gray-700 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-gray-900 dark:bg-gray-600 md:mr-0"},[e("span",{class:"block",textContent:y(t(r)?.button)},null,8,Ca)],8,wa)):c("",!0)])])):c("",!0)}},Ma={class:"flex flex-col min-h-screen"},Ia={class:"flex-1"},hl=de({__name:"default",setup(H){const r=lt(1e3);return(u,C)=>{const i=Nt;return s(),a("div",Ma,[l($a),l(Ss),e("main",Ia,[ot(u.$slots,"default")]),l(Es),l(t(nt)),l(q,K("fade"in u?u.fade:t(N),{mode:"out-in"}),{default:k(()=>[t(r)?(s(),p(ha,{key:0})):c("",!0)]),_:1},16),l(It),l(i)])}}});export{hl as default};
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.