PageSourceSearch

https://order.design/frontend/js/helloBar.js?id=45195c3c3dfd96d20e77

js order.design collected 2026-10-02 02:48:59 UTC 1,463 bytes, 1 lines download raw bytes

1!function(){"use strict";const e=document.querySelector(".js-helloBar"),t=document.querySelector(".js-helloBar__message"),l=document.querySelector(".js-helloBar__cta"),n=document.querySelector(".js-helloBar__close"),a=document.querySelector(".js-helloBarPadder"),o="sfl_otf_hellobar_closed",r="sfl_otf_hellobar_data";let i;function c(n){n.text&&(t.innerText=n.text),n.cta&&(l.innerHTML=n.cta),n.link&&n.link.trim().length>1&&(e.href=n.link.trim(),link_is_external(e)&&(e.target="_blank"))}function s(t){t.preventDefault(),localStorage.setItem(o,Date.now()),e.classList.add("helloBar--hide"),a.style.height=0}function h(){n&&n.addEventListener("click",s),window.addEventListener("resize",f),window.addEventListener("resize",m)}function d(e){localStorage.setItem(r,JSON.stringify(e))}function u(){return!(!i.text&&!i.cta)}function g(){e.classList.add("helloBar--ready"),f(),m(),e.addEventListener("click",(function(e){e.target.hash&&e.target.href.replace(e.target.hash,"")===window.location.origin+window.location.pathname&&(e.preventDefault(),scrollToTarget(e.target.hash))}))}function f(){e.style.height="";let t=e.clientHeight;e.style.height=t+"px"}function m(){let t=e.clientHeight;a.style.height=t+"px"}e&&async function(){let e=await fetch("/json/hellobar");var t;e.ok&&(i=await e.json(),null===localStorage.getItem(o)?(d(i),u()&&(c(i),h(),g())):(t=i,localStorage.getItem(r)!==JSON.stringify(t)&&(localStorage.removeItem(o),d(i),u()&&(c(i),h(),g()))))}()}();

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.