(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6032],{36798:(e,s,l)=>{Promise.resolve().then(l.bind(l,91978))},91978:(e,s,l)=>{"use strict";l.r(s),l.d(s,{default:()=>a});var r=l(95155),i=l(9625);function a(){return(0,r.jsx)(i.U,{title:"My Application",breadcrumbs:["Policy Holder Info","My Application"],children:(0,r.jsx)("div",{children:"This is my application page"})})}},53661:(e,s,l)=>{"use strict";l.d(s,{r:()=>t});var r=l(95155),i=l(76046),a=l(12115),n=l(83391);function t(e,s){return function(l){let t=(0,i.useRouter)(),{isAuthenticated:c,user:d}=(0,n.d4)(e=>e.auth);return((0,a.useEffect)(()=>{if(!c){t.replace("/login");return}(null==d?void 0:d.role)!==s&&t.replace("/login")},[c,d,t]),c&&(null==d?void 0:d.role)===s)?(0,r.jsx)(e,{...l}):null}}},9625:(e,s,l)=>{"use strict";l.d(s,{U:()=>t});var r=l(95155),i=l(53661),a=l(8368),n=l(73649);function t(e){let{children:s,title:l,breadcrumbs:i=[],className:t,actions:c}=e;return(0,r.jsx)(n.default,{userRole:"policy-holder",children:(0,r.jsxs)("div",{className:(0,a.cn)("p-6 space-y-6",t),children:[(0,r.jsx)("div",{className:"",children:(0,r.jsxs)("div",{className:"flex justify-between items-start",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("h1",{className:"text-[32px] font-medium text-gray-800 mb-2",children:l}),(0,r.jsxs)("div",{className:"text-gray-500 flex items-center gap-2",children:[(0,r.jsx)("span",{children:"Dashboard"}),i.map((e,s)=>(0,r.jsxs)("span",{className:"flex items-center gap-2",children:[(0,r.jsx)("span",{className:"text-gray-400",children:"›"}),(0,r.jsx)("span",{className:s===i.length-1?"text-blue-600":"text-gray-500",children:e})]},s))]})]}),c&&(0,r.jsx)("div",{className:"flex gap-3",children:c})]})}),(0,r.jsx)("div",{children:s})]})})}(0,i.r)(t,"policy-holder")}},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(36798)),_N_E=e.O()}]);