PageSourceSearch

https://www.worldenergycouncil.lv/_next/static/chunks/pages/publications/source/other-26a77d0ec4e01997.js

js worldenergycouncil.lv collected 2026-10-08 19:14:42 UTC 6,257 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[24],{1e3:(e,t,s)=>{"use strict";s.d(t,{A:()=>m});var l=s(7876),a=s(8230),r=s.n(a),c=s(4587),i=s.n(c),n=s(7300),o=s(2185),d=s(8709);let m=e=>{let{publications:t}=e,{t:s}=(0,d.Bd)("common");return(0,l.jsx)("div",{className:"container mx-auto pb-8",children:(0,l.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-2 gap-8",children:t.map(e=>(0,l.jsx)(r(),{href:"/publications/".concat(e.slug.current),children:(0,l.jsxs)("div",{className:"bg-white shadow-md hover:shadow-xl rounded-md overflow-hidden h-full flex flex-col",children:[(0,l.jsx)("div",{className:"relative h-0 pb-56",children:e.mainImage?(0,l.jsx)(i(),{className:"object-cover",src:(0,n.d)(e.mainImage).width(800).url(),alt:e.mainImage.alt,fill:!0}):(0,l.jsx)(i(),{className:"object-cover",src:"/default-image.jpg",alt:"Default Image",fill:!0})}),(0,l.jsxs)("div",{className:"flex flex-col justify-between flex-grow p-4",children:[(0,l.jsxs)("div",{children:[(0,l.jsx)("p",{className:"text-gray-700 mb-1 font-bold text-sm",children:"wec"===e.publicationType?s("titles.wec"):s("nav.other")}),(0,l.jsx)("h3",{className:"text-lg font-bold mb-1 line-clamp-2 h-14",children:e.title}),(0,l.jsx)("p",{className:"text-gray-700 mb-4 line-clamp-3 text-sm",children:e.description})]}),(0,l.jsxs)("div",{className:"mt-auto flex justify-between items-center",children:[(0,l.jsx)("button",{className:"bg-white border border-gray-500 hover:bg-gray-200 text-black px-6 py-2 text-sm rounded-md",children:s("buttons.readMore")}),(0,l.jsx)("p",{className:"text-gray-500 text-sm",children:(0,o.A)(new Date(e.publishedAt),"dd/MM/yyyy")})]})]})]})},e._id))})})}},4552:(e,t,s)=>{"use strict";s.r(t),s.d(t,{__N_SSP:()=>d,default:()=>m});var l=s(7876),a=s(8709),r=s(1e3),c=s(7497),i=s(2867),n=s(962),o=s(7113),d=!0;let m=e=>{let{publications:t}=e,{t:s}=(0,a.Bd)("common");return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(i.bV,{title:"".concat(s("titles.wec-global-publications")," | ").concat(n.C3),description:s("seo.publication-index-description"),canonical:"".concat(n.C1,"/publications"),openGraph:{url:"".concat(n.C1,"/publications"),title:"".concat(s("titles.publications")," | ").concat(n.C3),description:s("seo.publications-wec-description"),images:[{url:n.__,width:800,height:600,alt:"Default Image"}],site_name:n.C3},twitter:{handle:n.Nz,site:n.GT,cardType:"summary_large_image"}}),(0,l.jsxs)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12",children:[(0,l.jsx)("h1",{className:"text-wec-blue text-3xl font-extrabold",children:s("titles.publications")}),(0,l.jsx)(o.A,{})]}),(0,l.jsx)("div",{className:"container mx-auto pb-12 px-4 sm:px-6 lg:px-8 max-w-7xl",children:(0,l.jsx)("section",{id:"all-publications",children:(0,l.jsx)(r.A,{publications:t})})}),(0,l.jsx)(c.A,{})]})}},4939:()=>{},5244:(e,t,s)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/publications/source/other",function(){return s(4552)}])},7113:(e,t,s)=>{"use strict";s.d(t,{A:()=>n});var l=s(7876),a=s(8230),r=s.n(a),c=s(9099),i=s(8709);let n=()=>{let e=(0,c.useRouter)(),{t}=(0,i.Bd)("common");return(0,l.jsxs)("div",{className:"flex items-center pt-2",children:[(0,l.jsx)(r(),{href:"/publications",locale:e.locale,children:(0,l.jsx)("h2",{className:"mr-4 text-xl font-bold ".concat("/publications"===e.pathname?"text-black":"text-gray-500"," hover:text-black "),children:t("blog-nav.all")})}),(0,l.jsx)(r(),{href:"/publications/source/wec",locale:e.locale,children:(0,l.jsx)("h2",{className:"mr-4 text-xl font-bold ".concat("/publications/source/wec"===e.pathname?"text-black":"text-gray-500"," hover:text-black "),children:"WEC"})}),(0,l.jsx)(r(),{href:"/publications/source/other",locale:e.locale,children:(0,l.jsx)("h2",{className:"mr-4 text-xl font-bold ".concat("/publications/source/other"===e.pathname?"text-black":"text-gray-500"," hover:text-black "),children:t("nav.other")})})]})}},7300:(e,t,s)=>{"use strict";s.d(t,{d:()=>i});var l=s(6445),a=s.n(l),r=s(9643);let c=a()({...r.J});function i(e){return c.image(e)}},7497:(e,t,s)=>{"use strict";s.d(t,{A:()=>i});var l=s(7876);s(6842);var a=s(4232),r=s(8709),c=s(8641);s(3754);let i=()=>{let{t:e}=(0,r.Bd)("common"),[t,s]=(0,a.useState)(""),i=async t=>{try{if((await fetch("/api/signup",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)})).ok)c.oR.success(e("newsletter.success")),s("");else throw Error("Failed to subscribe")}catch(t){console.error(t),c.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(),""!==t.trim()&&i({email_address:t.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:t,onChange:e=>s(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 
1sm:text-sm",children:e("newsletter.subscribeButton")})]})]})})})})}},9643:(e,t,s)=>{"use strict";s.d(t,{J:()=>a});var l=s(5364);let a={projectId:l.env.NEXT_PUBLIC_SANITY_PROJECT_ID||"xh6shj9p",dataset:l.env.NEXT_PUBLIC_SANITY_DATASET||"production",useCdn:!0}}},e=>{e.O(0,[209,706,867,587,909,168,185,551,636,593,792],()=>e(e.s=5244)),_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.