PageSourceSearch

https://www.socotec.fr/themes/custom/app_theme/assets/ContentPush.js?tlwsue

js socotec.fr collected 2026-09-25 22:51:25 UTC 1,680 bytes, 1 lines download raw bytes

1!function(){var t=function(){function t(t){this.win=$(window),this.container=t,this.items=this.container.find(".push-item__card-wrapper"),this.titles=this.container.find("h2"),this.maxHeightTitle=0,this.clickableItems=this.container.find(".js-push-item-clickable"),this._bindEvents(),this._setupAccessibility()}var i=t.prototype;return i._bindEvents=function(){var t=this;this.handleSizeTitle(),this.win.on("resize",(function(){t.handleSizeTitle()})),this.clickableItems.on("click",this.handleItemClick.bind(this)),this.clickableItems.on("mouseenter",(function(){$(this).addClass("push-item--hover")})).on("mouseleave",(function(){$(this).removeClass("push-item--hover")})),this.clickableItems.on("keydown",(function(i){"Enter"!==i.key&&" "!==i.key||(i.preventDefault(),t.handleItemClick(i))}))},i._setupAccessibility=function(){this.clickableItems.each((function(t,i){var e=$(i),n=e.data("url");n&&"#"!==n&&e.attr({tabindex:"0",role:"button","aria-label":"".concat(e.find("h3").text().trim()," - Click to view details")})}))},i.handleItemClick=function(t){var i=$(t.currentTarget).data("url");i&&"#"!==i&&(0===i.indexOf("http")&&-1===i.indexOf(window.location.hostname)?window.open(i,"_blank"):window.location.href=i)},i.handleSizeTitle=function(){var t=this;this.items.length>1&&window.innerWidth>1024?(this.maxHeightTitle=0,this.titles.css("height","auto"),this.titles.each((function(i,e){var n=$(e).height();n>t.maxHeightTitle&&(t.maxHeightTitle=n)})),this.titles.css("height",this.maxHeightTitle+"px")):this.resetSize()},i.resetSize=function(){this.titles.css("height","auto")},t}();$(window).on("load",(function(){$(".js-push-item").each((function(i,e){new t($(e))}))}))}();

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.