(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4262],{36148:(e,s,r)=>{Promise.resolve().then(r.bind(r,33624))},33624:(e,s,r)=>{"use strict";r.r(s),r.d(s,{default:()=>t});var l=r(95155),n=r(92188);function t(){return(0,l.jsx)(n.I,{title:"Persistency",breadcrumbs:["Performance","Persistency"],children:(0,l.jsx)("div",{children:"This is persistency page"})})}},53661:(e,s,r)=>{"use strict";r.d(s,{r:()=>i});var l=r(95155),n=r(76046),t=r(12115),a=r(83391);function i(e,s){return function(r){let i=(0,n.useRouter)(),{isAuthenticated:c,user:d}=(0,a.d4)(e=>e.auth);return((0,t.useEffect)(()=>{if(!c){i.replace("/login");return}(null==d?void 0:d.role)!==s&&i.replace("/login")},[c,d,i]),c&&(null==d?void 0:d.role)===s)?(0,l.jsx)(e,{...r}):null}}},92188:(e,s,r)=>{"use strict";r.d(s,{I:()=>i});var l=r(95155),n=r(53661),t=r(73649),a=r(8368);function i(e){let{children:s,title:r,breadcrumbs:n=[],className:i,actions:c}=e;return(0,l.jsx)(t.default,{userRole:"employee",children:(0,l.jsxs)("div",{className:(0,a.cn)("p-8 space-y-6  rounded-3xl",i),children:[(0,l.jsx)("div",{className:"",children:(0,l.jsxs)("div",{className:"flex justify-between items-start",children:[(0,l.jsxs)("div",{children:[(0,l.jsx)("h1",{className:"text-[32px] font-medium text-gray-800 mb-2",children:r}),(0,l.jsxs)("div",{className:"text-gray-500 flex items-center gap-2",children:[(0,l.jsx)("span",{children:"Dashboard"}),n.map((e,s)=>(0,l.jsxs)("span",{className:"flex items-center gap-2",children:[(0,l.jsx)("span",{className:"text-gray-400",children:"›"}),(0,l.jsx)("span",{className:s===n.length-1?"text-blue-600":"text-gray-500",children:e})]},s))]})]}),c&&(0,l.jsx)("div",{className:"flex gap-3",children:c})]})}),(0,l.jsx)("div",{children:s})]})})}(0,n.r)(i,"employee")}},e=>{var s=s=>e(e.s=s);e.O(0,[9229,3391,8405,7970,1181,8173,2662,8993,4980,3649,8441,1517,7358],()=>s(36148)),_N_E=e.O()}]);