1"use strict";(self.webpackChunksteven_dennis=self.webpackChunksteven_dennis||[]).push([[995,389],{9389:function(e,t,n){n.r(t);var l=n(7294),a=n(4160);t.default=function(e){var t,n;let{children:r,location:o,data:c,favicon:i}=e;const{site:s}=(0,a.K2)("462027165"),{defaultTitle:m,defaultDescription:d,siteUrl:u}=s.siteMetadata,v={title:(null==c?void 0:c.title)||m,description:(null==c?void 0:c.description)||d,url:""+u+(null==o?void 0:o.pathname)};return l.createElement(l.Fragment,null,l.createElement("title",null,v.title),i&&l.createElement("link",{rel:"icon",type:"image/x-icon",href:i.asset.url}),l.createElement("meta",{name:"description",content:v.description}),l.createElement("meta",{name:"theme-color",content:"#ffffff"}),l.createElement("meta",{name:"msapplication-navbutton-color",content:"#ffffff"}),l.createElement("meta",{name:"apple-mobile-web-app-status-bar-style",content:"#ffffff"}),(null==v?void 0:v.url)&&l.createElement("meta",{property:"og:url",content:v.url}),(null==v?void 0:v.title)&&l.createElement("meta",{property:"og:title",content:v.title}),(null==v?void 0:v.description)&&l.createElement("meta",{property:"og:description",content:v.description}),l.createElement("meta",{property:"og:site_name",content:"bergencountywebdevelopment"}),l.createElement("meta",{name:"twitter:card",content:"summary_large_image"}),(null==v?void 0:v.title)&&l.createElement("meta",{name:"twitter:title",content:v.title}),(null==v?void 0:v.description)&&l.createElement("meta",{name:"twitter:description",content:v.description}),(null==c||null===(t=c.keywords)||void 0===t?void 0:t.length)>0&&l.createElement("meta",{name:"keywords",content:c.keywords.join(",")}),(null==c||null===(n=c.ldSchema)||void 0===n?void 0:n.length)>0&&c.ldSchema.map(((e,t)=>l.createElement("script",{type:"application/ld+json",key:t},JSON.parse(e)))),r)}},1345:function(e,t,n){var l=n(7294),a=n(4160);t.Z=e=>{var t,n,r;let{title:o,content:c,contentTwo:i,image:s,isBreadcrumb:m,opacity:d}=e;return l.createElement("div",{className:"page-title-section section section-padding-top",style:{backgroundImage:"url("+s+")"}},l.createElement("div",{className:"my-overlay",style:{opacity:d&&d}}),l.createElement("div",{className:"page-title"},l.createElement("div",{className:"container"},l.createElement("h1",{className:"title",style:{color:null==o||null===(t=o.color)||void 0===t?void 0:t.hex}},null==o?void 0:o.text))),m&&l.createElement("div",{className:"page-breadcrumb position-static"},l.createElement("div",{className:"container"},l.createElement("ul",{className:"breadcrumb justify-content-center"},l.createElement("li",null,l.createElement(a.rU,{to:"/",style:{color:null==i||null===(n=i.color)||void 0===n?void 0:n.hex}},c)),l.createElement("li",{className:"current",style:{color:null==i||null===(r=i.color)||void 0===r?void 0:r.hex}},null==i?void 0:i.text)))))}},5541:function(e,t,n){n.r(t),n.d(t,{Head:function(){return m},default:function(){return s}});var l=n(7294),a=n(9389),r=n(1345);const o={}.GATSBY_SANITY_GRAPHQL;var c=n(6508);function i(){return l.createElement("div",{className:"loader-container"},l.createElement("div",{className:"biz-loader"},l.createElement("div",null),l.createElement("div",null),l.createElement("div",null)))}var s=()=>{const{0:e,1:t}=(0,l.useState)([]),{0:n,1:a}=(0,l.useState)(!0),s=async e=>{var n;const l='query {\n allBlog(where: {title: {text: {matches: "/'+e+'/ig"}}}){\n title {\n text\n color {\n hex\n }\n }\n slug {\n current\n }\n thumbnail {\n alt\n asset {\n url\n }\n }\n publishedAt\n }\n }',r=await async function(e){const t={endpoint:o,method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({query:e})};try{return await fetch(o,t).then((e=>e.json()))}catch(n){throw new Error("There was an error fetching the data from Server. Please try again later.")}}(l);var c;null!=r&&null!==(n=r.data)&&void 0!==n&&n.allBlog&&t(null==r||null===(c=r.data)||void 0===c?void 0:c.allBlog);a(!1)};return(0,l.useEffect)((()=>{const e=new URL(document.location).searchParams.get("text");s(e)}),[]),l.createElement(l.Fragment,null,l.createElement(r.Z,{image:"/images/bg/breadcrumb-bg-four.jpg",title:{text:"Blog Search"},content:"Home"}),l.createElement("div",{className:"section section-padding fix"},l.createElement("div",{className:"container"},n?l.createElement(i,null):0===e.length?l.createElement("p",{className:"text-center upercase"},"Sorry! There is no blog found :("):l.createElement("div",{className:"row row-cols-lg-3 row-cols-md-2 row-cols-sm-2 row-cols-1 mb-n6"},null==e?void 0:e.map(((e,t)=>l.createElement("div",{key:t,className:"col mb-6","data-aos":"fade-up"},l.createElement(c.Z,{data:e}))))))))};function m(e){var t;let{location:n,data:r}=e;return l.createElement(a.default,{location:n,data:{title:"Search"},favicon:null==r||null===(t=r.sanitySitesettings)||void 0===t?void 0:t.favicon})}}}]); 2//# sourceMappingURL=component---src-pages-search-jsx-a6d6a79e02d7f766b4e0.js.map
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.