1"use strict";(self.webpackChunkdigitas_design=self.webpackChunkdigitas_design||[]).push([[1977],{45038:(e,t,s)=>{s.r(t),s.d(t,{default:()=>i});class i{constructor(e){this.navigationItems=[],this.btnViewAll=[],this.videoExplorerListGroup=[],this.attachEvents=()=>{this.navigationItems.forEach((e=>{e.addEventListener("click",(e=>{this.handleclickNavigationItem(e)}))})),this.btnViewAll.forEach((e=>{e.addEventListener("click",(e=>{this.handleClickViewAll(e)}))}))},this.handleclickNavigationItem=e=>{ELECTROLUX.scrollToView(this.stickyElement,500,(()=>{}),this.stickyElementHeight),this.navigationItems.forEach((e=>{e.classList.contains("active")&&e.classList.remove("active")})),e.target.classList.add("active");const t=e.target.dataset.searchVideo,s=e.target.dataset.showAll;t===s?this.videoExplorerListGroup.forEach((e=>{let t=this.numberItemShowFirst,s=0,i=0;e.querySelectorAll(".js_video-explorer__list-item").forEach((e=>{t>0?(e.classList.remove("d-none"),e.classList.add("d-block"),t--,i++):(e.classList.remove("d-block"),e.classList.add("d-none"),e.classList.add("js_show-all")),s++})),this.checkShowHideBtnViewAll(e,s),this.checkShowHideTitleGroupItem(e,i)})):this.videoExplorerListGroup.forEach((e=>{let s=this.numberItemShowFirst,i=0,l=0;e.querySelectorAll(".js_video-explorer__list-item").forEach((e=>{e.dataset.videoCategory.split("; ").includes(t)?(s>0?(e.classList.remove("d-none"),e.classList.remove("js_show-all"),e.classList.add("d-block"),l++,s--):(e.classList.remove("d-block"),e.classList.add("d-none"),e.classList.add("js_show-all")),i++):(e.classList.remove("d-block"),e.classList.remove("js_show-all"),e.classList.add("d-none"))})),this.checkShowHideBtnViewAll(e,i),this.checkShowHideTitleGroupItem(e,l)}))},this.handleScroll=(e=!1)=>{this.stickyElement&&(this.stickyElement.style.top=e?"0px":`${ELECTROLUX.headerHeight}px`)},this.checkShowHideBtnViewAll=(e,t)=>{const s=e.querySelector(".js_video-explorer__view-all");t>this.numberItemShowFirst?(s.classList.remove("d-none"),s.classList.add("d-block")):(s.classList.add("d-none"),s.classList.remove("d-block"))},this.checkShowHideTitleGroupItem=(e,t)=>{0===t?(e.classList.remove("d-block"),e.classList.add("d-none")):(e.classList.add("d-block"),e.classList.remove("d-none"))},this.handleClickViewAll=e=>{e.target.closest(".js_video-explorer__list-group").querySelectorAll(".js_show-all").forEach((e=>{e.classList.remove("d-none"),e.classList.remove("js_show-all")})),e.target.classList.remove("d-block"),e.target.classList.add("d-none")},this.element=e,this.navigationItems=Array.from(this.element.querySelectorAll(".js-sticky-navigation__item")),this.videoExplorerListGroup=Array.from(this.element.querySelectorAll(".js_video-explorer__list-group")),this.stickyElement=this.element.querySelector(".sticky-navigation"),this.stickyElementHeight=0|this.stickyElement?.getBoundingClientRect().height,this.videoExplorerMenu=this.element.querySelector(".js_video-explorer__tabs-menu"),this.btnViewAll=Array.from(this.element.querySelectorAll(".js_video-explorer__view-all")),this.videoExplorerMenuContent=this.element.querySelector(".js-video-explorer__tabs-menu-content"),this.numberItemShowFirst=Number(this.element.dataset.showFirst)||6,this.inits()}inits(){this.attachEvents(),ELECTROLUX.isDesktop?this.handleScroll(!1):ELECTROLUX.scrollHandlersForStickyElements.push(this.handleScroll),ELECTROLUX.scrollToView(this.stickyElement,500,(()=>{}),this.stickyElementHeight)}}}}]);
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.