PageSourceSearch

https://static.tfmetalsreport.com/js/js_M7xi4icOF1E2dSr4im7FifZk2h4tfR-rBg2ECXrt3IU.js

js tfmetalsreport.com collected 2026-10-02 07:10:35 UTC 12,400 bytes, 22 lines download raw bytes

1(function(t,a,v){var z={html:!1,photo:!1,iframe:!1,inline:!1,transition:'elastic',speed:300,fadeOut:300,width:!1,initialWidth:'600',innerWidth:!1,maxWidth:!1,height:!1,initialHeight:'450',innerHeight:!1,maxHeight:!1,scalePhotos:!0,scrolling:!0,opacity:0.9,preloading:!0,className:!1,overlayClose:!0,escKey:!0,arrowKey:!0,top:!1,bottom:!1,left:!1,right:!1,fixed:!1,data:undefined,closeButton:!0,fastIframe:!0,open:!1,reposition:!0,loop:!0,slideshow:!1,slideshowAuto:!0,slideshowSpeed:2500,slideshowStart:'start slideshow',slideshowStop:'stop slideshow',photoRegex:/\.(gif|png|jp(e|g|eg)|bmp|ico|webp|jxr|svg)((#|\?).*)?$/i,retinaImage:!1,retinaUrl:!1,retinaSuffix:'@2x.$1',current:'image {current} of {total}',previous:'previous',next:'next',close:'close',xhrError:'This content failed to load.',imgError:'This image failed to load.',returnFocus:!0,trapFocus:!0,onOpen:!1,onLoad:!1,onComplete:!1,onCleanup:!1,onClosed:!1,rel:function(){return this.rel},href:function(){return t(this).attr('href')},title:function(){return this.title},createImg:function(){var e=new Image(),i=t(this).data('cbox-img-attrs');if(typeof i==='object'){t.each(i,function(t,i){e[t]=i})};return e},createIframe:function(){var e=a.createElement('iframe'),i=t(this).data('cbox-iframe-attrs');if(typeof i==='object'){t.each(i,function(t,i){e[t]=i})};if('frameBorder' in e){e.frameBorder=0};if('allowTransparency' in e){e.allowTransparency='true'};e.name=(new Date()).getTime();e.allowFullscreen=!0;return e}},u='colorbox',o='cbox',W=o+'Element',me=o+'_open',K=o+'_load',P=o+'_complete',U=o+'_cleanup',q=o+'_closed',B=o+'_purge',x,i,H,g,G,Q,ee,te,l,y,f,I,O,ie,ne,E,M,L,D,oe,p=t('<a/>'),e,m,w,b,T,c,n,C,F,R,ae,r,h='div',re=0,le={},he;function s(e,i,n){var r=a.createElement(e);if(i){r.id=o+i};if(n){r.style.cssText=n};return t(r)};function se(){return v.innerHeight?v.innerHeight:t(v).height()};function j(e,i){if(i!==Object(i)){i={}};this.cache={};this.el=e;this.value=function(e){var n;if(this.cache[e]===undefined){n=t(this.el).attr('data-cbox-'+e);if(n!==undefined){this.cache[e]=n}
2else if(i[e]!==undefined){this.cache[e]=i[e]}
3else if(z[e]!==undefined){this.cache[e]=z[e]}};return this.cache[e]};this.get=function(e){var i=this.value(e);return t.isFunction(i)?i.call(this.el,this):i}};function N(e){var i=l.length,t=(c+e)%i;return(t<0)?i+t:t};function d(e,t){return Math.round((/%/.test(e)?((t==='x'?y.width():se())/100):1)*parseInt(e,10))};function fe(e,t){return e.get('photo')||e.get('photoRegex').test(t)};function de(e,t){return e.get('retinaUrl')&&v.devicePixelRatio>1?t.replace(e.get('photoRegex'),e.get('retinaSuffix')):t};function ce(e){if('contains' in i[0]&&!i[0].contains(e.target)&&e.target!==x[0]){e.stopPropagation();i.focus()}};function S(e){if(S.str!==e){i.add(x).removeClass(S.str).addClass(e);S.str=e}};function we(i){c=0;if(i&&i!==!1&&i!=='nofollow'){l=t('.'+W).filter(function(){var e=t.data(this,u),n=new j(this,e);return(n.get('rel')===i)});c=l.index(e.el);if(c===-1){l=l.add(e.el);c=l.length-1}}
4else{l=t(e.el)}};function k(e){t(a).trigger(e);p.triggerHandler(e)};var pe=(function(){var s,t=o+'Slideshow_',h='click.'+o,d;function n(){clearTimeout(d)};function a(){if(e.get('loop')||l[c+1]){n();d=setTimeout(r.next,e.get('slideshowSpeed'))}};function u(){E.html(e.get('slideshowStop')).unbind(h).one(h,g);p.bind(P,a).bind(K,n);i.removeClass(t+'off').addClass(t+'on')};function g(){n();p.unbind(P,a).unbind(K,n);E.html(e.get('slideshowStart')).unbind(h).one(h,function(){r.next();u()});i.removeClass(t+'on').addClass(t+'off')};function f(){s=!1;E.hide();n();p.unbind(P,a).unbind(K,n);i.removeClass(t+'off '+t+'on')};return function(){if(s){if(!e.get('slideshow')){p.unbind(U,f);f()}}
5else{if(e.get('slideshow')&&l[1]){s=!0;p.one(U,f);if(e.get('slideshowAuto')){u()}
6else{g()};E.show()}}}}());function A(n){var H;if(!R){H=t(n).data(u);e=new j(n,H);we(e.get('rel'));if(!C){C=F=!0;S(e.get('className'));i.css({visibility:'hidden',display:'block',opacity:''});f=s(h,'LoadedContent','width:0; height:0; overflow:hidden; visibility:hidden');g.css({width:'',height:''}).append(f);m=G.height()+te.height()+g.outerHeight(!0)-g.height();w=Q.width()+ee.width()+g.outerWidth(!0)-g.width();b=f.outerHeight(!0);T=f.outerWidth(!0);var l=d(e.get('initialWidth'),'x'),c=d(e.get('initialHeight'),'y'),v=e.get('maxWidth'),y=e.get('maxHeight');e.w=Math.max((v!==!1?Math.min(l,d(v,'x')):l)-T-w,0);e.h=Math.max((y!==!1?Math.min(c,d(y,'y')):c)-b-m,0);f.css({width:'',height:e.h});r.position();k(me);e.get('onOpen');oe.add(ie).hide();i.focus();if(e.get('trapFocus')){if(a.addEventListener){a.addEventListener('focus',ce,!0);p.one(q,function(){a.removeEventListener('focus',ce,!0)})}};if(e.get('returnFocus')){p.one(q,function(){t(e.el).focus()})}};var o=parseFloat(e.get('opacity'));
6x.css({opacity:o===o?o:'',cursor:e.get('overlayClose')?'pointer':'',visibility:'visible'}).show();if(e.get('closeButton')){D.html(e.get('close')).appendTo(g)}
7else{D.appendTo('<div/>')};ge()}};function ue(){if(!i){he=!1;y=t(v);i=s(h).attr({id:u,'class':t.support.opacity===!1?o+'IE':'',role:'dialog',tabindex:'-1'}).hide();x=s(h,'Overlay').hide();O=t([s(h,'LoadingOverlay')[0],s(h,'LoadingGraphic')[0]]);H=s(h,'Wrapper');g=s(h,'Content').append(ie=s(h,'Title'),ne=s(h,'Current'),L=t('<button type="button"/>').attr({id:o+'Previous'}),M=t('<button type="button"/>').attr({id:o+'Next'}),E=t('<button type="button"/>').attr({id:o+'Slideshow'}),O);D=t('<button type="button"/>').attr({id:o+'Close'});H.append(s(h).append(s(h,'TopLeft'),G=s(h,'TopCenter'),s(h,'TopRight')),s(h,!1,'clear:left').append(Q=s(h,'MiddleLeft'),g,ee=s(h,'MiddleRight')),s(h,!1,'clear:left').append(s(h,'BottomLeft'),te=s(h,'BottomCenter'),s(h,'BottomRight'))).find('div div').css({'float':'left'});I=s(h,!1,'position:absolute; width:9999px; visibility:hidden; display:none; max-width:none;');oe=M.add(L).add(ne).add(E)};if(a.body&&!i.parent().length){t(a.body).append(x,i.append(H,I))}};function ve(){function n(e){if(!(e.which>1||e.shiftKey||e.altKey||e.metaKey||e.ctrlKey)){e.preventDefault();A(this)}};if(i){if(!he){he=!0;M.click(function(){r.next()});L.click(function(){r.prev()});D.click(function(){r.close()});x.click(function(){if(e.get('overlayClose')){r.close()}});t(a).bind('keydown.'+o,function(t){var i=t.keyCode;if(C&&e.get('escKey')&&i===27){t.preventDefault();r.close()};if(C&&e.get('arrowKey')&&l[1]&&!t.altKey){if(i===37){t.preventDefault();L.click()}
8else if(i===39){t.preventDefault();M.click()}}});if(t.isFunction(t.fn.on)){t(a).on('click.'+o,'.'+W,n)}
9else{t('.'+W).live('click.'+o,n)}};return!0};return!1};if(t[u]){return};t(ue);r=t.fn[u]=t[u]=function(e,i){var o,n=this;e=e||{};if(t.isFunction(n)){n=t('<a/>');e.open=!0};if(!n[0]){return n};ue();if(ve()){if(i){e.onComplete=i};n.each(function(){var i=t.data(this,u)||{};t.data(this,u,t.extend(i,e))}).addClass(W);o=new j(n[0],e);if(o.get('open')){A(n[0])}};return n};r.position=function(n,h){var s,a=0,l=0,f=i.offset(),c,u;y.unbind('resize.'+o);i.css({top:-9e4,left:-9e4});c=y.scrollTop();u=y.scrollLeft();if(e.get('fixed')){f.top-=c;f.left-=u;i.css({position:'fixed'})}
10else{a=c;l=u;i.css({position:'absolute'})};if(e.get('right')!==!1){l+=Math.max(y.width()-e.w-T-w-d(e.get('right'),'x'),0)}
11else if(e.get('left')!==!1){l+=d(e.get('left'),'x')}
12else{l+=Math.round(Math.max(y.width()-e.w-T-w,0)/2)};if(e.get('bottom')!==!1){a+=Math.max(se()-e.h-b-m-d(e.get('bottom'),'y'),0)}
13else if(e.get('top')!==!1){a+=d(e.get('top'),'y')}
14else{a+=Math.round(Math.max(se()-e.h-b-m,0)/2)};i.css({top:f.top,left:f.left,visibility:'visible'});H[0].style.width=H[0].style.height='9999px';function v(){G[0].style.width=te[0].style.width=g[0].style.width=(parseInt(i[0].style.width,10)-w)+'px';g[0].style.height=Q[0].style.height=ee[0].style.height=(parseInt(i[0].style.height,10)-m)+'px'};s={width:e.w+T+w,height:e.h+b+m,top:a,left:l};if(n){var p=0;t.each(s,function(e){if(s[e]!==le[e]){p=n;return}});n=p};le=s;if(!n){i.css(s)};i.dequeue().animate(s,{duration:n||0,complete:function(){v();F=!1;H[0].style.width=(e.w+T+w)+'px';H[0].style.height=(e.h+b+m)+'px';if(e.get('reposition')){setTimeout(function(){y.bind('resize.'+o,r.position)},1)};if(t.isFunction(h)){h()}},step:v})};r.resize=function(t){var i;if(C){t=t||{};if(t.width){e.w=d(t.width,'x')-T-w};if(t.innerWidth){e.w=d(t.innerWidth,'x')};f.css({width:e.w});if(t.height){e.h=d(t.height,'y')-b-m};
14if(t.innerHeight){e.h=d(t.innerHeight,'y')};if(!t.innerHeight&&!t.height){i=f.scrollTop();f.css({height:'auto'});e.h=f.height()};f.css({height:e.h});if(i){f.scrollTop(i)};r.position(e.get('transition')==='none'?0:e.get('speed'))}};r.prep=function(d){if(!C){return};var m,w=e.get('transition')==='none'?0:e.get('speed');f.remove();f=s(h,'LoadedContent').append(d);function v(){e.w=e.w||f.width();e.w=e.mw&&e.mw<e.w?e.mw:e.w;return e.w};function x(){e.h=e.h||f.height();e.h=e.mh&&e.mh<e.h?e.mh:e.h;return e.h};f.hide().appendTo(I.show()).css({width:v(),overflow:e.get('scrolling')?'auto':'hidden'}).css({height:x()}).prependTo(g);I.hide();t(n).css({'float':'none'});S(e.get('className'));m=function(){var r=l.length,n,h;if(!C){return};function s(){if(t.support.opacity===!1){i[0].style.removeAttribute('filter')}};h=function(){clearTimeout(ae);O.hide();k(P);e.get('onComplete')};ie.html(e.get('title')).show();f.show();if(r>1){if(typeof e.get('current')==='string'){ne.html(e.get('current').replace('{current}',c+1).replace('{total}',r)).show()};M[(e.get('loop')||c<r-1)?'show':'hide']().html(e.get('next'));L[(e.get('loop')||c)?'show':'hide']().html(e.get('previous'));pe();if(e.get('preloading')){t.each([N(-1),N(1)],function(){var n,o=l[this],i=new j(o,t.data(o,u)),e=i.get('href');if(e&&fe(i,e)){e=de(i,e);n=a.createElement('img');n.src=e}})}}
15else{oe.hide()};if(e.get('iframe')){n=e.get('createIframe');if(!e.get('scrolling')){n.scrolling='no'};t(n).attr({src:e.get('href'),'class':o+'Iframe'}).one('load',h).appendTo(f);p.one(B,function(){n.src='//about:blank'});if(e.get('fastIframe')){t(n).trigger('load')}}
16else{h()};if(e.get('transition')==='fade'){i.fadeTo(w,1,s)}
17else{s()}};if(e.get('transition')==='fade'){i.fadeTo(w,0,function(){r.position(0,m)})}
18else{r.position(w,m)}};r.reload=function(){ge()};function ge(){var i,u,a=r.prep,g,x=++re;F=!0;n=!1;k(B);k(K);e.get('onLoad');e.h=e.get('height')?d(e.get('height'),'y')-b-m:e.get('innerHeight')&&d(e.get('innerHeight'),'y');e.w=e.get('width')?d(e.get('width'),'x')-T-w:e.get('innerWidth')&&d(e.get('innerWidth'),'x');e.mw=e.w;e.mh=e.h;if(e.get('maxWidth')){e.mw=d(e.get('maxWidth'),'x')-T-w;e.mw=e.w&&e.w<e.mw?e.w:e.mw};if(e.get('maxHeight')){e.mh=d(e.get('maxHeight'),'y')-b-m;e.mh=e.h&&e.h<e.mh?e.h:e.mh};i=e.get('href');ae=setTimeout(function(){O.show()},100);if(e.get('inline')){var f=t(i).eq(0);g=t('<div>').hide().insertBefore(f);p.one(B,function(){g.replaceWith(f)});a(f)}
19else if(e.get('iframe')){a(' ')}
20else if(e.get('html')){a(e.get('html'))}
21else if(fe(e,i)){i=de(e,i);n=e.get('createImg');t(n).addClass(o+'Photo').bind('error.'+o,function(){a(s(h,'Error').html(e.get('imgError')))}).one('load',function(){if(x!==re){return};setTimeout(function(){var i;if(e.get('retinaImage')&&v.devicePixelRatio>1){n.height=n.height/v.devicePixelRatio;n.width=n.width/v.devicePixelRatio};if(e.get('scalePhotos')){u=function(){n.height-=n.height*i;n.width-=n.width*i};if(e.mw&&n.width>e.mw){i=(n.width-e.mw)/n.width;u()};if(e.mh&&n.height>e.mh){i=(n.height-e.mh)/n.height;u()}};if(e.h){n.style.marginTop=Math.max(e.mh-n.height,0)/2+'px'};if(l[1]&&(e.get('loop')||l[c+1])){n.style.cursor='pointer';t(n).bind('click.'+o,function(){r.next()})};n.style.width=n.width+'px';n.style.height=n.height+'px';a(n)},1)});n.src=i}
22else if(i){I.load(i,e.get('data'),function(i,n){if(x===re){a(n==='error'?s(h,'Error').html(e.get('xhrError')):t(this).contents())}})}};r.next=function(){if(!F&&l[1]&&(e.get('loop')||l[c+1])){c=N(1);A(l[c])}};r.prev=function(){if(!F&&l[1]&&(e.get('loop')||c)){c=N(-1);A(l[c])}};r.close=function(){if(C&&!R){R=!0;C=!1;k(U);e.get('onCleanup');y.unbind('.'+o);x.fadeTo(e.get('fadeOut')||0,0);i.stop().fadeTo(e.get('fadeOut')||0,0,function(){i.hide();x.hide();k(B);f.remove();setTimeout(function(){R=!1;k(q);e.get('onClosed')},1)})}};r.remove=function(){if(!i){return};i.stop();t[u].close();i.stop(!1,!0).remove();x.remove();R=!1;i=null;t('.'+W).removeData(u).removeClass(W);t(a).unbind('click.'+o).unbind('keydown.'+o)};r.element=function(){return t(e.el)};r.settings=z}(jQuery,document,window));

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.