PageSourceSearch

https://orby-gamma.vercel.app/scripts/orbyShellReady.js

js orby-gamma.vercel.app collected 2026-10-03 07:26:53 UTC 3,716 bytes, 1 lines download raw bytes

1(function(){var m="orby_sr_s",k="orby_sr_c",y="",v=y.length===64,u="sr";function S(){if(!document.getElementById("orby-sr-root")){var e=document.createElement("div");e.id="orby-sr-root",e.className="orby-sr",e.setAttribute("role","dialog"),e.setAttribute("aria-modal","true"),e.setAttribute("aria-labelledby","orby-sr-title"),e.innerHTML='<div class="orby-sr__panel"><h1 id="orby-sr-title" class="orby-sr__title">Orby</h1><form class="orby-sr__form" id="orby-sr-form" autocomplete="off"><label class="orby-sr__label" for="orby-sr-field"><span class="orby-sr__label-text">Continue</span></label><input id="orby-sr-field" class="orby-sr__input" type="text" name="orby-sr-field" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" /><p class="orby-sr__msg" id="orby-sr-msg" aria-live="polite"></p><button type="submit" class="orby-sr__btn accent-action-btn">Continue</button></form></div>',document.body.firstChild?document.body.insertBefore(e,document.body.firstChild):document.body.appendChild(e)}}function r(){try{return sessionStorage.getItem(m)==="1"}catch{return!1}}function x(){return["position:fixed","inset:0","z-index:2147483647","display:flex","align-items:center","justify-content:center","visibility:visible","opacity:1","background:#080808","pointer-events:auto","margin:0","padding:clamp(1rem,4vw,2rem)","box-sizing:border-box"].join(";")}function C(e){return!window.crypto||!window.crypto.subtle?Promise.resolve(""):window.crypto.subtle.digest("SHA-256",new TextEncoder().encode(e)).then(function(n){return Array.from(new Uint8Array(n)).map(function(d){return d.toString(16).padStart(2,"0")}).join("")})}S();var t=document.getElementById("orby-sr-root"),h=document.getElementById("orby-sr-form"),o=document.getElementById("orby-sr-field"),a=document.getElementById("orby-sr-msg"),i=null,s=null,c=null;function p(){!r()&&document.documentElement.classList.contains("orby-sr-on")&&document.documentElement.classList.remove("orby-sr-on")}function _(){!t||r()||(p(),document.body.contains(t)||document.body.insertBefore(t,document.body.firstChild))}function l(){r()||(_(),t&&(t.removeAttribute("hidden"),t.setAttribute("style",x())))}function g(){i&&(i.disconnect(),i=null),s&&(s.disconnect(),s=null),c&&(clearInterval(c),c=null)}function b(){document.documentElement.classList.add("orby-sr-on"),t&&(t.setAttribute("hidden",""),t.removeAttribute("style")),g()}function f(){try{sessionStorage.setItem(m,"1")}catch{}b()}function w(){a&&(a.textContent="Try again.")}function I(){try{var e=new URLSearchParams(window.location.search);return e.has(u)?(e.get(u)||"").trim():null}catch{return null}}function L(){try{var e=new URL(window.location.href);if(!e.searchParams.has(u))return;e.searchParams.delete(u);var n=e.pathname+(e.searchParams.toString()?"?"+e.searchParams.toString():"")+e.hash;window.history.replaceState(null,"",n)}catch{}}function E(e){return v?C(e).then(function(n){return n===y?(a&&(a.textContent=""),L(),f(),!0):(e!==null&&e!==""&&(w(),o&&(o.value=e)),!1)}):(f(),Promise.resolve(!0))}function A(){r()||!t||(l(),i=new MutationObserver(function(){r()||l()}),i.observe(t,{attributes:!0,attributeFilter:["class","hidden"]}),s=new MutationObserver(function(){r()||(_(),l())}),s.observe(document.body,{childList:!0}),c=setInterval(function(){if(r()){g();return}p(),l()},400))}function U(){if(typeof window<"u"&&window.__ORBY_SR_OFF__===!0){b();return}if(!v){b();return}var e=I();if(e!==null){E(e).then(function(n){n||A()});return}if(r()){f();return}A(),requestAnimationFrame(function(){o&&!r()&&o.focus()})}h&&o&&h.addEventListener("submit",function(e){if(e.preventDefault(),r()){f();return}var n=(o.value||"").trim();E(n).then(function(d){d||(w(),o.focus())})}),U()})();

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.