<!-- 02.26c25v2 - Logo Filter -->
<style>
:root {
--lgf-gallery-max-width: 100%;
--lgf-dropdown-width: 20%;
--lgf-dropdown-padding: 8px 32px 8px 12px;
--lgf-dropdown-border: 1px solid #173839;
--lgf-dropdown-font-size: 0.9rem;
--lgf-dropdown-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='currentColor'/%3E%3C/svg%3E");
--lgf-option-background: #fbfbf3;
--lgf-option-color: #173839;
--lgf-option-hover-background: #a7004e;
--lgf-option-hover-color: #fff;
--lgf-option-selected-background: #a7004e;
--lgf-option-selected-color: #fff;
--lgf-pagination-gap: 6px;
--lgf-arrow-font-size: 0.9rem;
--lgf-arrow-disabled-opacity: 0.25;
--lgf-num-font-size: 0.9rem;
}
</style>
<script>
var LGF_CONFIG = {
sectionSelector: 'section[id*="logo-filter"]',
perPage: 18,
labels: {
country: 'Function',
color: 'Sector',
number: 'Geography',
field: 'Asset Class',
page: 'Page:'
},
arrows: {
prev: '←',
next: '→'
}
};
</script>
<style>
#lgf-bar{display:flex;justify-content:space-between;padding:20px 0}.lgf-dd{position:relative;width:var(--lgf-dropdown-width)}.lgf-dd-btn{width:100%;padding:var(--lgf-dropdown-padding);border:var(--lgf-dropdown-border);background:transparent;background-image:var(--lgf-dropdown-arrow);background-repeat:no-repeat;background-position:right 10px center;font-size:var(--lgf-dropdown-font-size);font-family:inherit;color:inherit;cursor:pointer;outline:0;border-radius:2px;text-align:left;appearance:none;-webkit-appearance:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lgf-dd-list{display:none;position:absolute;top:100%;left:0;min-width:100%;margin:2px 0 0;padding:0;list-style:none;border:var(--lgf-dropdown-border);background:var(--lgf-option-background);color:var(--lgf-option-color);font-size:var(--lgf-dropdown-font-size);font-family:inherit;z-index:999;box-sizing:border-box}.lgf-dd.lgf-open .lgf-dd-list{display:block}.lgf-dd-list li{padding:var(--lgf-dropdown-padding);cursor:pointer;opacity:1}.lgf-dd-list li:hover{background:var(--lgf-option-hover-background);color:var(--lgf-option-hover-color)}.lgf-dd-list li.lgf-selected{background:var(--lgf-option-selected-background);color:var(--lgf-option-selected-color);font-weight:700}#lgf-pagination{display:flex;align-items:center;justify-content:flex-start;gap:var(--lgf-pagination-gap);padding:24px 0;font-size:var(--lgf-num-font-size);font-family:inherit}#lgf-pagination .lgf-label{margin-right:6px}#lgf-pagination .lgf-arrow,#lgf-pagination .lgf-num{background:none;border:none;font-family:inherit;color:inherit;cursor:pointer;line-height:1}#lgf-pagination .lgf-arrow{font-size:var(--lgf-arrow-font-size);padding:0 4px}#lgf-pagination .lgf-arrow:disabled{opacity:var(--lgf-arrow-disabled-opacity);cursor:default}#lgf-pagination .lgf-num{font-size:var(--lgf-num-font-size);padding:0 3px}#lgf-pagination .lgf-num.lgf-active{font-weight:700;text-decoration:underline;cursor:default}#lgf-pagination .lgf-ellipsis{padding:0 2px}.gallery-grid.gallery-grid--layout-grid{max-width:var(--lgf-gallery-max-width)}figure img{object-fit:contain!important}@media (max-width:767px){#lgf-bar{flex-direction:column;gap:8px}.lgf-dd{width:100%;box-sizing:border-box}}
figcaption.gallery-caption.gallery-caption-grid-simple {text-align: center;}
</style>
<script>
!function(){var e,t,n,l,a,r,o;function c(){var c=document.querySelector(LGF_CONFIG.sectionSelector);if(c&&!c.dataset.logoFilterInit){c.dataset.logoFilterInit="1";var u=c.querySelector(".gallery-grid-wrapper");u&&(e=Array.from(u.querySelectorAll("figure.gallery-grid-item"))).length&&(t=e.map((function(e){var t={country:null,color:null,number:null,field:null},n=e.querySelector(".gallery-caption-content");if(!n)return t;var l=n.textContent.split("\n"),a=[];l.forEach((function(e){var n;(n=e.match(/##Country:\s*(.+)/))?t.country=n[1].trim():(n=e.match(/##Color:\s*(.+)/))?t.color=n[1].trim():(n=e.match(/##Number:\s*(.+)/))?t.number=n[1].trim():(n=e.match(/##Field:\s*(.+)/))?t.field=n[1].trim():(n=e.match(/@@(.+)/))&&a.push(n[1].trim())}));var r=e.querySelector("figcaption");return r&&(a.length?(n.textContent=a.join("\n"),r.style.display=""):r.style.display="none"),t})),(n=[{id:"lgf-country",label:LGF_CONFIG.labels.country,key:"country",value:null},{id:"lgf-color",label:LGF_CONFIG.labels.color,key:"color",value:null},{id:"lgf-number",label:LGF_CONFIG.labels.number,key:"number",value:null},{id:"lgf-field",label:LGF_CONFIG.labels.field,key:"field",value:null}]).forEach((function(e){var n;e.options=(n=t.map((function(t){return t[e.key]})),[...new Set(n.filter(Boolean))])})),(r=document.createElement("div")).id="lgf-bar",n.forEach((function(e){var t=document.createElement("div");t.className="lgf-dd",t.id=e.id;var n=document.createElement("button");n.className="lgf-dd-btn",n.textContent=e.label,n.addEventListener("click",(function(e){e.stopPropagation();var n=t.classList.contains("lgf-open");i(),n||t.classList.add("lgf-open")}));var l=document.createElement("ul");l.className="lgf-dd-list";var a=document.createElement("li");a.textContent=e.label,a.classList.add("lgf-selected"),a.addEventListener("click",(function(){e.value=null,n.textContent=e.label,l.querySelectorAll("li").forEach((function(e){e.classList.remove("lgf-selected")})),a.classList.add("lgf-selected"),t.classList.remove("lgf-open"),d()})),l.appendChild(a),e.options.forEach((function(a){var r=document.createElement("li");r.textContent=a,r.addEventListener("click",(function(){e.value=a,n.textContent=a,l.querySelectorAll("li").forEach((function(e){e.classList.remove("lgf-selected")})),r.classList.add("lgf-selected"),t.classList.remove("lgf-open"),d()})),l.appendChild(r)})),t.appendChild(n),t.appendChild(l),r.appendChild(t)})),u.parentNode.insertBefore(r,u),(o=document.createElement("div")).id="lgf-pagination",u.parentNode.insertBefore(o,u.nextSibling),document.addEventListener("click",i),document.addEventListener("keydown",(function(e){"Escape"===e.key&&i()})),l=1,a=[],d())}}function i(){r&&r.querySelectorAll(".lgf-dd").forEach((function(e){e.classList.remove("lgf-open")}))}function d(){l=1,a=e.filter((function(e,l){var a=t[l];return n.every((function(e){return!e.value||a[e.key]===e.value}))})),u()}function u(){var t=(l-1)*LGF_CONFIG.perPage,n=t+LGF_CONFIG.perPage;e.forEach((function(e){e.style.display="none"})),a.forEach((function(e,l){e.style.display=l>=t&&l<n?"":"none"})),function(){o.innerHTML="";var e=Math.ceil(a.length/LGF_CONFIG.perPage);if(e<=1)return;var t=document.createElement("span");t.className="lgf-label",t.textContent=LGF_CONFIG.labels.page,o.appendChild(t);var n=document.createElement("button");function r(e){var t=document.createElement("button");return t.className="lgf-num"+(e===l?" lgf-active":""),t.textContent=e,e!==l&&t.addEventListener("click",(function(){l=e,u()})),t}if(n.className="lgf-arrow",n.textContent=LGF_CONFIG.arrows.prev,n.disabled=1===l,n.addEventListener("click",(function(){l--,u()})),o.appendChild(n),o.appendChild(r(1)),e>1){var c=document.createElement("span");c.className="lgf-ellipsis",c.textContent="...",o.appendChild(c),o.appendChild(r(e))}var i=document.createElement("button");i.className="lgf-arrow",i.textContent=LGF_CONFIG.arrows.next,i.disabled=l===e,i.addEventListener("click",(function(){l++,u()})),o.appendChild(i)}()}document.addEventListener("DOMContentLoaded",c),window.addEventListener("mercury:load",(function(){var l=document.getElementById("lgf-bar");l&&l.remove();var a=document.getElementById("lgf-pagination");a&&a.remove();var i=document.querySelector(LGF_CONFIG.sectionSelector);i&&delete i.dataset.logoFilterInit,e=t=n=r=o=null,c()}))}();
</script>