PageSourceSearch

https://www.theadarshengineering.com/js/crawler.js

js theadarshengineering.com collected 2026-10-07 21:40:52 UTC 6,260 bytes, 2 lines download raw bytes

1function marqueeInit(t){document.createElement&&(marqueeInit.ar.push(t),marqueeInit.run(t.uniqueid))}!function(){if(document.createElement){marqueeInit.ar=[],document.write('<style type="text/css">.marquee{white-space:nowrap;overflow:hidden;visibility:hidden;}#marq_kill_marg_bord{border:none!important;margin:0!important;}</style>');var t,e=0,i=[new RegExp("^\\s*$"),new RegExp("^\\s*"),new RegExp("\\s*$")],s={position:"relative",overflow:"hidden"},n={style:{margin:"0 auto"},direction:"left",inc:2,mouse:"pause"},h=!1;
2/*@cc_on @*/{function o(t,e){return e.toUpperCase()}t=new RegExp("-(.)","g"),String.prototype.encamel=function(){return this.replace(t,o)}}h,marqueeInit.run=function(t){document.getElementById(t)?new m(e++,document.getElementById(t)):setTimeout((function(){marqueeInit.run(t)}),300)},m.prototype.setup=function(){if(!this.mq.setup){this.mq.setup=this;var t,e=this;for("auto"===this.c.style.height&&(this.c.style.height=this.m.offsetHeight+4+"px"),this.c.appendChild(this.m.cloneNode(!0)),this.m=[this.m,this.m.nextSibling],"cursor driven"==this.mq.mouse&&(this.r=this.mq.neutral||16,this.sinc=this.mq.inc,this.c.onmousemove=function(t){e.mq.stopped=!1,e.directspeed(t)},this.mq.moveatleast?(this.mq.inc=this.mq.moveatleast,this.mq.savedirection?"reverse"==this.mq.savedirection?this.c.onmouseout=function(t){e.contains(t)||(e.mq.inc=e.mq.moveatleast,e.mq.direction="right"==e.mq.direction?"left":"right")}:(this.mq.savedirection=this.mq.direction,this.c.onmouseout=function(t){e.contains(t)||(e.mq.inc=e.mq.moveatleast,e.mq.direction=e.mq.savedirection)}):this.c.onmouseout=function(t){e.contains(t)||(e.mq.inc=e.mq.moveatleast)}):this.c.onmouseout=function(t){e.contains(t)||e.slowdeath()}),this.w=this.m[0].offsetWidth,this.m[0].style.left=0,this.c.id="marq_kill_marg_bord",this.m[0].style.top=this.m[1].style.top=Math.floor((this.c.offsetHeight-this.m[0].offsetHeight)/2-0)+"px",this.c.id="",this.c.removeAttribute("id",0),this.m[1].style.left=this.w+"px",t=this.mq.moveatleast?Math.max(this.mq.moveatleast,this.sinc):this.sinc||this.mq.inc;this.c.offsetWidth>this.w-t;)this.c.style.width=isNaN(this.cw[0])?this.w-t+"px":--this.cw[0]+this.cw[1];this.c.style.visibility="visible",this.runit()}},m.prototype.slowdeath=function(){var t=this;this.mq.inc&&(this.mq.inc-=1,this.timer=setTimeout((function(){t.slowdeath()}),100))},m.prototype.runit=function(){var t=this,e="right"==this.mq.direction?1:-1;this.mq.stopped||this.mq.stopMarquee?setTimeout((function(){t.runit()}),300):("cursor driven"!=this.mq.mouse&&(this.mq.inc=Math.max(1,this.mq.inc)),e*parseInt(this.m[0].style.left)>=this.w&&(this.m[0].style.left=parseInt(this.m[1].style.left)-e*this.w+"px"),e*parseInt(this.m[1].style.left)>=this.w&&(this.m[1].style.left=parseInt(this.m[0].style.left)-e*this.w+"px"),this.m[0].style.left=parseInt(this.m[0].style.left)+e*this.mq.inc+"px",this.m[1].style.left=parseInt(this.m[1].style.left)+e*this.mq.inc+"px",setTimeout((function(){t.runit()}),30+(this.mq.addDelay||0)))},m.prototype.directspeed=function(t){t=t||window.event,this.timer&&clearTimeout(this.timer);for(var e=this.c,i=e.offsetWidth,s=e.offsetLeft,n=("number"==typeof t.pageX?t.pageX:t.clientX+document.body.scrollLeft+document.documentElement.scrollLeft)-s,h=(i-this.r)/2,o=(i+this.r)/2;e=e.offsetParent;)n-=e.offsetLeft;this.mq.direction=n>o?"left":"right",this.mq.inc=Math.round((n>o?n-o:n<h?h-n:0)/h*this.sinc)},m.prototype.contains=function(t){if(t&&t.relatedTarget){var e=t.relatedTarget;if(e==this.c)return!0;for(;e=e.parentNode;)if(e==this.c)return!0}return!1},window.addEventListener?window.addEventListener("resize",r,!1):window.attachEvent&&window.attachEvent("onresize",r)}function m(t,e){var h,o,m,r,a,l,c,d=this;for(h in this.mq=marqueeInit.ar[t],n)(this.mq.hasOwnProperty&&!this.mq.hasOwnProperty(h)||!this.mq.hasOwnProperty&&!this.mq[h])&&(this.mq[h]=n[h]);for(this.mq.style.width=!this.mq.style.width||isNaN(parseInt(this.mq.style.width))?"100%":this.mq.style.width,e.getElementsByTagName("img")[0]?this.mq.style.height=!this.mq.style.height||isNaN(parseInt(this.mq.style.height))?"auto":this.mq.style.height:this.mq.style.height=!this.mq.style.height||isNaN(parseInt(this.mq.style.height))?e.offsetHeight+3+"px":this.mq.style.height,o=this.mq.style.width.split(/\d/),this.cw=this.mq.style.width?[parseInt(this.mq.style.width),o[o.length-1]]:["a"],c=function(t){for(var e,s=[],n=0;(e=t.firstChild)&&3==e.nodeType&&i[0].test(e.nodeValue);)t.removeChild(e);for(;(e=t.lastChild)&&3==e.nodeType&&i[0].test(e.nodeValue);)t.removeChild(e);for((e=t.firstChild)&&3==e.nodeType&&(e.nodeValue=e.nodeValue.replace(i[1],"")),(e=t.lastChild)&&3==e.nodeType&&(e.nodeValue=e.nodeValue.replace(i[2],""));e=t.firstChild;)s[n++]=t.removeChild(e);return s}(e),e.className=e.id="",e.removeAttribute("class",0),e.removeAttribute("id",0),e.appendChild(e.cloneNode(!1)),e.className=["marquee",t].join(""),e.style.overflow="hidden",this.c=e.firstChild,this.c.appendChild(this.c.cloneNode(!1)),this.c.style.visibility="hidden",l=(m=[[s,this.c.style],[this.mq.style,this.c.style]]).length-1;l>-1;--l)for(h in m[l][0])(m[l][0].hasOwnProperty&&m[l][0].hasOwnProperty(h)||!m[l][0].hasOwnProperty)&&(m[l][1][h.encamel()]=m[l][0][h]);for(this.m=this.c.firstChild,"pause"==this.mq.mouse&&(this.c.onmouseover=function(){d.mq.stopped=!0},this.c.onmouseout=function(){d.mq.stopped=!1}),this.m.style.position="absolute",this.m.style.left="-10000000px",this.m.style.whiteSpace="nowrap",this.mq.noAddedSpace||this.m.appendChild(document.createTextNode(" ")),l=0;c[l];++l)this.m.appendChild(c[l]);if((r=this.m.getElementsByTagName("img")).length)for(a=0,l=0;l<r.length;++l)r[l].style.display="inline",r[l].style.verticalAlign=r[l].style.verticalAlign||"top","boolean"==typeof r[l].complete&&r[l].complete&&!window.opera?a++:r[l].onload=function(){++a==r.length&&d.setup()},a==r.length&&this.setup();else this.setup()}function r(){for(var t,e,i=0;i<marqueeInit.ar.length;++i)if(marqueeInit.ar[i]&&marqueeInit.ar[i].setup)for(t=(e=marqueeInit.ar[i].setup).mq.moveatleast?Math.max(e.mq.moveatleast,e.sinc):e.sinc||e.mq.inc,e.c.style.width=e.mq.style.width,e.cw[0]=e.cw.length>1?parseInt(e.mq.style.width):"a";e.c.offsetWidth>e.w-t;)e.c.style.width=isNaN(e.cw[0])?e.w-t+"px":--e.cw[0]+e.cw[1]}}();

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.