1"use strict";(self.webpackChunkieo_data=self.webpackChunkieo_data||[]).push([[1851,8293],{1851:(e,a,i)=>{i.r(a),i.d(a,{default:()=>c});var n=i(8293),s=i(9456),t=i(1276),l=i(579);const c=e=>{var a,i;let{bannerData:c}=e;const{featureProps:r}=(0,s.d4)((e=>e.common)),{name:d,mode:o,productionDomainURL:m,environment:u}=r;return(0,l.jsx)("div",{className:"container responsivegrid tui_padding-xhuge-b aem-GridColumn aem-GridColumn--default--12",children:(0,l.jsx)("div",{id:"container-dadba0e95c",className:"cmp-container",children:(0,l.jsx)("div",{className:"aem-Grid aem-Grid--12 aem-Grid--default--12 ",children:(0,l.jsx)("div",{className:"container responsivegrid tui__blue_row aem-GridColumn aem-GridColumn--default--12",children:(0,l.jsx)("div",{id:"container-b11c5d47f6",className:"cmp-container",children:(0,l.jsxs)("div",{className:"aem-Grid aem-Grid--12 aem-Grid--default--12 ",children:[(0,l.jsx)("div",{className:"teaser tui_featured_section aem-GridColumn aem-GridColumn--default--12",children:(0,l.jsx)("link",{rel:"stylesheet",href:"/etc.clientlibs/worldbank-partners-ieo/components/teaser/clientlibs.css",type:"text/css"})}),(0,l.jsxs)("div",{className:"teaser tui_featured_section tui_featured_v1 aem-GridColumn aem-GridColumn--default--12",children:[(null===c||void 0===c||null===(a=c.docStatus)||void 0===a?void 0:a[0])&&(0,l.jsx)("div",{className:"tui_featured_ribbon",children:null===c||void 0===c||null===(i=c.docStatus)||void 0===i?void 0:i[0]}),(0,l.jsxs)("div",{className:"cmp-teaser",children:[(0,l.jsxs)("div",{className:"cmp-teaser__content",children:[(0,l.jsx)("p",{className:"cmp-teaser__pretitle",children:"FEATURED"}),(0,l.jsx)("h2",{className:"cmp-teaser__title",children:null===c||void 0===c?void 0:c.title}),"eventTraining"===d&&(0,l.jsxs)("div",{className:"tui_event_info_wrapper",children:[(0,l.jsx)("div",{className:"tui_event_info",children:(0,l.jsxs)("p",{children:[(0,l.jsx)("span",{className:"lp lp-calendar-minus"}),(0,n.formatDate)(null===c||void 0===c?void 0:c.startDate)]})}),(0,l.jsx)("div",{className:"tui_event_info",children:(0,l.jsxs)("p",{children:[(0,l.jsx)("span",{className:"lp lp-map-marker-alt"}),null===c||void 0===c?void 0:c.location]})})]}),(0,l.jsx)("div",{className:"cmp-teaser__description",children:(0,l.jsx)("p",{children:(null===c||void 0===c?void 0:c.description)||""})}),(0,l.jsx)("div",{className:"cmp-teaser__action-container",children:(0,l.jsxs)("a",{className:"cmp-teaser__action-link",href:(0,t.NU)(o,u,null===c||void 0===c?void 0:c.publishPath,null===c||void 0===c?void 0:c.authorPath,m)||"#",children:[(0,l.jsx)("i",{className:"lp lp-arrow-up"}),(0,l.jsx)("span",{className:"cmp-link__screen-reader-only",children:"(opens in a new tab)"})]})})]}),(0,l.jsx)("div",{className:"cmp-teaser__image",children:(0,l.jsx)("div",{className:"cmp-image",children:(0,l.jsx)("img",{src:(0,t.Hs)(null===c||void 0===c?void 0:c.s7ThumbnailPath),title:"image",alt:"image",className:"img-responsive"})})})]})]})]})})})})})})}},8293:(e,a,i)=>{i.r(a),i.d(a,{buildFilterString:()=>n,formatDate:()=>t,formatDateToISO:()=>s});const n=(e,a)=>{let i=e;return Object.entries(a).forEach((e=>{let[a,n]=e;if(Array.isArray(n)&&n.length>0){const e=n.map((e=>"".concat(a,"/any(t3: (t3 eq '").concat(e,"'))"))).join(" or ");i+=" and (".concat(e,")")}else if(n&&"string"===typeof n)["evaluationGrouping","focalAreas","TrustFund","ProjectSize","GEFPhase"].includes(a)?i+=" and ((".concat(a,"/any(t3: (t3 eq '").concat(n,"'))))"):i+=" and (".concat(a," eq '").concat(n,"')");else if(n&&"object"===typeof n&&"dateRange"===a){const{start_date:e,end_date:a}=n;e&&(i+=" and contentDate gt ".concat(e)),a&&(i+=" and contentDate lt ".concat(a))}})),i},s=e=>new Date(e).toISOString(),t=e=>new Date(e).toLocaleDateString(void 0,{year:"numeric",month:"long",day:"numeric"})}}]); 2//# sourceMappingURL=1851.639a4785.chunk.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.