(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6223],{30067:(e,s,a)=>{Promise.resolve().then(a.bind(a,88475))},88475:(e,s,a)=>{"use strict";a.r(s),a.d(s,{default:()=>n});var l=a(95155),t=a(9625),r=a(5565);function n(){return(0,l.jsx)(t.U,{title:"Nagad Payment",breadcrumbs:["Deposit Instruction","Nagad Payment"],children:(0,l.jsx)("div",{className:"py-8",children:(0,l.jsx)(r.default,{src:"/assets/images/payment/nagad.png",alt:"nagad",width:1e3,height:1e3,className:"w-full h-full object-cover"})})})}},53661:(e,s,a)=>{"use strict";a.d(s,{r:()=>i});var l=a(95155),t=a(76046),r=a(12115),n=a(83391);function i(e,s){return function(a){let i=(0,t.useRouter)(),{isAuthenticated:c,user:d}=(0,n.d4)(e=>e.auth);return((0,r.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,{...a}):null}}},9625:(e,s,a)=>{"use strict";a.d(s,{U:()=>i});var l=a(95155),t=a(53661),r=a(8368),n=a(73649);function i(e){let{children:s,title:a,breadcrumbs:t=[],className:i,actions:c}=e;return(0,l.jsx)(n.default,{userRole:"policy-holder",children:(0,l.jsxs)("div",{className:(0,r.cn)("p-6 space-y-6",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:a}),(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)(i,"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(30067)),_N_E=e.O()}]);