PageSourceSearch

https://www.usunlocked.com/wp-content/plugins/ghostkit/build/guten…/tabs/frontend.js?ver=5f81c959dde560faece8

js usunlocked.com collected 2026-10-04 09:14:28 UTC 4,455 bytes, 1 lines download raw bytes

1(()=>{"use strict";var t={2772(t,e,o){function s(t,e=[],o=t){return"function"==typeof t?t(...e):o}function r(t,e,o=!0){if(!o)return void s(t);const r=function(t){if(!t)return 0;let{transitionDuration:e,transitionDelay:o}=window.getComputedStyle(t);const s=Number.parseFloat(e),r=Number.parseFloat(o);return s||r?([e]=e.split(","),[o]=o.split(","),1e3*(Number.parseFloat(e)+Number.parseFloat(o))):0}(e)+5;let a=!1;const n=({target:o})=>{o===e&&(a=!0,e.removeEventListener("transitionend",n),s(t))};e.addEventListener("transitionend",n),setTimeout(()=>{a||e.dispatchEvent(new Event("transitionend"))},r)}o.d(e,{A:()=>r})}};const e={};function o(s){const r=e[s];if(void 0!==r)return r.exports;const a=e[s]={exports:{}};return t[s](a,a.exports,o),a.exports}o.d=(t,e)=>{if(Array.isArray(e))for(var s=0;s<e.length;){var r=e[s++],a=e[s++];o.o(t,r)?0===a&&s++:0===a?Object.defineProperty(t,r,{enumerable:!0,value:e[s++]}):Object.defineProperty(t,r,{enumerable:!0,get:a})}else for(var r in e)o.o(e,r)&&!o.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},o.o=(t,e)=>Object.hasOwn(t,e);var s=o(2772);const r={};function a(t){if(r[t])return r[t];let e={};if(Array.isArray(t)&&(e=[]),"object"==typeof t)return Object.keys(t).forEach(o=>{e[a(o)]=a(t[o])}),e;if(e=t,"string"==typeof e)try{e=decodeURIComponent(e),e=e.replace(/_u002d__u002d_/gm,"--")}catch(t){console.warn(t)}return r[t]=e,e}function n(t){return[...t.parentNode.children].filter(e=>e!==t)}const{location:i,GHOSTKIT:{events:c}}=window;let l=i.hash;const u="ArrowLeft",b="ArrowRight",g="ArrowUp",d="ArrowDown",h="Home",f="End";function k(t,e){const o=a(e);let s=t.querySelector(`:scope > .ghostkit-tabs-buttons > [data-tab="${o}"]`);return s||(s=t.querySelector(`:scope > .ghostkit-tabs-buttons > [href="#${o}"]`)),s||(s=t.querySelector(`:scope > .ghostkit-tabs-buttons > [href="${o}"]`)),s||(s=t.querySelector(`:scope > .ghostkit-tabs-buttons > [href="#tab-${o}"]`)),[s,s?t.querySelector(`:scope > .ghostkit-tabs-content > [data-tab="${o.replace(/^#/,"")}"]`):null]}function p(t,e){const[o,r]=k(t,e);if(!o||!r)return!1;c.trigger(t,"show.tab.gkt",{relatedTarget:r});const a="BUTTON"===o.nodeName;return o.classList.add("ghostkit-tabs-buttons-item-active"),a&&(o.removeAttribute("tabindex"),o.setAttribute("aria-selected",!0)),r.classList.add("ghostkit-tab-active"),(0,s.A)(()=>{c.trigger(t,"shown.tab.gkt",{relatedTarget:r})},r),n(o).forEach(t=>{t.classList.contains("ghostkit-tabs-buttons-item-active")&&(t.classList.remove("ghostkit-tabs-buttons-item-active"),a&&(t.setAttribute("aria-selected",!1),t.setAttribute("tabindex",-1)))}),n(r).forEach(e=>{e.classList.contains("ghostkit-tab-active")&&(c.trigger(t,"hide.tab.gkt",{relatedTarget:e}),e.classList.remove("ghostkit-tab-active"),(0,s.A)(()=>{c.trigger(t,"hidden.tab.gkt",{relatedTarget:e})},r))}),!0}c.on(document,"init.blocks.gkt",()=>{document.querySelectorAll(".ghostkit-tabs:not(.ghostkit-tabs-ready)").forEach(t=>{c.trigger(t,"prepare.tabs.gkt"),t.classList.add("ghostkit-tabs-ready");const e=t.querySelector(':scope > .ghostkit-tabs-buttons[role="tablist"]');e&&e.querySelectorAll(":scope > .ghostkit-tabs-buttons-item").forEach(t=>{t.classList.contains("ghostkit-tabs-buttons-item-active")||t.setAttribute("tabindex","-1")});let o=!1;l&&(o=p(t,l.replace("#","")));const s=t.getAttribute("data-tab-active");s&&(o||(o=p(t,`#${s}`)),o||(o=p(t,s))),c.trigger(t,"prepared.tabs.gkt")})}),c.on(document,"click",".ghostkit-tabs-buttons-item",t=>{t.preventDefault();const e=t.delegateTarget;p(e.closest(".ghostkit-tabs"),e.getAttribute("data-tab")||e.hash)}),c.on(document,"mouseenter",".ghostkit-tabs-buttons-trigger-hover > .ghostkit-tabs-buttons .ghostkit-tabs-buttons-item",t=>{const e=t.delegateTarget;p(e.closest(".ghostkit-tabs"),e.getAttribute("data-tab")||e.hash)}),c.on(document,"keydown",'.ghostkit-tabs-buttons[role="tablist"]',t=>{if(![u,b,g,d,h,f].includes(t.key))return;t.stopPropagation(),t.preventDefault();const e=t.delegateTarget.querySelectorAll(":scope > .ghostkit-tabs-buttons-item");let o;if([h,f].includes(t.key))o=e[t.key===h?0:e.length-1];else{const s=[b,d].includes(t.key),r=[].indexOf.call(e,t.target);o=s?e[r+1]??e[0]:e[r-1]??e[e.length-1]}o&&(o.focus({preventScroll:!0}),p(o.closest(".ghostkit-tabs"),o.getAttribute("data-tab")))}),c.on(window,"hashchange",()=>{window.location.hash!==l&&(l=window.location.hash,l&&document.querySelectorAll(".ghostkit-tabs-ready").forEach(t=>{p(t,l.replace("#",""))}))})})();

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.