1import{Bt as e,F as t,Gt as n,Ht as r,L as i,M as a,N as o,T as s,at as c,bt as l,ct as u,j as d}from"./DReSPrDs.js";import{t as f}from"./AFEisM5N.js";import{n as p}from"./DBxjx7p4.js";import{t as m}from"./BDNMzG2s.js";var h={class:`sidebar-categories`},g={class:`sidebar-categories__header`},_={class:`sidebar-categories__title`},v={class:`sidebar-categories__list`},y=[`onClick`],b={class:`sidebar-categories__item-name`},x={class:`sidebar-categories__item-count`},S=m({__name:`FsdFeaturesEventCategorySelectSidebar`,props:{categories:{type:Array,required:!0},currentCategory:{type:String,required:!0},totalCount:{type:Number,default:0}},emits:[`select`],setup(o){let{t:l}=p();return(d,f)=>(c(),t(`div`,h,[a(`div`,g,[f[0]||=i(`<div class="sidebar-categories__icon" data-v-f255802a><svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg" class="w-full h-full" data-v-f255802a><g clip-path="url(#clip_cat_sidebar)" data-v-f255802a><path d="M12.5002 15H8.3335" stroke="currentColor" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round" data-v-f255802a></path><path d="M15.0002 11.6665H8.3335" stroke="currentColor" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round" data-v-f255802a></path><path d="M3.33317 18.3332H16.6665C17.1085 18.3332 17.5325 18.1576 17.845 17.845C18.1576 17.5325 18.3332 17.1085 18.3332 16.6665V3.33317C18.3332 2.89114 18.1576 2.46722 17.845 2.15466C17.5325 1.8421 17.1085 1.6665 16.6665 1.6665H6.6665C6.22448 1.6665 5.80055 1.8421 5.48799 2.15466C5.17543 2.46722 4.99984 2.89114 4.99984 3.33317V16.6665C4.99984 17.1085 4.82424 17.5325 4.51168 17.845C4.19912 18.1576 3.7752 18.3332 3.33317 18.3332ZM3.33317 18.3332C2.89114 18.3332 2.46722 18.1576 2.15466 17.845C1.8421 17.5325 1.6665 17.1085 1.6665 16.6665V9.1665C1.6665 8.72448 1.8421 8.30055 2.15466 7.98799C2.46722 7.67543 2.89114 7.49984 3.33317 7.49984H4.99984" stroke="currentColor" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round" data-v-f255802a></path><path d="M14.1668 5H9.16683C8.70659 5 8.3335 5.3731 8.3335 5.83333V7.5C8.3335 7.96024 8.70659 8.33333 9.16683 8.33333H14.1668C14.6271 8.33333 15.0002 7.96024 15.0002 7.5V5.83333C15.0002 5.3731 14.6271 5 14.1668 5Z" stroke="currentColor" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round" data-v-f255802a></path></g><defs data-v-f255802a><clipPath id="clip_cat_sidebar" data-v-f255802a><rect width="20" height="20" fill="white" data-v-f255802a></rect></clipPath></defs></svg></div>`,1),a(`h3`,_,n(e(l)(`global.categories`)),1)]),a(`div`,v,[(c(!0),t(s,null,u(o.categories,e=>(c(),t(`button`,{key:e.id||e.slug,class:r([`sidebar-categories__item`,{"is-active":o.currentCategory===e.slug}]),onClick:t=>d.$emit(`select`,e.slug)},[a(`span`,b,n(e.name||e.title),1),a(`span`,x,n(e.events_count||e.count||0),1)],10,y))),128))])]))}},[[`__scopeId`,`data-v-f255802a`]]),C={class:`sidebar-popular`},w={class:`sidebar-popular__header`},T={class:`sidebar-popular__title`},E={class:`sidebar-popular__list`},D={class:`sidebar-popular__index`},O={class:`sidebar-popular__content`},k={class:`sidebar-popular__item-title line-clamp-2`},A=m({__name:`FsdWidgetsEventSidebarPopular`,props:{events:{type:Array,required:!0},currentCategory:{type:String,required:!0}},setup(r){let{t:i,locale:m}=p(),h=r,g=d(()=>h.events||[]);return(d,p)=>{let h=f;return c(),t(`div`,C,[a(`div`,w,[p[0]||=a(`div`,{class:`sidebar-popular__icon`},[a(`svg`,{width:`20`,height:`20`,viewBox:`0 0 20 20`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,class:`w-full h-full`},[a(`path`,{d:`M13.3335 5.8335H18.3335V10.8335`,stroke:`currentColor`,"stroke-width":`1.66667`,"stroke-linecap":`round`,"stroke-linejoin":`round`}),a(`path`,{d:`M18.3332 5.8335L11.2498 12.9168L7.08317 8.75016L1.6665 14.1668`,stroke:`currentColor`,"stroke-width":`1.66667`,"stroke-linecap":`round`,"stroke-linejoin":`round`})])],-1),a(`h3`,T,n(e(i)(`global.popular`)),1)]),a(`div`,E,[(c(!0),t(s,null,u(e(g),(t,i)=>(c(),o(h,{key:t.id||t.slug,to:`/${e(m)}/events/${r.currentCategory}/${t.slug}`,class:`sidebar-popular__item`},{default:l(()=>[a(`div`,D,n(i+1),1),a(`div`,O,[a(`h4`,k,n(t.title||t.name),1)])]),_:2},1032,[`to`]))),128))])])}}},[[`__scopeId`,`data-v-bea252df`]]);export{S as n,A as t};
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.