1/*! stadstheater-zoetermeer 2026-07-23 */ 2"use strict";function _createForOfIteratorHelper(e,t){var r,o="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!o){if(Array.isArray(e)||(o=_unsupportedIterableToArray(e))||t&&e&&"number"==typeof e.length)return o&&(e=o),r=0,{s:t=function(){},n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:t};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,l=!0,i=!1;return{s:function(){o=o.call(e)},n:function(){var e=o.next();return l=e.done,e},e:function(e){i=!0,n=e},f:function(){try{l||null==o.return||o.return()}finally{if(i)throw n}}}}function _toConsumableArray(e){return _arrayWithoutHoles(e)||_iterableToArray(e)||_unsupportedIterableToArray(e)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Map"===(r="Object"===r&&e.constructor?e.constructor.name:r)||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_arrayLikeToArray(e,t):void 0}}function _iterableToArray(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function _arrayWithoutHoles(e){if(Array.isArray(e))return _arrayLikeToArray(e)}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=new Array(t);r<t;r++)o[r]=e[r];return o}var showBanner,hideBanner,data,shareUrl,copyToClipboard,_homeDesktopItems$,_homeMobileItems$,homeDesktopItemsWrapper,homeMobileItemsWrapper,homeDesktopItems,homeMobileItems,_slider,flkty,updateNavItems,handleNavClicks,interactiveAccordions=function(){var o=_toConsumableArray(document.querySelectorAll(".accordion")),n=_toConsumableArray(document.querySelectorAll(".accordion__inner")),l=(o.forEach(function(r){r.addEventListener("click",function(e){var t;r.classList.contains("--clickable-inside")&&r.firstChild!==e.target.parentElement&&r.firstChild!==e.target||(n.forEach(function(e){e.style.maxHeight="0px"}),r.classList.contains("active")?r.classList.remove("active"):(o.forEach(function(e){e.classList.remove("active")}),r.classList.add("active")),e=r.querySelector(".accordion__inner"),t=r.querySelector(".accordion__content"),e&&t&&(t=t.getBoundingClientRect().height,0<e.getBoundingClientRect().height?e.style.maxHeight="0px":e.style.maxHeight="".concat(t,"px")))})}),_toConsumableArray(document.querySelectorAll(".list--accordion"))),i=_toConsumableArray(document.querySelectorAll(".list__inner"));l.forEach(function(r){r.addEventListener("click",function(){i.forEach(function(e){e.style.maxHeight="0px"}),r.classList.contains("active")?r.classList.remove("active"):(l.forEach(function(e){e.classList.remove("active")}),r.classList.add("active"));var e=r.querySelector(".list__inner"),t=r.querySelector(".list__items");e&&t&&(t=t.getBoundingClientRect().height,1<e.getBoundingClientRect().height?e.style.maxHeight="1px":e.style.maxHeight="".concat(t,"px"))})})},banner=(window.addEventListener("makeAccordionsInteractive",interactiveAccordions),interactiveAccordions(),document.querySelector(".banner")),bannerSearchBar=document.querySelector(".search-bar"),bannerHeader=document.querySelector(".header"),bannerClose=document.querySelector(".banner__close"),copyButton=("active"===(null==banner?void 0:banner.dataset.banner)&&(showBanner=function(){banner.classList.add("visible"),null!=bannerHeader&&bannerHeader.classList.add("shift"),null!=bannerSearchBar&&bannerSearchBar.classList.add("shift"),document.body.classList.add("shift"),document.querySelectorAll(".event-hero__controls").forEach(function(e){e.classList.add("event-hero__controls--banner-active")})},hideBanner=function(){banner.classList.remove("visible"),null!=bannerHeader&&bannerHeader.classList.remove("shift"),null!=bannerSearchBar&&bannerSearchBar.classList.remove("shift"),document.body.classList.remove("shift"),document.querySelectorAll(".event-hero__controls").forEach(function(e){e.classList.contains("event-hero__controls--banner-active")&&e.classList.remove("event-hero__controls--banner-active")})},sessionStorage.getItem("banner")||(sessionStorage.setItem("banner","visible"),showBanner()),"visible"===(data=sessionStorage.getItem("banner"))&&showBanner(),null!=bannerClose&&bannerClose.addEventListener("click",function(){sessionStorage.setItem("banner","hidden"),hideBanner()})),document.querySelector(".share__copy-button")),copyTooltip=document.querySelector(".share__copy-tooltip"),embedWrappers=(copyButton&&(shareUrl=copyButton.dataset.shareUrl||window.location.href,copyToClipboard=function(){navigator.clipboard.writeText(shareUrl),null!=copyTooltip&©Tooltip.classList.add("active"),setTimeout(function(){null!=copyTooltip&©Tooltip.classList.remove("active")},1500)},copyButton.addEventListener("click",function(){window.matchMedia("(max-width: 768px)").matches&&"function"==typeof navigator.share?navigator.share({url:shareUrl}).catch(function(e){e&&"AbortError"===e.name||copyToClipboard()}):copyToClipboard()})),document.querySelectorAll(".video-embed")),homeHero=(embedWrappers.forEac
2h(function(e,t){var r=e.dataset.url;if(r){if(r.includes("youtube")||r.includes("youtu"))o="https://www.youtube.com/embed/";else{if(!r.includes("vimeo"))return;o="https://player.vimeo.com/video/"}var r=r.split("/"),r=r[r.length-1].split("?v="),r=r[r.length-1].split("&")[0],o=e.classList.contains("video-embed--autoplay")?"".concat(o).concat(r).concat("?autoplay=1&loop=1&muted=1&autopause=0&controls=0"):"".concat(o).concat(r).concat("?showinfo=0&autopause=0&controls=1"),r=document.createElement("iframe");r.id="video-embed-".concat(t),r.src=o,r.width="100%",r.height="100%",r.frameBorder="0",r.allow="autoplay; fullscreen; picture-in-picture",r.allowFullscreen=!0,e.appendChild(r)}}),document.querySelector(".home-hero")),galleryControls=(homeHero&&(homeDesktopItemsWrapper=document.querySelector(".home-hero__items--desktop"),homeMobileItemsWrapper=document.querySelector(".home-hero__items--mobile"),homeDesktopItems=homeDesktopItemsWrapper.querySelectorAll(".home-hero__item"),homeMobileItems=homeMobileItemsWrapper.querySelectorAll(".home-hero__item"),_slider=document.querySelector(".home-hero__backgrounds"),flkty=new Flickity(_slider,{fade:!0,cellAlign:"center",contain:!0,wrapAround:!1,prevNextButtons:!1,pageDots:!1,draggable:!1,autoPlay:9e3,pauseAutoPlayOnHover:!1}),updateNavItems=function(t,r){var e;t.forEach(function(e){e.classList.remove("current")}),null!=(e=t[r])&&e.classList.add("current"),0===r&&(t.forEach(function(e){e.classList.remove("current"),e.classList.remove("finished")}),setTimeout(function(){var e;null!=(e=t[r])&&e.classList.add("current")},10))},flkty.on("change",function(e){updateNavItems(homeDesktopItems,e),updateNavItems(homeMobileItems,e),setTimeout(function(){var e;null!=(e=document.querySelector(".home-hero__background.is-selected"))&&e.classList.add("visible")},200),setTimeout(function(){document.querySelectorAll(".home-hero__background").forEach(function(e){e.classList.contains("is-selected")||e.classList.remove("visible")})},1e3)}),flkty.on("select",function(e){flkty.stopPlayer(),flkty.playPlayer()}),null!=(_homeDesktopItems$=homeDesktopItems[0])&&_homeDesktopItems$.classList.add("current"),null!=(_homeMobileItems$=homeMobileItems[0])&&_homeMobileItems$.classList.add("current"),(handleNavClicks=function(t){t.forEach(function(e,r){e.addEventListener("click",function(){e.classList.contains("current")||(flkty.select(r),t.forEach(function(e){var t=parseInt(e.dataset.slideIndex,10);isNaN(t)||(e.classList.remove("current","finished"),t<r?e.classList.add("finished"):t===r&&setTimeout(function(){return e.classList.add("current")},100))}))})})})(homeDesktopItems),handleNavClicks(homeMobileItems)),_toConsumableArray(document.querySelectorAll(".image-gallery__control"))),galleryPrevious=document.querySelector(".image-gallery__previous"),galleryNext=document.querySelector(".image-gallery__next"),galleryProgressDots=_toConsumableArray(document.querySelectorAll(".image-gallery__progress-dot")),galleryAllImages=_toConsumableArray(document.querySelectorAll(".image-gallery__item")),galleryCounter=0,galleryDirection="",galleryCheckControls=function(){0===galleryCounter?null!=galleryPrevious&&galleryPrevious.classList.add("hidden"):null!=galleryPrevious&&galleryPrevious.classList.remove("hidden"),galleryCounter===galleryAllImages.length-1?null!=galleryNext&&galleryNext.classList.add("hidden"):null!=galleryNext&&galleryNext.classList.remove("hidden")},galleryUpdateProgress=function(){var e;"previous"===galleryDirection?null!=(e=galleryProgressDots[galleryCounter+1])&&e.classList.remove("active"):null!=(e=galleryProgressDots[galleryCounter-1])&&e.classList.remove("active"),null!=(e=galleryProgressDots[galleryCounter])&&e.classList.add("active")},updateMenuItems=(galleryControls.forEach(function(t){t.addEventListener("click",function(){var e;"previous"===t.dataset.direction?(galleryDirection="previous",0!==galleryCounter&&(null!=(e=galleryAllImages[galleryCounter])&&e.classList.remove("active"),null!=(e=galleryAllImages[galleryCounter])&&e.classList.add("next"),null!=(e=galleryAllImages[--galleryCounter])&&e.classList.remove("previous"),null!=(e=galleryAllImages[galleryCounter])&&e.classList.add("active"),galleryCheckControls(),galleryUpdateProgress())):(galleryDirection="next",galleryCounter!==galleryAllImages.length-1&&(null!=(e=galleryAllImages[galleryCounter])&&e.classList.remove("active"),null!=(e=galleryAllImages[galleryCounter])&&e.classList.add("previous"),null!=(e=galleryAllImages[++galleryCounter])&&e.classList.remove("next"),null!=(e=galleryAllImages[galleryCounter])&&e.classList.add("active"),galleryCheckControls(),galleryUpdateProgress()))})}
2),function(){var e,t=document.querySelector(".stz_cart_button"),t=(!t||(t=t.querySelector("a"))&&(t.href=window.profile_url,window.user_data&&(window.cart_data&&0<window.cart_data.items.length?t.href="https://tickets.stadstheater.nl/nl/buyingflow/order/":t.href="/winkelwagen/")),document.querySelectorAll(".stz_menu_account_button")),r=!1;0<t.length&&((t=t[0].querySelector("a"))&&(t.href=window.profile_url,null===window.user_data&&(r=!0,(e=t.querySelector(".menu-item__title"))&&(e.textContent="Inloggen")),(e=t.children[0])&&(e.outerHTML=r?'<svg width="24px" height="24px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" stroke="#ffffff">\n <g id="SVGRepo_bgCarrier" stroke-width="0"/>\n <g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"/>\n <g id="SVGRepo_iconCarrier"> \n <path d="M15 4H18C19.1046 4 20 4.89543 20 6L20 18C20 19.1046 19.1046 20 18 20H15M11 16L15 12M15 12L11 8M15 12H3" stroke="#ffffff" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/> \n </g>\n </svg>':'<svg width="24px" height="24px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n <g id="SVGRepo_bgCarrier" stroke-width="0"/>\n <g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"/>\n <g id="SVGRepo_iconCarrier"> \n <path d="M16 15H8C5.79086 15 4 16.7909 4 19V21H20V19C20 16.7909 18.2091 15 16 15Z" stroke="#ffffff" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/> \n <path d="M12 11C14.2091 11 16 9.20914 16 7C16 4.79086 14.2091 3 12 3C9.79086 3 8 4.79086 8 7C8 9.20914 9.79086 11 12 11Z" stroke="#ffffff" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/> \n </g>\n </svg>')))}),header=(setTimeout(function(){updateMenuItems()},1500),window.addEventListener("updateMenuItems",function(){updateMenuItems()}),document.querySelector(".header")),menuButton=document.querySelector(".menu__button"),menuClose=document.querySelector(".submenu__close"),submenu=document.querySelector(".submenu"),menuSearchButton=(null!=menuButton&&menuButton.addEventListener("click",function(){null!=submenu&&submenu.classList.add("active"),document.body.classList.add("submenu-active")}),null!=menuClose&&menuClose.addEventListener("click",function(){null!=submenu&&submenu.classList.remove("active"),document.body.classList.remove("submenu-active")}),document.querySelector(".menu-item__search")),searchBar=document.querySelector(".search-bar"),searchBarInput=document.querySelector(".search-bar__input"),toggleSearch=function(){null!=menuSearchButton&&menuSearchButton.classList.toggle("active"),(null==searchBar?void 0:searchBar.classList.toggle("active"))&&null!=searchBarInput&&searchBarInput.focus()},contactButton=(null!=menuSearchButton&&menuSearchButton.addEventListener("click",toggleSearch),document.addEventListener("keydown",function(e){(e.ctrlKey||e.metaKey)&&"e"===e.key.toLowerCase()&&(e.preventDefault(),toggleSearch()),"Escape"===e.key&&null!=searchBar&&searchBar.classList.contains("active")&&toggleSearch()}),document.querySelector(".contact__button")),contactSubmenu=document.querySelector(".contact__submenu"),contactClose=document.querySelector(".contact__close");function handleNewsletterSubscribe(e){e.preventDefault();var t,e=new FormData(e.target),r=Object.fromEntries(e.entries()),o="",n=_createForOfIteratorHelper(e.entries());try{for(n.s();!(t=n.n()).done;){var l=t.value;l[0].startsWith("column_ids")&&(""!==o&&(o+=";"),o+=l[1])}}catch(e){n.e(e)}finally{n.f()}""===o?alert("Selecteer minstens één rubriek."):(r.column_ids=o,delete r["column_ids[]"],fetch("/wp-json/mailing-lijst-api/v1/subscribe",{method:"post",headers:{"Content-Type":"application/json"},body:JSON.stringify(r)}).then(function(e){e.ok?window.location.href="/bedankt-nieuwsbriefinschrijving/":alert("Er is iets fout gegaan. Probeer het later nog eens. Blijft u problemen ervaren, neem dan contact op met ons per e-mail.")}))}contactSubmenu&&(null!=contactButton&&contactButton.addEventListener("click",function(){contactSubmenu.classList.add("active")}),null!=contactClose&&contactClose.addEventListener("click",function(){contactSubmenu.classList.remove("active")}));var newsletterEmail,newsletterFirstName,closeBtn,copyBtn,tag,firstScriptTag,youtubePlayer,onYouTubeIframeAPIReady,muteFunction,playVideo,onPlayerStateChange,onPlayerReady,_tag,_firstScriptTag,vimeoPlayer,newsletterForm=document.querySelector("#newsletter-form"),openOrderPopout=(newsletterForm&&(newsletterForm.addEventListener("submit",handleNewsletterSubscribe),newsletterEmail=document.querySelector("#newsletter-email"),newsletterFirstName=document.querySelector("#newsletter-first_name"),(newsletterEmail.value?newsletterFirstName:newsletterEmail).focus()),function(e){e.preventDefault();var r=e.currentTarget,e=document.querySelector("template[order-popout]");if(!e)throw new Error("No template found for order popout, make sure to include snippets/order-popout.twig somewhere on the page");function o(){var e=r.getBoundingClientRect(),t=Math.min(e.left+window.scrollX-(orderPopoutWidth-e.width)/2,document.documentElement.clientWidth-orderPopoutWidth-10);c&&window.innerWidth<600?(n.classList.add("order-popout--above"),Object.assign(n.style,{top:e.top-e.height-orderPopoutHeight+(s?0:window.scrollY)+20+"px",left:t+"px"})):(n.classList.remove("order-popout--above"),Object.assign(n.style,{top:e.top+e.height+(s?0:window.scrollY)+20+"px",left:t+"px"})),l.style.left=e.left-t+e.width/2+"px"}var n=e.content.firstElementChild.cloneNode(!0),e=n.querySelector("form"),t=n.querySelector("input"),l=n.querySelector(".order-popout__arrow"),i=n.querySelector(".number-input__increase-button"),a=n.querySelector(".number-input__decrease-button"),s=r.hasAttribute("order-popout-fixed"),c=r.hasAttribute("order-popout-above-on-mobile"),u=(o(),window.addEventListener("resize",o),s&&(n.style.position="fixed"),i.addEventListener("click",function(e){e.preventDefault(),t.value++}),a.addEventListener("click",function(e){e.preventDefault(),1<t.value&&t.value--}),e.addEventListener("submit",function(e){e.preventDefault(),window.location.href="".concat(r.getAttribute("order-popout-url"),"?s=").concat(Math.max(t.value,1))}),!1);document.addEventListener("click",function e(t){u&&!n.contains(t.target)&&(window.removeEventListener("resize",o),document.removeEventListener("click",e),n.remove()),u=!0}),document.body.appendChild(n)}),popup=document.querySelector(".pop-up"),slider=(popup&&(closeBtn=document.querySelector(".pop-up__close-btn"),copyBtn=document.querySelector(".pop-up__copy-btn"),setTimeout(function(){popup.classList.add("pop-up--active")},2500),closeBtn.addEventListener("click",function(){popup.classList.remove("pop-up--active")}),copyBtn.addEventListener("click",function(){var e=document.querySelector(".pop-up__discount-code"),t=document.querySelector(".pop-up__tooltip");e.select(),e.setSelectionRange(0,99999),navigator.clipboard.writeText(e.value),t.classList.add("pop-up__tooltip--active"),t.innerHTML="Gekopieerd naar klembord",setTimeout(function(){t.classList.remove("pop-up__tooltip--active")},2500)})),document.querySelector(".review-slider")),scrollButton=(slider&&new Glide(slider,{type:"slider",perView:1,dragThreshold:!1,breakpoints:{}}).mount(),document.querySelector(".scroll-button")),showSliders=(scrollButton&&scrollButton.addEventListener("click",function(){window.scroll({top:window.innerHeight/1.5,left:0,behavior:"smooth"})}),_toConsumableArray(document.querySelectorAll(".slider--shows"))),filteredShowSliders=(0<showSliders.length&&showSliders.forEac
2h(function(e){tns({container:e.querySelector(".slider__items"),items:1,slideBy:1,loop:!1,fixedWidth:216,controlsContainer:e.querySelector(".slider__controls"),prevButton:e.querySelector(".controls__previous"),nextButton:e.querySelector(".controls__next"),nav:!1,responsive:{600:{fixedWidth:328},700:{items:2,slideBy:2},1e3:{items:3,slideBy:3},1400:{items:4,slideBy:4},1600:{items:5,slideBy:5}}})}),_toConsumableArray(document.querySelectorAll(".slider--showsFiltered"))),customSliders=(0<filteredShowSliders.length&&filteredShowSliders.forEach(function(e){tns({container:e.querySelector(".slider__items"),items:1,slideBy:1,loop:!1,fixedWidth:216,controlsContainer:e.querySelector(".slider__controls"),prevButton:e.querySelector(".controls__previous"),nextButton:e.querySelector(".controls__next"),nav:!1,responsive:{600:{fixedWidth:328},700:{items:2,slideBy:2},1e3:{items:3,slideBy:3},1400:{items:4,slideBy:4},1600:{items:5,slideBy:5}}})}),_toConsumableArray(document.querySelectorAll(".slider--custom"))),filmSliders=(0<customSliders.length&&customSliders.forEach(function(e){tns({container:e.querySelector(".slider__items"),items:1,slideBy:1,loop:!1,fixedWidth:216,controlsContainer:e.querySelector(".slider__controls"),prevButton:e.querySelector(".controls__previous"),nextButton:e.querySelector(".controls__next"),nav:!1,responsive:{600:{fixedWidth:328},700:{items:2,slideBy:2},1e3:{items:3,slideBy:3},1400:{items:4,slideBy:4},1600:{items:5,slideBy:5}}})}),_toConsumableArray(document.querySelectorAll(".slider--films"))),themeSliders=(0<filmSliders.length&&filmSliders.forEach(function(e){tns({container:e.querySelector(".slider__items"),items:1,slideBy:1,loop:!1,fixedWidth:164,controlsContainer:e.querySelector(".slider__controls"),prevButton:e.querySelector(".controls__previous"),nextButton:e.querySelector(".controls__next"),nav:!1,responsive:{450:{items:2,slideBy:2},600:{fixedWidth:216},800:{items:3,slideBy:3},1100:{items:4,slideBy:4},1300:{items:5,slideBy:5},1500:{items:6,slideBy:6},1700:{items:7,slideBy:7}}})}),_toConsumableArray(document.querySelectorAll(".slider--themes"))),newsSliders=(0<themeSliders.length&&themeSliders.forEach(function(e){tns({container:e.querySelector(".slider__items"),items:1,slideBy:1,loop:!1,fixedWidth:248,controlsContainer:e.querySelector(".slider__controls"),prevButton:e.querySelector(".controls__previous"),nextButton:e.querySelector(".controls__next"),nav:!1,responsive:{600:{fixedWidth:397},850:{items:2,slideBy:2},1300:{items:3,slideBy:3},1700:{items:4,slideBy:4}}})}),_toConsumableArray(document.querySelectorAll(".slider--news"))),relatedShowsSlider=(0<newsSliders.length&&newsSliders.forEach(function(e){tns({container:e.querySelector(".slider__items"),items:1,slideBy:1,loop:!1,fixedWidth:248,controlsContainer:e.querySelector(".slider__controls"),prevButton:e.querySelector(".controls__previous"),nextButton:e.querySelector(".controls__next"),nav:!1,responsive:{600:{fixedWidth:397},750:{items:2,slideBy:2},1300:{items:3,slideBy:3},1700:{items:4,slideBy:4}}})}),_toConsumableArray(document.querySelectorAll(".slider--related"))),updateTicketsIndicator=(0<relatedShowsSlider.length&&relatedShowsSlider.forEach(function(e){tns({container:e.querySelector(".slider__items"),items:1,slideBy:1,loop:!1,fixedWidth:208,controlsContainer:e.querySelector(".slider__controls"),prevButton:e.querySelector(".controls__previous"),nextButton:e.querySelector(".controls__next"),nav:!1,responsive:{600:{fixedWidth:320}}})}),function(){var e,t,r=window.cart_data,o=document.querySelector("#cart-tickets-indicator");o&&(r&&0<r.items.length?(o.style.display="flex",e=o.cloneNode(!0),t=o.parentElement,o.remove(),e.innerHTML=r.items.length,t.appendChild(e)):o.remove())}),youtubeIframe=(setTimeout(function(){return updateTicketsIndicator()},1500),window.addEventListener("updateTicketsIndicator",updateTicketsIndicator),document.getElementById("youtube-header-video")),vimeoHeaderVideo=document.getElementById("vimeo-header-video"),muteButtons=document.querySelectorAll(".mute-button");(youtubeIframe||vimeoHeaderVideo)&&muteButtons.length&&(muteFunction=function(){return!1}
2,youtubeIframe&&((tag=document.createElement("script")).src="https://www.youtube.com/iframe_api",(firstScriptTag=document.getElementsByTagName("script")[0]).parentNode.insertBefore(tag,firstScriptTag),muteFunction=function(e){youtubePlayer.isMuted()?youtubePlayer.unMute():youtubePlayer.mute(),muteButtons.forEach(function(e){setActive(e,youtubePlayer.isMuted())})},playVideo=function e(){youtubePlayer.playVideo(),1!==youtubePlayer.getPlayerState()&&3!==youtubePlayer.getPlayerState()||document.removeEventListener("click",e)},onPlayerStateChange=function(e){1===e.data&&document.removeEventListener("click",playVideo)},onPlayerReady=function(){1!==youtubePlayer.getPlayerState()&&3!==youtubePlayer.getPlayerState()&&document.addEventListener("click",playVideo)},window.onYouTubeIframeAPIReady=onYouTubeIframeAPIReady=function(){youtubePlayer=new YT.Player("youtube-header-video",{events:{onReady:onPlayerReady,onStateChange:onPlayerStateChange}})}),vimeoHeaderVideo&&((_tag=document.createElement("script")).src="https://player.vimeo.com/api/player.js",(_firstScriptTag=document.getElementsByTagName("script")[0]).parentNode.insertBefore(_tag,_firstScriptTag),_tag.onload=function(){vimeoPlayer=new Vimeo.Player(vimeoHeaderVideo);function t(){vimeoPlayer.play(),vimeoPlayer.getPaused().then(function(e){e||document.removeEventListener("click",t)})}vimeoPlayer.getPaused().then(function(e){e&&document.addEventListener("click",t)})},muteFunction=function(e){vimeoPlayer&&vimeoPlayer.getMuted().then(function(e){return 1===e?vimeoPlayer.setMuted(0):vimeoPlayer.setMuted(1)}).then(function(t){muteButtons.forEach(function(e){setActive(e,!t)})})}),muteButtons.forEach(function(e){e.classList.remove("mute-button--hidden"),e.addEventListener("click",muteFunction)}));
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.