PageSourceSearch

https://www.randrcountry.com/cdn/shop/t/275/assets/locations-CiiPelSP.js

js randrcountry.com collected 2026-10-10 01:10:54 UTC 1,214 bytes, 1 lines download raw bytes

1class d extends HTMLElement{constructor(){super(),this.initTabs()}initTabs(){const a=this.querySelectorAll('[role="tab"]'),c=this.querySelector('[role="tablist"]');a.forEach(e=>{e.addEventListener("click",n.bind(this))});let t=0;c.addEventListener("keydown",e=>{(e.key==="ArrowRight"||e.key==="ArrowLeft")&&(a[t].setAttribute("tabindex",-1),e.key==="ArrowRight"?(t++,t>=a.length&&(t=0)):e.key==="ArrowLeft"&&(t--,t<0&&(t=a.length-1)),a[t].setAttribute("tabindex",0),a[t].focus())});function n(e){const l=e.target,b=l.closest('[role="tablist"]'),o=l.closest(".tab-wrapper");b.querySelectorAll('[aria-selected="true"]').forEach(r=>r.setAttribute("aria-selected",!1)),o.setAttribute("aria-selected",!0),l.getAttribute("aria-controls")=="tab-all"?this.querySelectorAll('[role="tabpanel"]').forEach(s=>{s.hidden=!1}):(this.querySelectorAll('[role="tabpanel"]').forEach(s=>s.hidden=!0),this.querySelectorAll(`#${o.getAttribute("aria-controls")}`).forEach(s=>{s.hidden=!1})),document.querySelectorAll(".media-block").forEach(r=>r.style.display="none");const i=document.querySelector(`.media-block[data-tab-image="${o.getAttribute("aria-controls")}"]`);i&&(i.style.display="")}}}customElements.define("locations-tabs",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.