1const galleryComponents=new WeakSet;function initGalleryComponent(){findAllElements(".gallery-component").forEach(e=>{galleryComponents.has(e)||configureGalleryComponent(e)})}function configureGalleryComponent(e){if(galleryComponents.has(e))return;galleryComponents.add(e);var o=e.dataset.columns,r=1;void 0!==o&&(r=parseInt(o)),window.matchMedia("(min-width: 40.0625em)").matches||(r=1);var l=Array.from(e.querySelectorAll(".gallery-component-image"));e.querySelectorAll(".govuk-grid-row").forEach(e=>e.remove());var n="govuk-grid-column-full";switch(r){case 1:default:n="govuk-grid-column-full";break;case 2:n="govuk-grid-column-one-half";break;case 3:n="govuk-grid-column-one-third";break;case 4:n="govuk-grid-column-one-quarter"}l.forEach(e=>{e.classList.remove("govuk-grid-column-full","govuk-grid-column-one-half","govuk-grid-column-one-third","govuk-grid-column-one-quarter"),e.classList.add(n)});for(var a=0;a<l.length;a+=r){var t=l.slice(a,a+r),i=document.createElement("div");i.className="govuk-grid-row";for(var u=0;u<t.length;u++)i.appendChild(t[u]);e.appendChild(i)}for(var g=Array.from(e.querySelectorAll("img")),c=0,m=0;m<g.length;m++){var d=g[m].naturalHeight||g[m].height;d>c&&(c=d)}e.style.height=c+25+"px",0===c&&setTimeout(initComponentGallery,500)}$(document).ready(()=>{initGalleryComponent()});
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.