PageSourceSearch

https://media.optibus.com/file/minifiles/js/16c4e05964d490bd.js

js optibus.com collected 2026-09-24 11:49:07 UTC 1,806 bytes, 14 lines download raw bytes

1(function(){'use strict';function text(key,fallback){var bag=(window.obA11y&&window.obA11y.strings)||{};return bag[key]||fallback}
2function nameOf(el){return(el.getAttribute('aria-label')||el.textContent||'').replace(/\s+/g,' ').trim()}
3function nameMenuToggle(){var toggles=document.querySelectorAll('.toggle_new_menu_, .open-mega-menu_, [class*="toggle_new_menu"]');for(var i=0;i<toggles.length;i++){var toggle=toggles[i];if(nameOf(toggle)){continue}
4toggle.setAttribute('aria-label',text('menu_toggle','Menu'));if('BUTTON'!==toggle.tagName&&!toggle.getAttribute('role')){toggle.setAttribute('role','button')}
5var glyph=toggle.querySelector('svg');if(glyph&&!glyph.getAttribute('aria-hidden')){glyph.setAttribute('aria-hidden','true');glyph.setAttribute('focusable','false')}}}
6function deduplicateIconLinks(){var links=document.querySelectorAll('a[href]:not(#wpadminbar a)');var namedByHref={};var i;for(i=0;i<links.length;i++){if(nameOf(links[i])){namedByHref[links[i].href]=!0}}
7for(i=0;i<links.length;i++){var link=links[i];if(nameOf(link)){continue}
8if(!namedByHref[link.href]){continue}
9link.setAttribute('aria-hidden','true');link.setAttribute('tabindex','-1')}}
10function hideIconSprite(){var sprites=document.querySelectorAll('.e-font-icon-svg-symbols:not([aria-hidden])');for(var i=0;i<sprites.length;i++){sprites[i].setAttribute('aria-hidden','true');sprites[i].setAttribute('focusable','false')}}
11function run(){nameMenuToggle();hideIconSprite();deduplicateIconLinks()}
12function init(){run();var scheduled=null;new window.MutationObserver(function(){if(scheduled){return}
13scheduled=window.setTimeout(function(){scheduled=null;run()},250)}).observe(document.body,{childList:!0,subtree:!0})}
14if('loading'===document.readyState){document.addEventListener('DOMContentLoaded',init)}else{init()}})()

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.