1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[7415],{7819:function(t,e,s){s.r(e),s.d(e,{default:function(){return c}});var n=s(4575),i=s.n(n),o=s(3913),r=s.n(o),a=s(9713),l=s.n(a),u=s(7041),c=function(){function t(e,s){i()(this,t),l()(this,"listenerBoss",void 0),l()(this,"slider",void 0),l()(this,"containerEl",void 0),l()(this,"indexes",[]),l()(this,"buttons",void 0),this.listenerBoss=new u.Z,this.containerEl=e,this.slider=s,this.buttons=e.querySelectorAll(".svg-map__location"),this.removeLoadingIndicators(),this.determineIndexes(),this.setUpButtonListeners(),this.setUpSliderListeners(),this.updateButtonsState()}return r()(t,[{key:"removeLoadingIndicators",value:function(){var t=this.containerEl.querySelectorAll(".is-loading");t.length&&t.forEach((function(t){t.classList.remove("is-loading")}))}},{key:"determineIndexes",value:function(){this.indexes=this.slider.cells.map((function(t){return t.element.dataset.svgMapLocId}))}},{key:"setUpButtonListeners",value:function(){var t=this;this.buttons.length&&this.buttons.forEach((function(e){var s=e.dataset.svgMapLocId,n=t.indexes.indexOf(s);n>-1&&t.listenerBoss.register(e,"click",(function(){t.slider.stopPlayer(),t.slider.element.scrollIntoView({behavior:"smooth",block:"nearest",inline:"nearest"}),t.slider.selectCell(n)}))}))}},{key:"setUpSliderListeners",value:function(){var t=this;this.slider.on("change",(function(){t.updateButtonsState()}))}},{key:"updateButtonsState",value:function(){if(this.buttons.length){var t=this.slider.selectedElement.dataset.svgMapLocId;this.buttons.forEach((function(e){var s=e.dataset.svgMapLocId;e.setAttribute("aria-current",s===t?"true":"false")}))}}}]),t}()}}]);
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.