1// jQuery scroll top careers page 2/* jQuery(document).on('click', 'a[href^="#open-roles"]', function () { 3 jQuery('html, body').animate({ 4 scrollTop: jQuery(jQuery.attr(this, 'href')).offset().top - 71 5}, 50); 6}); */ 7 8// jQuery scroll top subprocessor page 9jQuery("body").on("click", ".subprocessor-top-content a", function () { 10 jQuery("html, body").animate( 11 { 12 scrollTop: jQuery(jQuery.attr(this, "href")).offset().top - 120, 13 }, 14 50 15 ); 16}); 17 18// jQuery scroll top candidate-fraud-landing-page 19jQuery("body").on("click", ".chapter_link a", function () { 20 jQuery("html, body").animate( 21 { 22 scrollTop: jQuery(jQuery.attr(this, "href")).offset().top - 71, 23 }, 24 50 25 ); 26}); 27 28// jQuery scroll top recruiters-guide-landing-page 29jQuery("body").on("click", ".recruiting-success-scroll a", function () { 30 jQuery("html, body").animate( 31 { 32 scrollTop: jQuery(jQuery.attr(this, "href")).offset().top - 71, 33 }, 34 50 35 ); 36}); 37 38// jQuery shine-community page 39jQuery("body").on("click", ".cta-button-style-five .primary_btn", function () { 40 jQuery("html, body").animate( 41 { 42 scrollTop: 43 jQuery("#shine-community-contact-form-block").offset().top - 71, 44 }, 45 50 46 ); 47}); 48 49jQuery(function () { 50 AOS.init(); 51 // hasClass on body 52 jQuery(".mega-menu-toggle").click(function () { 53 if (jQuery("body").hasClass("mega-menu-header-menu-mobile-open")) { 54 jQuery("html").removeClass("hidden-scroll-y"); 55 } else if ( 56 jQuery("body").hasClass("mega-menu-new-header-menu-mobile-open") 57 ) { 58 jQuery("html").removeClass("hidden-scroll-y"); 59 } else { 60 jQuery("html").addClass("hidden-scroll-y"); 61 } 62 }); 63 64 // Optimalisation: Store the references outside the event handler: 65 var $window = jQuery(window); 66 67 function checkWidth() { 68 var windowsize = $window.width(); 69 if (windowsize < 767) { 70 jQuery("#tab_item_wrapper .nav-link").click(function (e) { 71 e.preventDefault(); 72 jQuery(window).scrollTop( 73 jQuery("#tab-content-wrapper").offset().top - 240 74 ); 75 }); 76 77 /* 78 * iphone back button reload 79 */ 80 window.onpageshow = function (event) { 81 if (event.persisted) { 82 location.reload(true); 83 } 84 }; 85 } 86 } 87 88 var windowsize = $window.width(); 89 if (windowsize < 767) { 90 // Execute on load 91 checkWidth(); 92 // Bind event listener 93 jQuery(window).resize(checkWidth); 94 } 95}); 96 97// loved-by-teams section. 98jQuery(document).ready(function () { 99 swiper_logoSlider(); 100}); 101 102function swiper_logoSlider() { 103 const SwiperTop = new Swiper(".swiper--top", { 104 spaceBetween: 20, 105 // centeredSlides: true, 106 speed: 20000, // Slightly reduced for smoother frames under load 107 loop: true, 108 autoplay: { 109 delay: 0, // Set delay to zero for immediate autoplay 110 disableOnInteraction: false, // Autoplay will not be disabled after user interaction 111 pauseOnMouseEnter: false, 112 stopOnLastSlide: false, 113 waitForTransition: false, // Avoid hiccup when looping 114 }, 115 slidesPerView: "auto", 116 allowTouchMove: false, 117 freeMode: true, // Enable free mode for smoother scrolling 118 freeModeMomentum: false, // Disable momentum for consistent speed 119 loopAdditionalSlides: 80, // More buffer to prevent loop seam jumps 120 loopedSlides: 100, 121 preloadImages: true, 122 watchSlidesProgress: true, 123 watchSlidesVisibility: true, 124 resistance: false, 125 resistanceRatio: 0, 126 simulateTouch: false, 127 cssMode: false, 128 updateOnWindowResize: true, 129 // Responsive breakpoints 130 breakpoints: { 131 // when window width is <= 667px 132 667: { 133 slidesPerView: "auto", 134 spaceBetween: 15, 135 speed: 18000, // Eases CPU on mobile 136 }, 137 // when window width is <= 1084px 138 1084: { 139 slidesPerView: "auto", 140 spaceBetween: 18, 141 speed: 19000, // Balanced speed on tablet 142 }, 143 }, 144 }); 145} 146 147// navbar start 148jQuery(window).scroll(function () { 149 // body.solid-header: header stays white on these pages (see brighthire_has_solid_header) 150 if (jQuery(window).scrollTop() > 0 || jQuery("body").hasClass("solid-header")) { 151 jQuery(".navbar").addClass("sticky-header"); 152 } else { 153 jQuery(".navbar").removeClass("sticky-header"); 154 } 155}); 156 157// navbar end 158 159// Remove default empty tag jQuery 160jQuery("p:empty").remove(); 161 162// added javascript:void(0) on attr href 163jQuery("a[href=#]").attr("href", "javascript:void(0)"); 164 165// counter up tag jQuery 166jQuery(document).ready(function ($) { 167 jQuery(".counter").counterUp({ 168 delay: 10, 169 time: 1000, 170 }); 171}); 172 173if (navigator.appVersion.indexOf("Win") != -1) { 174 jQuery("body").addClass("window-os"); 175} 176if (navigator.platform.toUpperCase().indexOf("MAC") >= 0) { 177 jQuery("body").addClass("mac-os"); 178} 179if (navigator.appVersion.indexOf("Linux") != -1) { 180 jQuery("body").addClass("linux-os"); 181} 182 183if (navigator.appVersion.indexOf("Edge") != -1) { 184 jQuery("body").addClass("edge"); 185} 186 187var trident = !!navigator.userAgent.match(/Trident\/7.0/); 188var net = !!navigator.userAgent.match(/.NET4.0E/); 189var IE11 = trident && net; 190var IEold = navigator.userAgent.match(/MSIE/i) ? true : false;
191if (IE11 || IEold) { 192 jQuery("body").addClass("ie"); 193} 194var ua = navigator.userAgent.toLowerCase(); 195if (ua.indexOf("safari") != -1) { 196 if (ua.indexOf("chrome") > -1) { 197 jQuery("body").addClass("chrome"); 198 } else { 199 jQuery("body").addClass("safari"); 200 } 201} 202var FF = !(window.mozInnerScreenX == null); 203if (FF) { 204 jQuery("body").addClass("fire-fox"); 205} else { 206 jQuery("body").addClass("not-fire-fox"); 207} 208 209/* Add js for remove Lsep tag from mega menu */ 210jQuery(document).ready(function () { 211 jQuery(".mega-sub-menu") 212 .children() 213 .each(function () { 214 jQuery(this).html( 215 jQuery(this) 216 .html() 217 .replace(/\u2028/g, " ") 218 ); 219 }); 220}); 221 222// jQuery scroll top Data Processing Amendment Agreement 223jQuery("body").on("click", ".customer-processor-sec a", function () { 224 jQuery("html, body").animate( 225 { 226 scrollTop: jQuery(jQuery.attr(this, "href")).offset().top - 85, 227 }, 228 50 229 ); 230}); 231 232// jQuery scroll top recruiters-guide-landing-page 233jQuery("body").on("click", ".guide-tip-box a", function () { 234 jQuery("html, body").animate( 235 { 236 scrollTop: jQuery(jQuery.attr(this, "href")).offset().top - 70, 237 }, 238 50 239 ); 240}); 241 242// jQuery scroll top quickly-build-a-training-program 243jQuery("body").on("click", "#quickly-build-a-training-program a", function () { 244 jQuery("html, body").animate( 245 { 246 scrollTop: jQuery(jQuery.attr(this, "href")).offset().top - 70, 247 }, 248 50 249 ); 250}); 251 252// jQuery scroll top BBIQ Blog page Table of Contents items 253jQuery("body").on("click", ".table-item-link a", function () { 254 jQuery("html, body").animate( 255 { 256 scrollTop: jQuery(jQuery.attr(this, "href")).offset().top - 100, 257 }, 258 50 259 ); 260}); 261 262jQuery("body").on("click", "#steamlinetab-1", function () { 263 jQuery(".white-icon-box").removeClass("active"); 264 265 jQuery("#steamlineblock-1").show(); 266 jQuery("#steamlinetab-1").addClass("active"); 267 jQuery("#steamlineblock-2").hide(); 268 jQuery("#steamlineblock-3").hide(); 269 jQuery("#steamlineblock-4").hide(); 270 jQuery("#steamlineblock-5").hide(); 271}); 272 273jQuery("body").on("click", "#steamlinetab-2", function () { 274 jQuery(".white-icon-box").removeClass("active"); 275 276 jQuery("#steamlineblock-2").show(); 277 jQuery("#steamlinetab-2").addClass("active"); 278 jQuery("#steamlineblock-1").hide(); 279 jQuery("#steamlineblock-3").hide(); 280 jQuery("#steamlineblock-4").hide(); 281 jQuery("#steamlineblock-5").hide(); 282}); 283 284jQuery("body").on("click", "#steamlinetab-3", function () { 285 jQuery(".white-icon-box").removeClass("active"); 286 jQuery("#steamlineblock-3").show(); 287 jQuery("#steamlinetab-3").addClass("active"); 288 jQuery("#steamlineblock-1").hide(); 289 jQuery("#steamlineblock-2").hide(); 290 jQuery("#steamlineblock-4").hide(); 291 jQuery("#steamlineblock-5").hide(); 292}); 293 294jQuery("body").on("click", "#steamlinetab-4", function () { 295 jQuery(".white-icon-box").removeClass("active"); 296 jQuery("#steamlineblock-4").show(); 297 jQuery("#steamlinetab-4").addClass("active"); 298 jQuery("#steamlineblock-1").hide(); 299 jQuery("#steamlineblock-2").hide(); 300 jQuery("#steamlineblock-3").hide(); 301 jQuery("#steamlineblock-5").hide(); 302}); 303jQuery("body").on("click", "#steamlinetab-5", function () { 304 jQuery(".white-icon-box").removeClass("active"); 305 jQuery("#steamlineblock-5").show(); 306 jQuery("#steamlinetab-5").addClass("active"); 307 jQuery("#steamlineblock-1").hide(); 308 jQuery("#steamlineblock-2").hide(); 309 jQuery("#steamlineblock-3").hide(); 310 jQuery("#steamlineblock-4").hide(); 311}); 312 313/* Remove Lazy load from trusted logo 314jQuery(document).ready(function () { 315jQuery('.trusted-slider').each(function () { 316 var img = jQuery('img'); 317 img.attr('src', function () { 318 var src = jQuery(this).attr('data-lazy-src'); 319 jQuery(this).removeAttr('data-lazy-src'); 320 return src; 321 }); 322}); 323});*/ 324 325/* Add class on home page header according to window resize */ 326jQuery(document).ready(function () { 327 jQuery(window).resize(function () { 328 var screenWidth = jQuery(window).width(); 329 if (screenWidth < 768) { 330 jQuery(".page-template-home-temp") 331 .addClass("small-screen") 332 .removeClass("medium-screen large-screen"); 333 } else if (screenWidth >= 768 && screenWidth < 992) { 334 jQuery(".page-template-home-temp") 335 .addClass("medium-screen") 336 .removeClass("small-screen large-screen"); 337 } else { 338 jQuery(".page-template-home-temp") 339 .addClass("large-screen") 340 .removeClass("small-screen medium-screen"); 341 } 342 }); 343 344 // jQuery hide top bar section on homepage 345 jQuery("#hidetopbar").on("click", function () { 346 jQuery(".top-bar-header").hide(); 347 jQuery("body").removeClass("top-bar-show"); 348 }); 349 // jQuery scroll top blog single table_of_contents 350 jQuery("body").on("click", ".table_of_contents a", function () { 351 jQuery("html, body").animate( 352 { 353 scrollTop: jQuery(jQuery.attr(this, "href")).offset().top - 100, 354 }, 355 50 356 ); 357 }); 358});
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.