text: _N_E=(window.webpackJsonp_N_E=window.webpackJsonp_N_E||[]).push([[15],{"HaE+":function(t,e,r){"use strict";function n(t,e,r,n,a,c,o){try{var s=t[c](o),u=s.value}catch(i){return void r(i)}s.done?e(u):Promise.resolve(u).then(n,a)}function a(t){return function(){var e=this,r=arguments;return new Promise((function(a,c){var o=t.apply(e,r);function s(t){n(o,a,c,s,u,"next",t)}function u(t){n(o,a,c,s,u,"throw",t)}s(void 0)}))}}r.d(e,"a",(function(){return a}))},Rwqc:function(t,e,r){"use strict";r.r(e);var n=r("o0o1"),a=r.n(n),c=r("HaE+"),o=r("q1tI"),s=r.n(o),u=r("YFqc"),i=r.n(u),l=r("bMwp"),p=r("mgkc"),f=r("pRT7"),d=r("Cgje"),v=r("naWs"),b=r("bnla"),m=r.n(b),g=(r("vQTQ"),r("8Kt/"),r("ZDfL")),h=s.a.createElement,w=function(t){var e=t.posts,r=void 0===e?[]:e;return h(s.a.Fragment,null,h(d.a,null),h(p.a,{title:"Our Blog"}),h("section",{className:"blog-area ptb-80"},h("div",{className:"container"},h(g.a,null,h("div",{className:"row"},r.map((function(t,e){return h("div",{key:e,className:"col-lg-4 col-md-6"},h("div",{className:"single-blog-post-item"},h("div",{className:"post-image"},h(i.a,{as:Object(f.linkResolver)(t),href:"/blogPost?slug=".concat(t.uid),passHref:!0},h("a",null,h("img",{src:t.data.featured_image.url,alt:"Featured Image"})))),h("div",{className:"post-content"},h("ul",{className:"post-meta"},h("li",null,new Date(t.data.time).toLocaleDateString())),h("h3",null,h(i.a,{as:Object(f.linkResolver)(t),href:"/blogPost?slug=".concat(t.uid),passHref:!0},h("a",null,t.data.title[0].text))),h(i.a,{as:Object(f.linkResolver)(t),href:"/blogPost?slug=".concat(t.uid),passHref:!0},h("a",{className:"read-more-btn"},"Read More ",h(m.a,{fontSize:"large"}))))))})))))),h(v.a,null))};w.getInitialProps=Object(c.a)(a.a.mark((function t(){var e;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(l.b)();case 2:return e=t.sent,t.abrupt("return",{posts:e.results});case 4:case"end":return t.stop()}}),t)}))),e.default=w},bMwp:function(t,e,r){"use strict";r.d(e,"b",(function(){return l})),r.d(e,"a",(function(){return p}));var n=r("o0o1"),a=r.n(n),c=r("rePB"),o=r("HaE+"),s=r("3gx5");function u(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function i(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?u(Object(r),!0).forEach((function(e){Object(c.a)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var l=function(){var t=Object(o.a)(a.a.mark((function t(e){var r,n;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,s.a.api("https://distinctcloud.prismic.io/api/v2");case 3:return r=t.sent,t.next=6,r.query(s.a.Predicates.at("document.type","blog_post"),i({orderings:"[my.blog_post.date desc]"},e));case 6:return n=t.sent,t.abrupt("return",n);case 10:return t.prev=10,t.t0=t.catch(0),t.abrupt("return",t.t0);case 13:case"end":return t.stop()}}),t,null,[[0,10]])})));return function(e){return t.apply(this,arguments)}}(),p=function(){var t=Object(o.a)(a.a.mark((function t(e){var r,n;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,s.a.api("https://distinctcloud.prismic.io/api/v2");case 3:return r=t.sent,t.next=6,r.query(s.a.Predicates.at("my.blog_post.uid",e));case 6:return n=t.sent,t.abrupt("return",n.results[0]);case 10:return t.prev=10,t.t0=t.catch(0),console.error(t.t0),t.abrupt("return",t.t0);case 14:case"end":return t.stop()}}),t,null,[[0,10]])})));return function(e){return t.apply(this,arguments)}}()},bnla:function(t,e,r){"use strict";var n=r("TqRt"),a=r("284h");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var c=a(r("q1tI")),o=(0,n(r("8/g6")).default)(c.createElement("path",{d:"M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7zm-1-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"}),"AddCircleOutline");e.default=o},kZ6J:function(t,e,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/blog_old",function(){return r("Rwqc")}])},pRT7:function(t,e){}},[["kZ6J",0,1,2,3,4]]]);