PageSourceSearch

https://www.uniandes.edu.co/investigacioncreacion/storybook/dist/j…/02-molecules/tabs/tab-line.js?tlfir7

js uniandes.edu.co collected 2026-09-24 08:32:41 UTC 1,300 bytes, 1 lines download raw bytes

1Drupal.behaviors.tabLine={attach:function(t){var e=t.querySelector(".tabs-container__scroll-wrapper"),a=t.querySelector(".tabs-button--left"),l=t.querySelector(".tabs-button--right"),r="projectsTabsActive",i=t.querySelectorAll('.tabs-container__tab-line .tab[data-show-tab="true"]'),n=t.querySelectorAll(".filter-tab[data-tab]");if(i.length&&n.length){i.forEach(function(e){e.addEventListener("click",function(e){e.preventDefault();var a=this.id;localStorage.setItem(r,a),n.forEach(function(t){t.style.display="none"});var l=t.querySelector('.filter-tab[data-tab="'+a+'"]');l&&(l.style.display=""),i.forEach(function(t){return t.classList.remove("tab--active")}),this.classList.add("tab--active")})});var o=localStorage.getItem(r),c=o?t.querySelector(".tabs-container__tab-line .tab#"+o):i[0];c&&c.click()}if(e&&a&&l){var s=function(){var t=e.scrollWidth>e.clientWidth;a.style.display=t?"flex":"none",l.style.display=t?"flex":"none"},d=function(){var t=0===e.scrollLeft,r=e.scrollWidth-e.clientWidth<=e.scrollLeft;a.disabled=t,l.disabled=r};l.addEventListener("click",function(){e.scrollBy({left:200,behavior:"smooth"})}),a.addEventListener("click",function(){e.scrollBy({left:-200,behavior:"smooth"})}),e.addEventListener("scroll",d),s(),d(),window.addEventListener("resize",function(){s(),d()})}}};

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.