1(self.webpackChunkgatsby_starter_default=self.webpackChunkgatsby_starter_default||[]).push([[8402],{398:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return A}});var a=n(5785),r=n(7294),i=n(5444),c=function(e){var t,a,c=e.len,l=e.imgsec,o=(e.type,e.date),u=e.heading,s=(e.mobileimg,e.description),m=e.pageContext.translate,d=n(5041),g=new Date(o);return r.createElement(i.Link,{to:((m.currentLang?"/"+m.currentLang+"/":"/")+"community-news/"+u.replace(/\s/g,"-").replace(/[^\w-]/g,"")+"/").toLowerCase()},r.createElement("div",{className:"singleBlog"},r.createElement("div",{className:"box "},l&&r.createElement("img",{className:"desktop",src:(a=null==l?void 0:l.split("/")[(null==l?void 0:l.split("/").length)-1],d("./"+a).default),alt:"Single Blog"}),r.createElement("div",{className:"define"},r.createElement("h3",null," ",null===(t=m.t)||void 0===t?void 0:t.article," "),r.createElement("h4",null,u),o&&r.createElement("p",null,g.toISOString().slice(0,10)),s&&r.createElement("p",null,null==s?void 0:s.slice(0,c),"...")))))},l=n(511),o=n(1202),u=n(8824),s=n.n(u),m=function(e){var t,n,a=e.pageContext.translate;return r.createElement(r.Fragment,null,r.createElement("div",{className:"newsletter"},r.createElement("div",{className:"content"},r.createElement("h2",null,null===(t=a.t)||void 0===t?void 0:t.subscribe_to_our_newsletter),r.createElement("h3",null,null===(n=a.t)||void 0===n?void 0:n.keep_up_to_date_news),r.createElement(l.J9,{initialValues:{email:""},validate:function(e){var t,n={};e.email?/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}$/i.test(e.email)||(n.email="Invalid email address"):n.email=null===(t=a.t)||void 0===t?void 0:t.required;return n},onSubmit:function(e,t){!function(e,t,n,r){(0,o.Z)(e.email,{MERGE6:"sewnstaging"}).then((function(e){var i,c;if("success"===e.result)s().fire({icon:"success",text:null===(c=a.t)||void 0===c?void 0:c.subscribed_successfully,confirmButtonColor:"#30855c",timer:3e3});else if("error"===e.result&&null!==(i=e.msg)&&void 0!==i&&i.includes("already subscribed")){var l;s().fire({icon:"error",text:null===(l=a.t)||void 0===l?void 0:l.already_subscribed,confirmButtonColor:"#30855c",timer:3e3})}else{var o;s().fire({icon:"error",text:null===(o=a.t)||void 0===o?void 0:o.common_error,confirmButtonColor:"#30855c",timer:3e3})}t(!1),n("email",""),r("email",!1)})).catch((function(){var e;s().fire({icon:"error",text:null===(e=a.t)||void 0===e?void 0:e.common_error,confirmButtonColor:"#30855c",timer:3e3}),t(!1)}))}(e,t.setSubmitting,t.setFieldValue,t.setFieldTouched)}},(function(e){var t,n=e.values,i=e.errors,c=e.touched,l=e.handleChange,o=e.handleBlur,u=e.handleSubmit,s=e.isSubmitting;return r.createElement("form",{onSubmit:u},r.createElement("div",{className:"form-group"},r.createElement("input",{type:"email",name:"email",onChange:l,onBlur:o,value:n.email,placeholder:null===(t=a.t)||void 0===t?void 0:t.email_address}),r.createElement("div",{className:"error"},i.email&&c.email&&i.email)),r.createElement("button",{type:"submit",disabled:s},r.createElement("img",{src:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iOXB4IiBoZWlnaHQ9IjE3cHgiIHZpZXdCb3g9IjAgMCA5IDE3IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPgogICAgPHRpdGxlPjcyQ0FCMDEzLTM3NTAtNDI3Ny1CREE1LTg3QUUwNEUyN0Y3RjwvdGl0bGU+CiAgICA8ZyBpZD0iQ29tbXVuaXR5LW5ld3MiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxnIGlkPSIwMV9DTl9XZWIiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC05MTEuMDAwMDAwLCAtMTQ1Ni4wMDAwMDApIiBmaWxsPSIjRkZGRkZGIiBmaWxsLXJ1bGU9Im5vbnplcm8iPgogICAgICAgICAgICA8ZyBpZD0iTWFzayIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMC4wMDAwMDAsIDEyMjYuMDAwMDAwKSI+CiAgICAgICAgICAgICAgICA8ZyBpZD0iR3JvdXAtNCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNTAwLjAwMDAwMCwgMjE0LjAwMDAwMCkiPgogICAgICAgICAgICAgICAgICAgIDxwb2x5Z29uIGlkPSJQYXRoIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg0MTUuNTAwMDAwLCAyNC41MDAwMDApIHJvdGF0ZSgtMjcwLjAwMDAwMCkgdHJhbnNsYXRlKC00MTUuNTAwMDAwLCAtMjQuNTAwMDAwKSAiIHBvaW50cz0iNDE1LjUgMjAgNDE0Ljk2NDg2MSAyMC40ODgwMzgxIDQwNyAyNy43ODk0NDczIDQwOC4wNzAyNzggMjkgNDE1LjUgMjIuMTg2NjI4OSA0MjIuOTI5NzIyIDI5IDQyNCAyNy43ODk0NDczIDQxNi4wMzUxMzkgMjAuNDg4MDM4MSI+PC9wb2x5Z29uPgogICAgICAgICAgICAgICAgPC9nPgogICAgICAgICAgICA8L2c+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=",alt:"News icon"})))})))))};function d(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return g(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return g(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var a=0;return function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var f=function(e){var t,n=e.pageContext.translate,a=(0,i.useStaticQuery)("3809583377").allMarkdownRemark.nodes;return(0,r.useEffect)((function(){for(var e,t=[],n=d(a);!(e=n()).done;){var r=e.value;
1t.includes(r.frontmatter.category)||t.push(r.frontmatter.category)}}),[a]),r.createElement("div",{className:"community_page"},r.createElement("div",{className:"content"},r.createElement("div",{className:"feature"},r.createElement("h1",{className:"mb-3 mb-lg-5"},null===(t=n.t)||void 0===t?void 0:t.coffee_community_news),r.createElement("div",{className:"super"},a.map((function(e,t){var a;return!(null===(a=e.frontmatter)||void 0===a||!a.feature1)&&r.createElement(c,{pageContext:{translate:n},key:t,imgsec:e.frontmatter.thumbnail_image,mobileimg:e.frontmatter.thumbnail_image,len:85,type:e.frontmatter.category,heading:e.frontmatter.title,description:e.frontmatter.thumbnail_summary})})))),r.createElement(m,{pageContext:{translate:n}}),r.createElement("div",{className:"feature"},r.createElement("div",{className:"super-non"},a.map((function(e,t){var a;return!(null===(a=e.frontmatter)||void 0===a||!a.feature2)&&r.createElement("div",{key:t,className:"blog-wrapper col-6"},r.createElement(c,{pageContext:{translate:n},imgsec:e.frontmatter.thumbnail_image,mobileimg:e.frontmatter.thumbnail_image,len:65,type:e.frontmatter.category,heading:e.frontmatter.title}))}))))))},b=n(6980),p=n(8118),v=n(4059),I=n.n(v),A=function(e){var t=e.location,n=e.pageContext.translate;return r.createElement(b.Z,{secondary:!0,path:"aboutus",location:t,pageContext:{translate:n},SEO:function(e){var t,n,i,c=e.data;return r.createElement(p.Z,{title:null===(t=c.t)||void 0===t?void 0:t.coffee_community_news,description:null===(n=c.t)||void 0===n?void 0:n.communitynews_metad,keywords:null===(i=c.t)||void 0===i?void 0:i.keywords_press_media,languages:[].concat((0,a.Z)(I().map((function(e){return{hrefLang:e||"en",href:"https://www.eraofwe.com"+(e?"/"+e+"/":"/")+"community-news/"}}))),[{hrefLang:"x-default",href:"https://www.eraofwe.com/community-news/"}])})}},r.createElement(f,{pageContext:{translate:n}}))}},352:function(e,t,n){"use strict";n.r(t),t.default=n.p+"static/2-4699cba131f5a6a617e3852b64d92ea2.png"},1182:function(e,t,n){"use strict";n.r(t),t.default=n.p+"static/26c4d55b-e131-490b-864d-1a5743b90b33-f1d39b65ae039a1841678ea0360e2834.png"},4013:function(e,t,n){"use strict";n.r(t),t.default=n.p+"static/3-6356032e6a4a5944a51dd40e86750ea9.png"},2774:function(e,t,n){"use strict";n.r(t),t.default=n.p+"static/4-19220b4b6f5e4b7e39844152051906bf.png"},2421:function(e,t,n){"use strict";n.r(t),t.default=n.p+"static/5-7917359e629e2fed3d13fd335a3ac51a.png"},5113:function(e,t,n){"use strict";n.r(t),t.default=n.p+"static/6-dd41c71246e4b1c6edfc74374589332a.png"},402:function(e,t,n){"use strict";n.r(t),t.default=n.p+"static/7-357744110ed7ee8735fe6e65c0be48eb.png"},3475:function(e,t,n){"use strict";n.r(t),t.default=n.p+"static/8-bd286b08670189a91369dd7f62fbe5f5.png"},1647:function(e,t,n){"use strict";n.r(t),t.default=n.p+"static/9-82258d0c16043785ecda7818bab81c56.png"},6490:function(e,t,n){"use strict";n.r(t),t.default=n.p+"static/asharita-37888fbc2c6d6b7f25dbcaa592f73759.png"},3414:function(e,t,n){"use strict";n.r(t),t.default=n.p+"static/blog-img-b4fb8c131318949837f23529f518499a.png"},1796:function(e,t,n){"use strict";n.r(t),t.default=n.p+"static/blogmain-ba5573befb25d14f921298d2294a8532.png"},9066:function(e,t,n){"use strict";n.r(t),t.default=n.p+"static/cn1-db5bcf0e05fc3b97dba80e7f9e86f35a.png"},1153:function(e,t,n){"use strict";n.r(t),t.default=n.p+"static/cn2-48c54869eea5fa9c9220ef39ca44dd28.png"},5173:function(e,t,n){"use strict";n.r(t),t.default=n.p+"static/dummy-blog-1-df1c06d1f85398345d3b3a3e2905737a.png"},3125:function(e,t,n){"use strict";n.r(t),t.default=n.p+"static/dummy-blog-3-c8973eb38420c48ad08fc89753eca190.png"},514:function(e,t,n){"use strict";n.r(t),t.default=n.p+"static/home-sustainability-55e4a2e20006c0759cd360d532cf6bea.jpg"},1206:function(e,t,n){"use strict";n.r(t),t.default=n.p+"static/katrina-yentch-7063b4f67c79f12d37d9d0e8253e2654.jpeg"},9566:function(e,t,n){"use strict";n.r(t),t.default=n.p+"static/user2-282ee3a2022811f0b2b2efd2cfa34227.png"},5041:function(e,t,n){var a={"./2.png":352,"./26c4d55b-e131-490b-864d-1a5743b90b33.png":1182,"./3.png":4013,"./4.png":2774,"./5.png":2421,"./6.png":5113,"./7.png":402,"./8.png":3475,"./9.png":1647,"./asharita.png":6490,"./blog-img.png":3414,"./blogmain.png":1796,"./cn1.png":9066,"./cn2.png":1153,"./dummy-blog-1.png":5173,"./dummy-blog-3.png":3125,"./home-sustainability.jpg":514,"./katrina-yentch.jpeg":1206,"./user2.png":9566};function r(e){var t=i(e);return n(t)}function i(e){if(!n.o(a,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return a[e]}r.keys=function(){return Object.keys(a)},r.resolve=i,e.exports=r,r.id=5041}}]); 2//# sourceMappingURL=component---src-page-components-community-news-js-5f2bb01ba01b2c47ea97.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.