1(self.webpackChunk=self.webpackChunk||[]).push([[369,109],{29:(e,r,t)=>{"use strict";var a=t(652),o=t.n(a),c=t(109);function l(e,r){var{offsetWidth:t,scrollLeft:a,scrollWidth:o}=e,c=Array.from(e.children).filter((e=>e.classList.contains("c-carousel__item"))).map((e=>e.offsetLeft-a));if(!("previous"===r&&0===a||"next"===r&&a+t===o)){var l=0;"previous"===r?l=c.reduce(((e,r)=>r>=-5?e:Math.max(e,r)),-1/0):"next"===r&&(l=c.reduce(((e,r)=>r<=5?e:Math.min(e,r)),1/0)),"scrollBy"in Element.prototype?e.scrollBy({left:l,behavior:"smooth"}):e.scrollLeft+=l}}var n=e=>r=>{var t=document.createElement("button");return t.classList.add("c-carousel__pager"),t.classList.add("c-carousel__pager--".concat(r)),t.type="button",t.addEventListener("click",l.bind(null,e,r)),t};o().behaviors.devongarCarousel=(0,c.createBehavior)(".js-carousel",(e=>{var r=e.querySelector(".c-carousel__container"),t=function(e){var r=e.offsetHeight-e.clientHeight;return r>0&&(e.style.marginBottom="-".concat(r,"px")),()=>{e.style.marginBottom=""}}(r);e.setAttribute("role","group"),e.setAttribute("aria-roledescription","carousel"),Array.from(r.querySelectorAll(".c-carousel__item")).forEach((e=>{e.setAttribute("aria-roledescription","slide")}));var a=n(r);return e.appendChild(a("previous")),e.appendChild(a("next")),()=>{t(),Array.from(e.querySelectorAll(".c-carousel__pager")).forEach((e=>{e.parentElement.removeChild(e)}))}}))},109:(e,r,t)=>{"use strict";t.r(r),t.d(r,{createBehavior:()=>s});var a=t(832),o=t.n(a),c=t(666),l=()=>{},n={has:l,get:l,set:l,delete:l},s=function(e,r){var t=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=t?n:new WeakMap,s={attach(t){for(var o=arguments.length,l=new Array(o>1?o-1:0),n=1;n<o;n++)l[n-1]=arguments[n];(0,c.EQ)(e,t).filter((e=>!a.has(e))).forEach((e=>a.set(e,r(e,...l))))},detach:t?void 0:function(r){for(var t=arguments.length,o=new Array(t>1?t-1:0),n=1;n<t;n++)o[n-1]=arguments[n];(0,c.EQ)(e,r).filter((e=>a.has(e))).forEach((e=>{(a.get(e)||l)(...o),a.delete(e)}))}};return"loading"!==document.readyState&&s.attach(document.body,o()),s}}},0,[[29,179]]]);
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.