(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,70887,e=>{"use strict";var a=e.i(38595),l=e.i(76400),s=e.i(13413),i=e.i(2003),t=e.i(77866);let c=l.forwardRef(({bsPrefix:e,active:l=!1,children:c,className:r,as:n="li",linkAs:d=t.default,linkProps:o={},href:m,title:h,target:u,...x},b)=>{let j=(0,i.useBootstrapPrefix)(e,"breadcrumb-item");return(0,a.jsx)(n,{ref:b,...x,className:(0,s.default)(j,r,{active:l}),"aria-current":l?"page":void 0,children:l?c:(0,a.jsx)(d,{...o,href:m,title:h,target:u,children:c})})});c.displayName="BreadcrumbItem";let r=l.forwardRef(({bsPrefix:e,className:l,listProps:t={},children:c,label:r="breadcrumb",as:n="nav",...d},o)=>{let m=(0,i.useBootstrapPrefix)(e,"breadcrumb");return(0,a.jsx)(n,{"aria-label":r,className:l,ref:o,...d,children:(0,a.jsx)("ol",{...t,className:(0,s.default)(m,null==t?void 0:t.className),children:c})})});r.displayName="Breadcrumb";let n=Object.assign(r,{Item:c});var d=e.i(3721),o=e.i(12279),m=e.i(65102);e.s(["default",0,({breadcrumbs:e,additionalClass:l})=>{let s=(0,m.useRouter)();return(0,a.jsx)("div",{className:"container",children:(0,a.jsx)("div",{className:"Breadcrumb_comp",children:(0,a.jsx)(n,{children:e.map((e,i)=>(0,a.jsxs)(n.Item,{href:e.link,active:e.isActive,className:e.isActive?`para_text ${l||""}`:"",onClick:a=>{var l;a.preventDefault(),e.isActive||(l=e.link,s.push(l))},children:[i>0&&(0,a.jsx)(d.FontAwesomeIcon,{className:"nextfafa",icon:o.faChevronRight}),e.label]},i))})})})}],70887)},52193,e=>{"use strict";var a=e.i(38595),l=e.i(76400),s=e.i(70887);e.i(22879);var i=e.i(36173),t=e.i(52573);let c=function({baseLink:e,blogData:l}){return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(t.default,{href:e,style:{textDecoration:"none"},children:(0,a.jsx)("section",{className:"Blog_card",children:(0,a.jsxs)("div",{className:"main_content_holder",children:[(0,a.jsx)("div",{className:"img_holder",children:(0,a.jsx)("img",{className:"Blog_img",src:"https://amartnode.profcymadev.com:2045"+l.image,alt:"Blog_img"})}),(0,a.jsxs)("div",{className:"text_holder",children:[(0,a.jsx)("p",{className:"title_text heading_text",children:l.name}),(0,a.jsx)("p",{className:"descn para_text",children:l.subname}),(0,a.jsx)("p",{className:"para_text",children:(0,i.default)("string"==typeof l?.description?l.description:"")})]})]})})})})};var r=e.i(42048),n=e.i(67874);e.s(["default",0,function(){let[e,i]=(0,l.useState)(1),t=(0,r.useSelector)(e=>e.blog.blog),d=(0,r.useDispatch)();(0,l.useEffect)(()=>{d((0,n.getblog)())},[d]);let o=Math.ceil(t?.data?.length/8),m=e=>{e>=1&&e<=o&&i(e)},h=t?.data?.slice((e-1)*8,8*e);return(0,a.jsx)("section",{className:"Blog",children:(0,a.jsxs)("div",{className:"container",children:[(0,a.jsx)(s.default,{breadcrumbs:[{label:"Home",link:"/",isActive:!1},{label:"Blog",link:"",isActive:!0}]}),(0,a.jsxs)("div",{className:"blog_card_holder",children:[(0,a.jsx)("div",{className:"row",children:h&&h.length>0?h.map((e,l)=>(0,a.jsx)("div",{className:"col-xl-3 col-lg-4 col-md-4 col-sm-6 col-6 mb-4",children:(0,a.jsx)(c,{baseLink:`/blog/${e.id}`,blogData:e})},l)):(0,a.jsx)("div",{className:"no_product_available_holder",children:(0,a.jsx)("h3",{children:"No blogs available yet"})})}),(0,a.jsxs)("div",{className:"pagination pagination_holder mt-4 d-flex justify-content-center align-items-center gap-2",children:[(0,a.jsx)("button",{onClick:()=>m(1),disabled:1===e,children:"«"}),(0,a.jsx)("button",{onClick:()=>m(e-1),disabled:1===e,children:"‹"}),[e].map(l=>(0,a.jsx)("button",{onClick:()=>m(l),className:l===e?"active":"",children:l},l)),o>3&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{children:"..."}),(0,a.jsx)("button",{onClick:()=>m(o),className:e===o?"active":"",children:o})]}),(0,a.jsx)("button",{onClick:()=>m(e+1),disabled:e===o,children:"›"}),(0,a.jsx)("button",{onClick:()=>m(o),disabled:e===o,children:"»"})]})]})]})})}],52193)}]);