1!function(){"use strict";function e(){if(!x){var e=Math.max(0,v.scrollWidth-v.clientWidth),t=m[0].offsetLeft;x=m.map((function(n){return Math.max(0,Math.min(e,n.offsetLeft-t))}))}return x}function t(){var t=e(),n=0,l=Math.max(0,v.scrollLeft);return t.forEach((function(e,i){Math.abs(e-l)<Math.abs(t[n]-l)&&(n=i)})),n}function n(){if(k=null,!K&&!document.hidden){var e=t();A<0&&(T=e),e!==A&&(p.textContent=String(e+1).padStart(2,"0"),E.forEach((function(t,n){t.classList.toggle("is-current",n===e)})),A=e),W&&(T!==A&&(L.textContent=L.dataset.label.replace("{current}",A+1).replace("{title}",h[A].dataset.videoTitle)),T=A,W=!1);var n=null===M?A:M;w.setAttribute("aria-disabled",String(0===n)),g.setAttribute("aria-disabled",String(n===m.length-1))}}function l(){null!==k||K||document.hidden||(k=window.requestAnimationFrame(n))}function i(){window.clearTimeout(R),R=null,K||document.hidden||O||(M=null,W=!0,l())}function r(){window.clearTimeout(R),R=null,q||K||document.hidden||(R=window.setTimeout(i,160))}function a(t,n){M=Math.max(0,Math.min(m.length-1,t));var a=e()[M],o=Math.abs(v.scrollLeft-a)<1,d=!S.matches&&!document.documentElement.classList.contains("hp-motion-paused");v.scrollTo({left:a,behavior:d?"smooth":"instant"}),n&&h[M].focus({preventScroll:!0}),o?i():r(),l()}function o(){null!==M&&v.scrollTo({left:v.scrollLeft,behavior:"instant"}),M=null,W=!1,l()}function d(){O&&(O=!1,r())}function c(){null!==M&&v.scrollTo({left:v.scrollLeft,behavior:"instant"}),window.cancelAnimationFrame(k),window.clearTimeout(R),k=null,R=null,M=null,O=!1,W=!1}function s(){null!==M&&v.scrollTo({left:v.scrollLeft,behavior:"instant"}),M=null,x=null,l()}function u(){v.scrollTo({left:v.scrollLeft,behavior:"instant"}),M=null,i()}var f=document.querySelector("#hp-film-gallery");if(f&&!f.dataset.galleryReady){var v=f.querySelector(".hp-film-gallery-track");if(v){var m=Array.from(v.querySelectorAll(".hp-film-gallery-card")),h=m.map((function(e){return e.querySelector("[data-regional-video-open]")})),y=f.querySelector("[data-gallery-controls]"),w=f.querySelector("[data-gallery-previous]"),g=f.querySelector("[data-gallery-next]"),p=f.querySelector("[data-gallery-current]"),L=f.querySelector("[data-gallery-status]"),b=f.querySelector("[data-gallery-ruler]"),E=b?Array.from(b.querySelectorAll("[data-gallery-segment]")):[];if(!(m.length<2||h.some((function(e){return!e})))&&y&&w&&g&&p&&L&&"function"==typeof v.scrollTo){f.dataset.galleryReady="true",y.hidden=!1,b&&(b.hidden=!1);var S=window.matchMedia("(prefers-reduced-motion: reduce)"),q="onscrollend"in v,A=-1,T=-1,M=null,x=null,k=null,R=null,K=!1,O=!1,W=!1;if(w.addEventListener("click",(function(){"true"!==w.getAttribute("aria-disabled")&&a((null===M?t():M)-1)})),g.addEventListener("click",(function(){"true"!==g.getAttribute("aria-disabled")&&a((null===M?t():M)+1)})),v.addEventListener("scroll",(function(){l(),r()}),{passive:!0}),q&&v.addEventListener("scrollend",i),v.addEventListener("pointerdown",(function(){O=!0,o()}),{passive:!0}),v.addEventListener("wheel",o,{passive:!0}),window.addEventListener("pointerup",d,{passive:!0}),window.addEventListener("pointercancel",d,{passive:!0}),v.addEventListener("focusin",(function(e){var t=h.indexOf(e.target);if(!(t<0||M===t)){var n=m[t].offsetLeft,i=n+m[t].offsetWidth;n<v.scrollLeft+8||i>v.scrollLeft+v.clientWidth-8?a(t,!1):l()}})),v.addEventListener("keydown",(function(e){if(!(e.altKey||e.ctrlKey||e.metaKey||e.shiftKey)){var t=h.indexOf(document.activeElement);if(!(t<0)){if("ArrowRight"===e.key)t++;else if("ArrowLeft"===e.key)t--;else if("Home"===e.key)t=0;else{if("End"!==e.key)return;t=m.length-1}e.preventDefault(),a(t,!0)}}})),window.addEventListener("pagehide",(function(){K=!0,c()})),window.addEventListener("pageshow",(function(){K=!1,s()})),document.addEventListener("visibilitychange",(function(){document.hidden?c():s()})),S.addEventListener("change",(function(){S.matches&&u()})),document.addEventListener("homepage:motion-change",(function(){document.documentElement.classList.contains("hp-motion-paused")&&u()})),"function"==typeof window.ResizeObserver){var z=new window.ResizeObserver(s);z.observe(v),z.observe(m[0])}else window.addEventListener("resize",s,{passive:!0});l()}}}}();
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.