(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5962],{5653:(e,s,r)=>{Promise.resolve().then(r.bind(r,84588))},84588:(e,s,r)=>{"use strict";r.r(s),r.d(s,{default:()=>n});var l=r(95155),t=r(9625);function n(){return(0,l.jsx)(t.U,{title:"Product Information",breadcrumbs:["Product Info"],children:(0,l.jsx)("div",{children:"This is product information page"})})}},53661:(e,s,r)=>{"use strict";r.d(s,{r:()=>a});var l=r(95155),t=r(76046),n=r(12115),i=r(83391);function a(e,s){return function(r){let a=(0,t.useRouter)(),{isAuthenticated:c,user:d}=(0,i.d4)(e=>e.auth);return((0,n.useEffect)(()=>{if(!c){a.replace("/login");return}(null==d?void 0:d.role)!==s&&a.replace("/login")},[c,d,a]),c&&(null==d?void 0:d.role)===s)?(0,l.jsx)(e,{...r}):null}}},9625:(e,s,r)=>{"use strict";r.d(s,{U:()=>a});var l=r(95155),t=r(53661),n=r(8368),i=r(73649);function a(e){let{children:s,title:r,breadcrumbs:t=[],className:a,actions:c}=e;return(0,l.jsx)(i.default,{userRole:"policy-holder",children:(0,l.jsxs)("div",{className:(0,n.cn)("p-6 space-y-6",a),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"}),t.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===t.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,t.r)(a,"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(5653)),_N_E=e.O()}]);