1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[942],{4227:(e,s,t)=>{"use strict";t.d(s,{A:()=>a});var l=t(7876),r=t(9501);let a=e=>{let{post:s}=e,t="https://www.worldenergycouncil.lv/blog/".concat(s.slug.current),a=s.title,i=s.tags&&s.tags.map(e=>"string"==typeof e?e.replace(/-/g,""):"").join(",");return(0,l.jsx)("div",{className:"flex justify-end",children:(0,l.jsxs)("div",{className:"inline-flex",children:[(0,l.jsx)("a",{href:"https://www.facebook.com/sharer/sharer.php?u=".concat(t),target:"_blank",rel:"noopener noreferrer",className:"mr-4 text-gray-700 hover:text-gray-500",children:(0,l.jsx)(r.iYk,{size:20})}),(0,l.jsx)("a",{href:"https://twitter.com/intent/tweet?url=".concat(t,"&text=").concat(a,"&hashtags=").concat(i),target:"_blank",rel:"noopener noreferrer",className:"mr-4 text-gray-700 hover:text-gray-500",children:(0,l.jsx)(r.feZ,{size:20})}),(0,l.jsx)("a",{href:"https://www.linkedin.com/shareArticle?mini=true&url=".concat(t),target:"_blank",rel:"noopener noreferrer",className:"mr-4 text-gray-700 hover:text-gray-500",children:(0,l.jsx)(r.QEs,{size:20})})]})})}},4939:()=>{},7497:(e,s,t)=>{"use strict";t.d(s,{A:()=>n});var l=t(7876);t(6842);var r=t(4232),a=t(8709),i=t(8641);t(3754);let n=()=>{let{t:e}=(0,a.Bd)("common"),[s,t]=(0,r.useState)(""),n=async s=>{try{if((await fetch("/api/signup",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(s)})).ok)i.oR.success(e("newsletter.success")),t("");else throw Error("Failed to subscribe")}catch(s){console.error(s),i.oR.error(e("newsletter.error"))}};return(0,l.jsx)("section",{id:"newsletter",role:"region","aria-label":"Subscribe Section",children:(0,l.jsx)("div",{className:"bg-wec-sky-blue",children:(0,l.jsx)("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 py-16",children:(0,l.jsxs)("div",{className:"max-w-lg mx-auto",children:[(0,l.jsx)("h2",{className:"text-2xl font-bold text-wec-blue text-center",children:e("newsletter.title")}),(0,l.jsx)("p",{className:"mt-2 text-wec-blue text-center",children:e("newsletter.description")}),(0,l.jsxs)("form",{onSubmit:e=>{e.preventDefault(),""!==s.trim()&&n({email_address:s.trim()})},className:"mt-8 sm:flex",children:[(0,l.jsx)("label",{htmlFor:"email-address",className:"sr-only",children:e("newsletter.emailLabel")}),(0,l.jsx)("input",{id:"email-address",name:"email_address",type:"email",autoComplete:"email",required:!0,value:s,onChange:e=>t(e.target.value),className:"appearance-none w-full px-5 py-3 sm:max-w-xs border border-gray-300 rounded-md shadow-sm placeholder-gray-400 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 sm:ml-3 sm:mt-0 sm:text-sm",placeholder:e("newsletter.emailPlaceholder")}),(0,l.jsx)("button",{type:"submit",className:"mt-3 w-full px-5 py-3 border border-transparent text-base font-medium rounded-md text-white bg-wec-blue hover:bg-gray-400 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 sm:mt-0 sm:ml-3 sm:flex-shrink-0 sm:w-auto sm:text-sm",children:e("newsletter.subscribeButton")})]})]})})})})}},9010:(e,s,t)=>{"use strict";t.r(s),t.d(s,{__N_SSP:()=>j,default:()=>f});var l=t(7876),r=t(5099),a=t.n(r),i=t(8230),n=t.n(i),c=t(4587),d=t.n(c),o=t(2185),x=t(7497),m=t(9552),h=t(8709),p=t(4227),u=t(2867),g=t(962),j=!0;let f=e=>{let{magazine:s,locale:t}=e,{t:r}=(0,h.Bd)("common"),i=s.coverImage,c=s.magazineImage,j=(0,o.A)(new Date(s.date),"dd/MM/yyyy");s.pdfUrl;let f="".concat(g.C1,"/").concat(t,"/magazine/").concat(s.slug.current,"/");return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(u.bV,{title:"".concat(s.title," | ").concat(g.C3," "),nofollow:!1,noindex:!1,description:s.metaDescription,canonical:f,openGraph:{url:f,title:"".concat(s.title," | ").concat(g.C3," "),description:"".concat(s.metaDescription),images:[{url:i,width:800,height:600,alt:s.title}],site_name:g.C3,type:"magazine",article:{publishedTime:s.date,tags:s.tags}},twitter:{handle:g.Nz,site:g.GT,cardType:"summary_large_image"},additionalMetaTags:[{name:"keywords",content:s.keywords.join(", ")}]}),i&&(0,l.jsx)("div",{className:"relative w-full h-[300px]",children:(0,l.jsx)(d(),{src:i,alt:s.title,fill:!0,className:"object-cover"})}),(0,l.jsx)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-6",children:(0,l.jsx)("nav",{"aria-label":"Breadcrumb",className:"flex",children:(0,l.jsxs)("ol",{className:"flex items-center space-x-2 text-sm",children:[(0,l.jsx)("li",{children:(0,l.jsx)(n(),{href:"/",children:(0,l.jsx)("p",{className:"capitalize hover:underline",children:r("nav.home")})})}),(0,l.jsx)("li",{children:(0,l.jsx)("span",{className:"mx-2 ",children:"/"})}),(0,l.jsx)("li",{children:(0,l.jsx)(n(),{href:"/magazine",children:(0,l.jsx)("p",{className:"capitalize hover:underline",children:r("nav.magazine")})})}),(0,l.jsx)("li",{children:(0,l.jsx)("span",{className:"mx-2 hidden",children:"/"})}),(0,l.jsx)("li",{children:(0,l.jsx)("span",{className:"hidden font-light text-gray-700",children:s.title})})]})})}),(0,l.jsxs)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 pb-12",children:[(0,l.jsx)("div",{className:"grid grid-cols-1 lg:grid-cols-1 ",children:(0,l.jsx)("div",{className:"lg:col-span-2 ",children:(0,l.jsxs)("div",{children:[(0,l.jsx)("h1",{className:"text-3xl font-extrabold",children:s.title}),(0,l.jsx)("p",{className:"font-bold text-sm text-gray-500 py-4",children:j}
1),(0,l.jsx)("p",{className:"text-gray-800 mb-4 text-2xl font-xl",children:s.description}),(0,l.jsxs)("div",{className:"font-light pb-6",children:[(0,l.jsx)(a(),{blocks:s.content}),(0,l.jsx)("div",{className:"py-4",children:(0,l.jsx)(p.A,{post:s})})]}),(0,l.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-8 p-8 border border-gray-100 rounded-lg",children:[(0,l.jsx)("div",{children:(0,l.jsx)("div",{className:"lg:col-span-1 flex items-center justify-center my-8",children:(0,l.jsx)("div",{children:c&&(0,l.jsx)("div",{className:"relative w-48 h-64",children:(0,l.jsx)(d(),{src:c,alt:s.title,fill:!0,className:"object-cover rounded-lg"})})})})}),(0,l.jsxs)("div",{children:[(0,l.jsx)("h3",{className:"text-wec-blue text-2xl font-extrabold",children:s.title}),(0,l.jsxs)("div",{className:"grid grid-cols-1 py-2 text-sm",children:[(0,l.jsxs)("div",{className:"flex grid",children:[(0,l.jsxs)("p",{className:"font-bold text-sm py-2",children:["ISSN:",(0,l.jsxs)("span",{className:"font-semibold",children:[" #",s.issue]})]}),(0,l.jsx)("p",{className:"font-bold text-sm text-gray-500",children:j})]}),s.topics&&s.topics.length>0&&(0,l.jsxs)("div",{children:[(0,l.jsx)("h3",{className:"text-xl font-bold mt-4 mb-2",children:r("titles.key-topics")}),(0,l.jsx)("div",{className:"list-disc list-inside",children:s.topics.map((e,s)=>(0,l.jsx)("ul",{children:(0,l.jsx)("li",{className:"pb-1 list-disc list-inside text-sm text-gray-800",children:e})},s))})]})]}),s.pdfUrl&&(0,l.jsx)("div",{className:"my-4",children:(0,l.jsxs)(n(),{href:s.pdfUrl,target:"_blank",rel:"noopener noreferrer",className:"text-wec-blue hover:text-gray-400 flex items-center ",download:!0,children:[(0,l.jsx)(m.A,{className:"mr-2"}),r("buttons.download-pdf")]})})]})]})]})})}),(0,l.jsxs)("div",{className:"grid grid-cols-1 ".concat(s.relatedPosts&&s.relatedPosts.length>0||s.relatedPublications&&s.relatedPublications.length>0?"lg:grid-cols-2":""," lg:gap-8"),children:[s.relatedPosts&&s.relatedPosts.length>0&&(0,l.jsxs)("div",{className:"bg-gray-100 rounded-lg mt-8 p-4",children:[(0,l.jsxs)("h2",{className:"text-xl font-bold mt-4 mb-4",children:[" ",r("titles.related-articles")]}),s.relatedPosts.map(e=>{var s;return(0,l.jsx)("ul",{children:(0,l.jsx)(n(),{href:"/blog/".concat(null==(s=e.slug)?void 0:s.current),children:(0,l.jsx)("li",{className:"text-wec-blue hover:text-gray-700 pb-1",children:e.title})})},e._id)})]}),s.relatedPublications&&s.relatedPublications.length>0&&(0,l.jsx)("div",{className:"bg-gray-100 rounded-lg mt-8 p-4",children:(0,l.jsxs)("div",{className:"mb-4 ",children:[(0,l.jsxs)("h2",{className:"text-xl font-bold mt-4 mb-4",children:[" ",r("titles.related-publications")]}),(0,l.jsx)("div",{className:"list-disc list-inside",children:s.relatedPublications.map(e=>{var s;return(0,l.jsx)("ul",{children:(0,l.jsx)(n(),{href:"/publications/".concat(null==(s=e.slug)?void 0:s.current),children:(0,l.jsx)("li",{className:"text-wec-blue hover:text-gray-700 pb-1",children:e.title})})},e._id)})})]})})]}),(0,l.jsx)("nav",{"aria-label":"Breadcrumb",className:"flex py-6",children:(0,l.jsxs)("ol",{className:"flex items-center space-x-2 text-sm",children:[(0,l.jsx)("li",{children:(0,l.jsx)(n(),{href:"/",children:(0,l.jsx)("p",{className:"capitalize hover:underline",children:r("nav.home")})})}),(0,l.jsx)("li",{children:(0,l.jsx)("span",{className:"mx-2",children:"/"})}),(0,l.jsx)("li",{children:(0,l.jsx)(n(),{href:"/magazine",children:(0,l.jsx)("p",{className:"capitalize hover:underline",children:r("nav.magazine")})})}),(0,l.jsx)("li",{children:(0,l.jsx)("span",{className:"mx-2 hidden",children:"/"})}),(0,l.jsx)("li",{children:(0,l.jsx)("span",{className:"font-light text-gray-700 hidden",children:s.title})})]})}),(0,l.jsx)("div",{className:"mt-8 flex justify-center",children:(0,l.jsx)("button",{children:(0,l.jsx)(n(),{href:"/magazine",children:(0,l.jsxs)("p",{className:"bg-white border border-gray-500 hover:bg-gray-200 text-black px-6 py-2 text-sm rounded-md",children:["â ",r("buttons.back-to-magazines")]})})})})]}),(0,l.jsx)(x.A,{})]})}},9080:(e,s,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/magazine/[slug]",function(){return t(9010)}])},9552:(e,s,t)=>{"use strict";t.d(s,{A:()=>c});
1var l=t(4232),r=t(5062),a=t.n(r);function i(){return(i=Object.assign||function(e){for(var s=1;s<arguments.length;s++){var t=arguments[s];for(var l in t)Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l])}return e}).apply(this,arguments)}var n=(0,l.forwardRef)(function(e,s){var t=e.color,r=e.size,a=void 0===r?24:r,n=function(e,s){if(null==e)return{};var t,l,r=function(e,s){if(null==e)return{};var t,l,r={},a=Object.keys(e);for(l=0;l<a.length;l++)t=a[l],s.indexOf(t)>=0||(r[t]=e[t]);return r}(e,s);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(l=0;l<a.length;l++)t=a[l],!(s.indexOf(t)>=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}(e,["color","size"]);return l.createElement("svg",i({ref:s,xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:void 0===t?"currentColor":t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},n),l.createElement("path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"}),l.createElement("polyline",{points:"7 10 12 15 17 10"}),l.createElement("line",{x1:"12",y1:"15",x2:"12",y2:"3"}))});n.propTypes={color:a().string,size:a().oneOfType([a().string,a().number])},n.displayName="Download";let c=n}},e=>{e.O(0,[209,706,867,587,909,185,551,99,636,593,792],()=>e(e.s=9080)),_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.