PageSourceSearch

https://www.kslt.com/wp-content/plugins/statik-blocks/blocks/stati…/build/view.js?ver=04964df28dba16f088fa

js kslt.com collected 2026-09-24 13:19:11 UTC 2,106 bytes, 1 lines download raw bytes

1var StatikTabsBlock;!function(){"use strict";var t={d:function(e,s){for(var n in s)t.o(s,n)&&!t.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:s[n]})},o:function(t,e){return Object.prototype.hasOwnProperty.call(t,e)}},e={};function s(t){let{attributes:e}=t;document.addEventListener("DOMContentLoaded",(()=>{new n(document.querySelector(`.wp-block-${e.blockId}`)).init()}))}t.d(e,{default:function(){return s}});class n{constructor(t){this.element=t,this.navList=t.querySelector(".wp-block-statik-tabs__nav-list"),this.items=[...this.navList.querySelectorAll(".wp-block-statik-tabs__nav-list-item")].map((t=>new i(t,this)))}init(){this.registerItemsEffects()}closeOpenedItem(){this.openedItem.toggle()}openNextItem(){this.openedIndex<this.items.length-1&&this.openItem(this.openedIndex+1)}openPreviousItem(){this.openedIndex>0&&this.openItem(this.openedIndex-1)}openItem(t){this.items[this.openedIndex].toggle(),this.items[t].toggle()}get openedIndex(){return this.items.findIndex((t=>t.isOpen))}get openedItem(){return this.items.find((t=>t.isOpen))}registerItemsEffects(){this.items.forEach((t=>t.registerEffects()))}}class i{constructor(t,e){this.parent=e,this.element=t,this.navButton=t.querySelector(".wp-block-statik-tabs__nav-item"),this.contentWrapper=e.element.querySelector(`#${this.navButton.getAttribute("aria-controls")}`)}registerEffects(){this.element.addEventListener("click",(()=>{this.parent.closeOpenedItem(),this.toggle()})),this.navButton.addEventListener("keydown",(t=>{const e=t.which.toString();"37"===e&&(t.preventDefault(),this.parent.openPreviousItem()),"39"===e&&(t.preventDefault(),this.parent.openNextItem())}))}toggle(){this.contentWrapper.classList.toggle("wp-block-statik-tab--selected"),this.element.classList.toggle("wp-block-statik-tabs__nav-list-item--selected"),this.isOpen?(this.navButton.setAttribute("aria-selected",!1),this.navButton.setAttribute("tabindex",-1)):(this.navButton.setAttribute("aria-selected",!0),this.navButton.setAttribute("tabindex",0))}get isOpen(){return"true"===this.navButton.getAttribute("aria-selected")}}StatikTabsBlock=e.default}();

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.