https://forms.thelipbar.com/w37htfhcq2/vendor/a6c17161-9ed1-4a51-8362-5e7bc9384f75/lightbox_speed.js
1var DIGIOH_LOADER = DIGIOH_LOADER || {}; 2(function (digioh_loader) { 3 if (digioh_loader.loaded) { return; } 4 digioh_loader.loaded = true; 5 digioh_loader.loads = digioh_loader.loads || {}; 6 function getPromise (doc) { 7 let ld = digioh_loader.loads; 8 if (ld[doc]) { 9 return ld[doc]; 10 } 11 let p = {}; 12 p.promise = new Promise((res, rej) => { 13 p.resolveCallback = res; 14 p.rejectCallback = rej; 15 }); 16 ld[doc] = p; 17 return p; 18 } 19 digioh_loader.getPromise = getPromise; 20 const srcPath = "//forms.thelipbar.com/w37htfhcq2/vendor/a6c17161-9ed1-4a51-8362-5e7bc9384f75/"; 21 22 function createScriptElement(src, id) { 23 var e = document.createElement('script'); 24 e.type = 'text/javascript'; 25 e.async = true; 26 e.fetchPriority = "high"; 27 e.src = src; 28 if (id) { e.id = id; } 29 var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(e, s); 30 } 31 32 function loadScript(doc, filename, cb) { 33 if (!digioh_loader.loads[doc]) { 34 getPromise(doc); 35 let src = `${srcPath}${filename}?cb=${cb}`; 36 createScriptElement(src); 37 } 38 }; 39 40 function sendPV() { 41 try { 42 window.SENT_LIGHTBOX_PV = true; 43 44 var hn = 'empty'; 45 if (window && window.location && window.location.hostname) { 46 hn = window.location.hostname; 47 } 48 49 var i = document.createElement("img"); 50 i.width = 1; 51 i.height = 1; 52 i.src = ('https://forms.thelipbar.com/w37htfhcq2/z9g/digibox.gif?c=' + (new Date().getTime()) + '&h=' + encodeURIComponent(hn) + '&e=p&u=46188'); 53 } 54 catch (e) { 55 } 56 }; 57 58 function jsonp(src, callback) { 59 const id = "__dgo" + Math.random().toString(36).replace(/^0\./, ""); 60 const prefix = src.includes("?") ? "&" : "?"; 61 src += `${prefix}callback=${id}`; 62 window[id] = (data) => { 63 document.querySelector(`#${id}`)?.remove(); 64 delete window[id]; 65 callback(data); 66 }; 67 createScriptElement(src, id); 68 } 69 70 function initApi() { 71 let c = localStorage.getItem("dgdr") || sessionStorage.getItem("dgdr"); 72 if (c) { 73 if (c.match(/^{.*"env_ver":\s?"digioh-.*}$/i)) { 74 const json = JSON.parse(c); 75 if (!json.expires || json.expires > Date.now()) { 76 return; 77 } 78 } 79 else { 80 return; 81 } 82 } 83 let p = getPromise("dgdr"); 84 let hostname = window?.location?.hostname || 'empty'; 85 let uri = `https://forms.thelipbar.com/a4flkt7l2b/z9gd/a6c17161-9ed1-4a51-8362-5e7bc9384f75/${hostname}/jsonp/z?cb=${Date.now()}`; 86 if (/^true$/.test("false")) { 87 uri += "&skip_geo=true"; 88 } 89 jsonp(uri, p.resolveCallback); 90 } 91 92 sendPV(); 93 initApi(); 94 95 const qaMode = (window.sessionStorage.getItem('xdibx_boxqamode') == 1 || window.location.href.indexOf('boxqamode') > 0); 96 if (qaMode) { 97 loadScript("user", "user_qa.js", "639216347186365199"); 98 loadScript("custom", "custom_qa.js", "D606213E27B3A55B46266F1A549BB122"); 99 loadScript("main", "main_qa.js", "3929E5E0B3663966F1BFF979F77A2C68"); 100 } 101 else { 102 loadScript("user", "user.js", "639216347186365199"); 103 loadScript("custom", "custom.js", "05853BC9A58EF1E8AFD2A8753C5DE6F3"); 104 loadScript("main", "main.js", "C90AB70723269671481AB3E6F0D44394"); 105 } 106 107})(DIGIOH_LOADER);
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.