"use strict";(globalThis.webpackChunkstec=globalThis.webpackChunkstec||[]).push([[2667],{21322:(e,a,t)=>{t.r(a),t.d(a,{default:()=>o});var c=t(52779),s=t(48596),l=t(91927),n=t(8403),r=t(73772),m=t(26878),i=t(43824);const __=r.__;const o=function(){const e=(0,m.useRef)([]),{setActiveMenu:a}=(0,l.useDashboardMenu)();return React.createElement(React.Fragment,null,React.createElement(n.StecDiv,{className:"stec-dashboard-top-nav"},React.createElement(c.default,{className:"stcolor stec-dashboard-home-button",label:[React.createElement("i",{key:"icon",className:"fa-solid fa-house"}),__("Home","stachethemes_event_calendar_lite")],onClick:()=>{a({page:"home",params:{}})}}),React.createElement(c.default,{className:"green",label:[React.createElement("i",{key:"icon",className:"fa-solid fa-plus"}),__("Add new event","stachethemes_event_calendar_lite")],onClick:()=>{a({page:"events-upsert",params:{}})}}),React.createElement(c.default,{className:"gray",label:[React.createElement("i",{key:"icon",className:"fa-solid fa-box-archive"}),__("Manage archive","stachethemes_event_calendar_lite")],onClick:()=>{a({page:"events-archive",params:{}})}})),React.createElement(s.default,{title:[React.createElement("i",{key:"icon",className:"fa-solid fa-list"}),__("Manage events","stachethemes_event_calendar_lite")]},React.createElement(i.default,{hasItemsRef:e})))}}}]);