1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[405],{7314:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return a(285)}])},4926:function(e,t,a){"use strict";a.d(t,{$:function(){return Footer}});var s=a(2322),n=a(9097),l=a.n(n);let Footer=()=>(0,s.jsx)("footer",{className:"container",children:(0,s.jsxs)("div",{className:"footer d-md-flex flex-md-column-reverse justify-content-center justify-content-xl-between py-4 p-md-3 px-lg-7 py-lg-4 p-xl-3",children:[(0,s.jsx)("div",{className:"footer__copyright mb-2 mb-lg-0",children:(0,s.jsxs)("div",{children:[(0,s.jsxs)("span",{className:"footer__text d-block",children:["Copyright \xa9 ",new Date().getFullYear(),", ","MIDSERVED"]}),(0,s.jsx)("span",{className:"footer__text d-block",children:"All Right Reserved."})]})}),(0,s.jsxs)("ul",{className:"footer__nav-list d-flex flex-column flex-md-row align-items-center justify-content-center justify-content-xl-between flex-wrap ps-0 mb-md-4",children:[(0,s.jsx)("li",{className:"footer__nav-item",children:(0,s.jsx)(l(),{href:"/privacy-notice",className:"footer__nav-link",children:"Privacy Notice"})}),(0,s.jsx)("li",{className:"footer__nav-item",children:(0,s.jsx)(l(),{href:"/tos",className:"footer__nav-link",children:"Terms of Service"})}),(0,s.jsx)("li",{className:"footer__nav-item",children:(0,s.jsx)(l(),{href:"/cookie-policy",className:"footer__nav-link",children:"Cookie Policy"})}),(0,s.jsx)("li",{className:"footer__nav-item",children:(0,s.jsx)(l(),{href:"/about-us",className:"footer__nav-link",children:"About Us"})}),(0,s.jsx)("li",{className:"footer__nav-item",children:(0,s.jsx)(l(),{href:"/sitemap",className:"footer__nav-link",children:"Site Map"})}),(0,s.jsx)("li",{className:"footer__nav-item",children:(0,s.jsx)(l(),{href:"/us-privacy-statement",className:"footer__nav-link",children:"US Privacy Statement"})}),(0,s.jsx)("li",{className:"footer__nav-item",children:(0,s.jsx)(l(),{href:"/data-privacy-request-form",className:"footer__nav-link",children:"Do Not Sell My Personal Information"})})]})]})})},3044:function(e,t,a){"use strict";a.d(t,{h:function(){return Header}});var s=a(2322),n=a(2579),l=a.n(n),r=a(9097),i=a.n(r),c=a(2784),o=a(1421);let Header=e=>{let{categoryList:t,isFtoutreach:a}=e,[n,r]=(0,c.useState)(!1),toggleMenu=()=>{r(!n)};return(0,s.jsx)("header",{className:"header container bg-white ".concat(a?"ftoutreach-container":""),children:(0,s.jsx)("div",{className:"header__wrapper",children:(0,s.jsx)("nav",{className:"navbar navbar-expand-lg",children:(0,s.jsxs)("div",{className:"container-fluid d-flex p-0 m-0 w-100 justify-content-end justify-content-lg-center align-items-center",children:[(0,s.jsxs)(i(),{href:"/",className:"navbar-brand","aria-label":"Midserved",children:[(0,s.jsx)("i",{className:"svg-logo-mobile d-inline-block d-md-none"}),(0,s.jsx)("i",{className:"svg-logo-desktop d-none d-md-inline-block"})]}),(0,s.jsx)("button",{className:"navbar-toggler".concat(n?"":" collapsed"),type:"button","data-bs-toggle":"collapse","data-bs-target":"#navbarNavDropdown","aria-controls":"navbarNavDropdown","aria-expanded":n?"true":"false","aria-label":"Toggle navigation",onClick:toggleMenu,children:(0,s.jsx)("i",{className:"svg-menu-open navbar-toggler-icon"})}),(0,s.jsxs)("div",{className:"collapse navbar-collapse".concat(n?" show":""),id:"navbarNavDropdown",children:[(0,s.jsxs)("div",{className:"d-flex justify-content-between align-items-center",children:[(0,s.jsx)("a",{className:"navbar-brand menu-title h3 p-0 d-lg-none",href:"#",children:"Menu"}),(0,s.jsx)("button",{className:"navbar-toggler navbar-toggler-close p-0",type:"button","data-bs-toggle":"collapse","data-bs-target":"#navbarNavDropdown","aria-controls":"navbarNavDropdown","aria-expanded":"false","aria-label":"Toggle navigation",onClick:toggleMenu,children:(0,s.jsx)("i",{className:"svg-menu-close"})})]}),(0,s.jsx)("ul",{className:"nav__list list-reset navbar-nav",children:(t||[]).map(e=>(0,s.jsx)("li",{className:"nav__item nav-item",children:(0,s.jsx)("a",{href:"/categories/".concat(l()(e,"slug","")),className:"nav__link nav-item nav-link active h4 text-center fw-bold mr-1",children:l()(e,"name","")})},e.id))}),(0,s.jsx)(o.o,{})]})]})})})})}},4388:function(e,t,a){"use strict";a.d(t,{y:function(){return PostCard}});var s=a(2322),n=a(4152),l=a(2579),r=a.n(l),i=a(6577),c=a.n(i),o=a(9097),d=a.n(o),m=a(5632),h=a(1284);let PostCard=e=>{let{data:t}=e,a=(0,m.useRouter)(),l=r()(t,"image")?"".concat("https://api.midserved.com").concat(r()(t,"image[0].url","")):"/assets/images/no-image.jpg";return(0,s.jsxs)("div",{className:"card__container mb-md-3",onClick:()=>{a.push("/posts/".concat(r()(t,"slug","")))},children:[(0,s.jsx)(d(),{href:"/posts/".concat(r()(t,"slug","")),className:"card__link-img",children:(0,s.jsx)(c(),{className:"card__img",width:572,height:428,src:l,priority:!0,sizes:"(min-width: 767px) 33vw, (min-width: 568px) 50vw, 100vw",alt:r()(t,"title","")})}),(0,s.jsx)("h3",{className:"card__title h1",children:r()(t,"title","")}),(0,s.jsxs)("div",{className:"card__text-block",children:[(0,s.jsx)("span",{className:"card__date",children:(0,n.Z)(new Date(r()(t,"availableFrom",0)),h.z.DEFAULT_DATE)}),r()(t,"tags",[]).length?(0,s.jsx)("ul",{className:"tag-list d-flex align-items-center flex-wrap",children:r()(t,"tags",[]).map(e=>(0,s.jsx)("li",{className:"tag-item",children:(0,s.jsxs)(d(),{href:"/tags/".concat(r()(e,"slug","")),className:"tag-link",children:["#",r()(e,"name","")]})},e.id))}):(0,s.jsx)(s.Fragment,{})]})]})}},1421:function(e,t,a){"use strict";a.d(t,{o:function(){return Search}});var s=a(2322),n=a(2784);let Search=e=>{let{className:t}
1=e,[a,l]=(0,n.useState)("");return(0,s.jsx)("form",{className:"search input-group ".concat(t||""),action:"/search",children:(0,s.jsxs)("div",{className:"form-outline",children:[(0,s.jsx)("label",{className:"form-label",children:(0,s.jsx)("input",{type:"text",name:"s",value:a,className:"form-control",placeholder:"Search",onChange:e=>{l(e.target.value)}})}),(0,s.jsx)("button",{type:"submit","aria-label":"submit",className:"svg-search border-0"})]})})}},5284:function(e,t,a){"use strict";a.d(t,{o:function(){return SeoTags}});var s=a(2322),n=a(7729),l=a.n(n),r=a(2784);let SeoTags=e=>{let{title:t,description:a,image:n}=e,[i,c]=(0,r.useState)("/");return(0,r.useEffect)(()=>{c(window.location.href)},[]),n=n?n+"?format=webp":"/assets/images/sprites/logo-desktop.svg",(0,s.jsxs)(l(),{children:[(0,s.jsx)("title",{children:t}),(0,s.jsx)("meta",{name:"description",content:a}),(0,s.jsx)("meta",{name:"robots",content:"index, follow"}),(0,s.jsx)("meta",{httpEquiv:"Content-Type",content:"text/html; charset=utf-8"}),(0,s.jsx)("meta",{name:"language",content:"English"}),(0,s.jsx)("link",{rel:"preload",href:n,as:"image"}),(0,s.jsx)("meta",{property:"og:type",content:"website"}),(0,s.jsx)("meta",{property:"og:url",content:i}),(0,s.jsx)("meta",{property:"og:title",content:t}),(0,s.jsx)("meta",{property:"og:description",content:a}),(0,s.jsx)("meta",{property:"og:image",content:n}),(0,s.jsx)("meta",{property:"twitter:card",content:"summary_large_image"}),(0,s.jsx)("meta",{property:"twitter:url",content:i}),(0,s.jsx)("meta",{property:"twitter:title",content:t}),(0,s.jsx)("meta",{property:"twitter:description",content:a}),(0,s.jsx)("meta",{property:"twitter:image",content:n})]})}},927:function(e,t,a){"use strict";a.d(t,{z:function(){return TagItem}});var s=a(2322),n=a(2579),l=a.n(n),r=a(9097),i=a.n(r);let TagItem=e=>{let{tag:t}=e;return(0,s.jsx)("li",{className:"tag-item",children:(0,s.jsxs)(i(),{href:"/tags/".concat(l()(t,"slug","")),className:"tag-link",children:["#",l()(t,"name","")]})})}},5229:function(e,t,a){"use strict";a.d(t,{Z:function(){return TagsBox}});var s=a(2322),n=a(927);let TagsBox=e=>{let{listData:t}=e;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("h3",{className:"title-block h1",children:"Tags"}),(0,s.jsx)("ul",{className:"tag-list",children:(t||[]).map(e=>(0,s.jsx)(n.z,{tag:e},e.id))})]})}},1284:function(e,t,a){"use strict";a.d(t,{z:function(){return s}});let s={DEFAULT_DATE:"dd LLL yyyy",YEAR_MONTH_DATE:"yyyy-MM-dd"}},3546:function(e,t,a){"use strict";a.d(t,{WL:function(){return getSliderItems},gp:function(){return getList}});var s=a(7200),n=a(9126),l=a.n(n);let getList=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:["createdAt:desc"],n={populate:"*",sort:a,filters:{availableFrom:{$lte:new Date().toISOString()},...e}};t&&(n.pagination=t);try{let e=await fetch("".concat("https://api.midserved.com","/api/posts?").concat(l().stringify(n)));return await e.json()}catch(e){return s.Tb(e),{data:[],meta:{}}}},getSliderItems=async()=>{let e=await getList({useInSlider:!0,endlesses:{id:{$null:!0}}},{page:1,pageSize:5},["createdAt:desc"]);return e.data}},285:function(e,t,a){"use strict";a.r(t),a.d(t,{__N_SSP:function(){return N},default:function(){return pages}});var s=a(2322);a(5928),a(9757);var n=a(4926),l=a(3044),r=a(4152),i=a(2579),c=a.n(i),o=a(6577),d=a.n(o),m=a(5632),h=a(6453),u=a(7506),x=a(1284);let ImageSlider=e=>{let{data:t}=e,a=(0,m.useRouter)(),handleBlockClick=e=>{a.push("/posts/".concat(e))};return t?Array.isArray(t)&&t.length?(0,s.jsx)(u.tq,{pagination:{dynamicBullets:!0,clickable:!0},autoplay:{delay:5e3,disableOnInteraction:!1},modules:[h.tl,h.pt],children:t.map(e=>{let t=c()(e,"image")?"".concat("https://api.midserved.com").concat(c()(e,"image[0].url","")):"/assets/images/no-image.jpg";return(0,s.jsx)(u.o5,{children:(0,s.jsxs)("div",{className:"slider__wrapper mb-4 pl-0 mx-md-0 d-flex justify-content-between",onClick:()=>handleBlockClick(c()(e,"slug","")),children:[(0,s.jsxs)("div",{className:"slider__content-block",children:[(0,s.jsx)("h3",{className:"slider__title h1",children:c()(e,"title","")}),(0,s.jsx)("span",{className:"slider__date h4",children:(0,r.Z)(new Date(c()(e,"availableFrom",0)),x.z.DEFAULT_DATE)})]}),(0,s.jsx)("div",{className:"slider__img-block",children:(0,s.jsx)(d(),{className:"slider__img",src:t,width:1300,height:450,sizes:"(max-width: 768px) 33vw, (max-width: 1200px) 50vw, 100vw",priority:!0,alt:c()(e,"title","")})})]})},e.id)})}):(0,s.jsx)(s.Fragment,{}):(0,s.jsxs)("div",{className:"card my-3","aria-hidden":"true",children:[(0,s.jsx)("p",{className:"placeholder-glow",children:(0,s.jsx)("span",{className:"placeholder col-12",style:{height:"450px"}})}),(0,s.jsxs)("p",{className:"card-text placeholder-glow",children:[(0,s.jsx)("span",{className:"placeholder col-12"}),(0,s.jsx)("span",{className:"placeholder col-5"})]}),(0,s.jsx)("p",{className:"card-text placeholder-glow",children:(0,s.jsx)("span",{className:"placeholder col-2"})})]})};var g=a(4388),p=a(1421),j=a(5284),v=a(5229),f=a(3546),_=a(2784),N=!0,pages=e=>{let{categories:t,tags:a,lastPosts:r}=e,[i,c]=(0,_.useState)();return(0,_.useEffect)(()=>{let e=!0;return(0,f.WL)().then(t=>{e&&c(t)}),()=>{e=!1}},[]),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(j.o,{title:"".concat("Midserved"),description:"".concat("Midserved")}),(0,s.jsx)(l.h,{categoryList:t}),(0,s.jsxs)("div",{className:"content-index container",children:[(0,s.jsx)(p.o,{className:"mobile-search d-block d-lg-none mb-4"}),(0,s.jsx)(ImageSlider,{data:i}),(0,s.jsx)("div",{className:"card mb-4 mb-md-5",children:(0,s.jsx)("div",{className:"card-wrap",children:(r||[]).map(e=>(0,s.jsx)(g.y,{data:e},e.id))})}),(0,s.jsx)("div",{className:"tag-block",children:(0,s.jsx)(v.Z,{listData:a})})]}),(0,s.jsx)(n.$,{})]})}},3260:function(){}},function(e){e.O(0,[935,152,126,577,200,196,774,888,179],function(){return e(e.s=7314)}),_N_E=e.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.