1window.$ = jQuery; 2 3var win = $(window); 4var doc = $(document); 5var urlHash = window.location.hash; 6 7var attachMobileMenu = function() { 8 var mobileNav = $('#mobile-nav'); 9 var mobileNavToggle = $('#mobile-nav-toggle p'); 10 if (window.matchMedia('(max-width: 700px)').matches) { 11 mobileNav.removeClass('opened'); 12 mobileNavToggle.removeClass('opened'); 13 mobileNavToggle.unbind('click'); 14 mobileNavToggle.on('click', function(e) { 15 e.stopPropagation(); 16 var _this = $(this); 17 _this.toggleClass('opened'); 18 mobileNav.toggleClass('opened'); 19 mobileNav.find('a').on('click', function() { 20 _this.removeClass('opened'); 21 mobileNav.removeClass('opened'); 22 }); 23 }); 24 } else { 25 26 } 27 $('#mobile-nav-close').unbind('click'); 28 $('#mobile-nav-close').on('click', function(e) { 29 mobileNavToggle.click(); 30 }); 31 $('body').on('click', function(e) { 32 if(mobileNav.hasClass('opened')) { 33 mobileNavToggle.click(); 34 } 35 }); 36 mobileNav.on('click', function(e) { 37 e.stopPropagation(); 38 }); 39} 40 41function isElementInViewport (el) { 42 43 // Special bonus for those using jQuery 44 if (typeof jQuery === "function" && el instanceof jQuery) { 45 el = el[0]; 46 } 47 48 var rect = el.getBoundingClientRect(); 49 50 return ( 51 rect.top >= 0 && 52 rect.left >= 0 && 53 rect.bottom <= (window.innerHeight || document.documentElement.clientHeight) && /* or $(window).height() */ 54 rect.right <= (window.innerWidth || document.documentElement.clientWidth) /* or $(window).width() */ 55 ); 56} 57 58$.fn.isOnScreen = function() { 59 var viewport = { 60 top: win.scrollTop(), 61 left: win.scrollLeft() 62 }; 63 viewport.right = viewport.left + win.width(); 64 viewport.bottom = viewport.top + win.height(); 65 var bounds = this.offset(); 66 bounds.right = bounds.left + this.outerWidth(); 67 bounds.bottom = bounds.top + this.outerHeight(); 68 return (!(viewport.right < bounds.left || viewport.left > bounds.right || viewport.bottom < bounds.top || viewport.top > bounds.bottom)); 69}; 70 71function startCounter(counterElement) { 72 if (counterElement.hasClass("notVisible")) { 73 counterElement.removeClass("notVisible"); 74 counterElement.prop('Counter', 0).animate({ 75 Counter: counterElement.attr("counter-lim") 76 }, { 77 duration: 1200, 78 easing: 'swing', 79 step: function(now) { 80 counterElement.text(Math.ceil(now).toLocaleString()); 81 } 82 }); 83 } 84} 85 86var loadLightbox = function() { 87 88 var customSlideHTML = `<div class="gslide"> 89 <div class="gslide-inner-content"> 90 <div class="ginner-container"> 91 <div class="gslide-media"> 92 <a href="#" class="lightbox-window-close glightbox-close"> 93 <svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" fill="none"><g fill="#023042" clip-path="url(#a)"><path d="M4 29a1 1 0 0 1-.71-1.71l24-24a1.004 1.004 0 0 1 1.42 1.42l-24 24A1 1 0 0 1 4 29Z"/><path d="M28 29a1 1 0 0 1-.71-.29l-24-24a1.004 1.004 0 1 1 1.42-1.42l24 24a1.002 1.002 0 0 1-.326 1.636A1 1 0 0 1 28 29Z"/></g><defs><clipPath id="a"><path fill="#fff" d="M0 0h32v32H0z"/></clipPath></defs></svg> 94 </a> 95 </div> 96 <div class="gslide-description"> 97 <div class="gdesc-inner"> 98 <h4 class="gslide-title"></h4> 99 <div class="gslide-desc"></div> 100 </div> 101 </div> 102 </div> 103 </div> 104 </div>`; 105 var lightboxInline = GLightbox({ 106 selector: '.glightbox-inline', 107 slideHTML: customSlideHTML, 108 closeButton: false, 109 width: '840px', 110 height: 'auto', 111 touchNavigation: false, 112 //keyboardNavigation: false, 113 draggable: false 114 }); 115 lightboxInline.on('open', function() { 116 $('.glightbox-close').on('click', function(e) { 117 e.preventDefault(); 118 lightboxInline.close(); 119 }); 120 }); 121 122 // var lightboxVideo = GLightbox({ 123 // selector: '.glightbox-video', 124 // touchNavigation: false, 125 // //keyboardNavigation: false, 126 // draggable: false, 127 // videosWidth: '1200px' 128 // }); 129 130 // var lightboxIframe = GLightbox({ 131 // selector: '.glightbox-iframe', 132 // touchNavigation: false, 133 // //keyboardNavigation: false, 134 // draggable: false 135 // }); 136 137} 138 139doc.ready(function() { 140 141 loadLightbox(); 142 143 attachMobileMenu(); 144 win.on('resize', function() { 145 attachMobileMenu(); 146 }); 147 148 var body = $('body'); 149 var y = win.scrollTop(); 150 if (y > 0) { 151 body.addClass('fixed'); 152 } else { 153 body.removeClass('fixed'); 154 } 155 win.on('scroll', function () { 156 var y = $(this).scrollTop(); 157 if (y > 0) { 158 body.addClass('fixed'); 159 } else { 160 body.removeClass('fixed'); 161 } 162 }); 163 164 $('.window-open').on('click', function(e) { 165 e.preventDefault(); 166 window.open( $(this).attr('href'), 'sharer', 'width=660,height=400' ); 167 }); 168 169 $('.entry-content').fitVids(); 170
171 $('.show-hide').on('click', function(e) { 172 e.preventDefault(); 173 var id = $(this).attr('href'); 174 $(id).slideToggle(function() { 175 $(id).find(":input:first").focus(); 176 }); 177 }); 178 179 $('.testimonial-text').readmore({ 180 collapsedHeight: 92, 181 speed: 500, 182 moreLink: '<a href="#"><strong>... Read More</strong></a>', 183 lessLink: '<a href="#"><strong>Close</strong></a>' 184 }); 185 186 $('.lightbox-inline').fancybox({ 187 type : 'inline', 188 maxWidth : 900, 189 padding : 30, 190 margin : [85, 20, 20, 20], 191 helpers : { 192 overlay : { 193 css : { 194 'background' : 'rgba(0, 0, 0, 0.3)' 195 }, 196 locked: false 197 } 198 } 199 }); 200 201 $('.lightbox-video').fancybox({ 202 type : 'iframe', 203 aspectRatio : 1, 204 padding : 0, 205 margin : [85, 20, 20, 20], 206 helpers : { 207 media: true, 208 overlay : { 209 css : { 210 'background' : 'rgba(0, 0, 0, 0.3)' 211 }, 212 locked: false 213 } 214 } 215 }); 216 217 $('.jstabs[href^="#"]').on('click', function(e) { 218 e.preventDefault(); 219 var _this = $(this); 220 var index = _this.parent().index(); 221 var content = _this.data('content'); 222 if(!_this.hasClass('selected')) { 223 if(_this.parents('ul').length > 0) { 224 _this.parents('ul').find('li').removeClass('current-menu-item'); 225 _this.parent().addClass('current-menu-item'); 226 $(content).hide(); 227 $(content).eq(index).fadeIn(); 228 } else { 229 var href = _this.attr('href'); 230 $('.jstabs').parent().removeClass('current-menu-item'); 231 $('a[href="'+href+'"]').parent().addClass('current-menu-item'); 232 $(content).hide(); 233 $(href).fadeIn(); 234 } 235 } 236 }); 237 if(urlHash!='') { 238 $('a[href="'+urlHash+'"]').click(); 239 } 240 241 $('.jstabs-select').on('change', function(){ 242 var _this = $(this); 243 var content = _this.data('content'); 244 var href = this.value; 245 $('.jstabs').parent().removeClass('current-menu-item'); 246 $('a[href="'+href+'"]').parent().addClass('current-menu-item'); 247 $(content).hide(); 248 $(href).fadeIn(); 249 }); 250 251 $('.entry-content:not(.blog-post-content):not(.headings-no-icon) h5').each(function() { 252 var _this = $(this); 253 if(_this.is(':contains(WHO)') || _this.is(':contains(Who)')) 254 _this.addClass('icon-q icon-who');
255 if(_this.is(':contains(WHEN)') || _this.is(':contains(When)') || _this.is(':contains(TIMELINE)') || _this.is(':contains(Timeline)')) 256 _this.addClass('icon-q icon-when'); 257 if(_this.is(':contains(WHERE)') || _this.is(':contains(Where)')) 258 _this.addClass('icon-q icon-where'); 259 if(_this.is(':contains(HOW MUCH)') || _this.is(':contains(How Much)')) 260 _this.addClass('icon-q icon-howmuch'); 261 if(_this.is(':contains(WHAT)') || _this.is(':contains(What)')) 262 _this.addClass('icon-q icon-question'); 263 }); 264 265 $('.welcome-newsletter-form button').on('click', function(e) { 266 e.stopPropagation(); 267 var _this = $(this); 268 var form = $('.welcome-newsletter-form'); 269 var input = $('.welcome-newsletter-form [type="email"]'); 270 if(!form.hasClass('active')) { 271 e.preventDefault(); 272 form.addClass('active'); 273 input.focus().prop('required', true); 274 } 275 }); 276 $('body').on('click', function() { 277 if($('.welcome-newsletter-form').hasClass('active')) { 278 $('.welcome-newsletter-form').removeClass('active'); 279 $('.welcome-newsletter-form [type="email"]').removeProp('required'); 280 } 281 }); 282 $('.welcome-newsletter-form').on('click', function(e) { 283 e.stopPropagation(); 284 }); 285 286 $('.main-sub-menu-select select').on('change', function(){ 287 location.href = this.value; 288 }); 289 290 var myLazyLoad = new LazyLoad({ 291 elements_selector: ".lazy" 292 }); 293 294 $('.custom-dropdown').each(function() { 295 var dropdown = $(this); 296 var dropdownValue = dropdown.find('.value'); 297 var dropdownList = dropdown.find('nav'); 298 dropdownValue.on('click', function(e) { 299 e.stopPropagation(); 300 301 if($('.custom-dropdown.active').not(dropdown).length > 0) { 302 $('.custom-dropdown.active').find('.value').click(); 303 } 304 305 dropdown.toggleClass('active'); 306 }); 307 $('body').on('click', function() { 308 if(dropdown.hasClass('active')) { 309 dropdownValue.click(); 310 } 311 }); 312 dropdownList.on('click', function(e) { 313 e.stopPropagation(); 314 }); 315 }); 316 317 $('a.scrollto, .scrollto a').on('click', function(e) { 318 if(this.hash.substr(1) != '' && $('#'+this.hash.substr(1)).length) { 319 e.preventDefault(); 320 if($(this).data('offset')) { 321 $('html, body').animate({ 322 scrollTop: $('#'+this.hash.substr(1)).offset().top - $(this).data('offset') 323 }, 600); 324 } else { 325 $('html, body').animate({ 326 scrollTop: $('#'+this.hash.substr(1)).offset().top - $('#header').outerHeight() 327 }, 600); 328 } 329 } 330 }); 331 332 // single team 333 var testimonialsFullWidthSlideshow = $('.testimonials-full-width-slideshow'); 334 testimonialsFullWidthSlideshow.each(function() { 335 var centerPadding = '30px'; 336 var fade = false; 337 if($(this).parent().hasClass('v2')) { // https://www.reboot.io/bootcamp/reboots-2026-leadership-bootcamp/ 338 centerPadding = 0; 339 fade = true; 340 } 341 $(this).on('init', function() { 342 //loadLightbox(); 343 }).slick({ 344 centerMode: true, 345 //dots: true, 346 appendArrows: $(this).parent().find('.testimonials-full-width-slideshow-nav .nav'), 347 slidesToShow: 3, 348 slidesToScroll: 3, 349 speed: 800, 350 prevArrow: ` 351 <button class="slick-arrow slick-prev" aria-label="Previous"> 352 <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"> 353 <path d="M8.13883 17.2919C8.20619 17.2251 8.25967 17.1456 8.29616 17.058C8.33265 16.9704 8.35143 16.8765 8.35143 16.7816C8.35143 16.6867 8.33265 16.5928 8.29616 16.5052C8.25967 16.4176 8.20619 16.3381 8.13883 16.2713L4.83258 12.965L21.752 12.965C21.9426 12.965 22.1254 12.8893 22.2602 12.7545C22.395 12.6197 22.4707 12.4369 22.4707 12.2463C22.4707 12.0557 22.395 11.8728 22.2602 11.7381C22.1254 11.6033 21.9426 11.5275 21.752 11.5275L4.84695 11.5275L8.13883 8.24285C8.2727 8.10818 8.34784 7.92601 8.34784 7.73613C8.34784 7.54625 8.2727 7.36408 8.13883 7.22941C8.00416 7.09554 7.82199 7.0204 7.63211 7.0204C7.44223 7.0204 7.26006 7.09554 7.12539 7.22941L2.55414 11.8007C2.49261 11.8597 2.44366 11.9306 2.41022 12.009C2.37677 12.0874 2.35953 12.1718 2.35953 12.2571C2.35953 12.3423 2.37677 12.4267 2.41022 12.5051C2.44366 12.5836 2.49261 12.6544 2.55414 12.7135L7.1182 17.2919C7.18502 17.3593 7.26451 17.4127 7.3521 17.4492C7.43969 17.4857 7.53363 17.5045 7.62852 17.5045C7.7234 17.5045 7.81734 17.4857 7.90493 17.4492C7.99252 17.4127 8.07201 17.3593 8.13883 17.2919Z" fill="white"/> 354 </svg> 355 </button>`, 356 nextArrow: ` 357 <button class="slick-arrow slick-next" aria-label="Next"> 358 <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"> 359 <path d="M16.2225 7.23079C16.1551 7.29761 16.1017 7.37711 16.0652 7.46469C16.0287 7.55228 16.0099 7.64622 16.
3590099 7.74111C16.0099 7.83599 16.0287 7.92993 16.0652 8.01752C16.1017 8.10511 16.1551 8.1846 16.2225 8.25142L19.5288 11.5577H2.60938C2.41875 11.5577 2.23593 11.6334 2.10114 11.7682C1.96635 11.903 1.89062 12.0858 1.89062 12.2764C1.89062 12.467 1.96635 12.6499 2.10114 12.7847C2.23593 12.9194 2.41875 12.9952 2.60938 12.9952H19.5144L16.2225 16.2799C16.0886 16.4145 16.0135 16.5967 16.0135 16.7866C16.0135 16.9765 16.0886 17.1586 16.2225 17.2933C16.3572 17.4272 16.5393 17.5023 16.7292 17.5023C16.9191 17.5023 17.1013 17.4272 17.2359 17.2933L21.8072 12.722C21.8687 12.663 21.9177 12.5922 21.9511 12.5137C21.9846 12.4353 22.0018 12.3509 22.0018 12.2656C22.0018 12.1804 21.9846 12.096 21.9511 12.0176C21.9177 11.9391 21.8687 11.8683 21.8072 11.8092L17.2431 7.23079C17.1763 7.16343 17.0968 7.10996 17.0092 7.07347C16.9216 7.03698 16.8277 7.01819 16.7328 7.01819C16.6379 7.01819 16.544 7.03698 16.4564 7.07347C16.3688 7.10996 16.2893 7.16343 16.2225 7.23079Z" fill="white"/> 360 </svg> 361 </button>`, 362 autoplay: false, 363 autoplaySpeed: 5000, 364 responsive: [ 365 { 366 breakpoint: 768, 367 settings: { 368 slidesToShow: 1, 369 slidesToScroll: 1, 370 centerPadding: centerPadding, 371 fade: fade 372 } 373 } 374 ] 375 }); 376 /* 377 if(testimonialsFullWidthSlideshow.length > 0) { 378 win.on('load scroll', function() { 379 if(isElementInViewport(testimonialsFullWidthSlideshow)) { 380 testimonialsFullWidthSlideshow.slick('slickSetOption', { 381 autoplay: true 382 }, true); 383 } 384 }); 385 } 386 */ 387 }); 388 389 // new service coaching page 390 var testimonialsTwoPerView = $('.testimonials-two-per-view'); 391 testimonialsTwoPerView.on('init', function() { 392 //loadLightbox(); 393 }).slick({ 394 arrows: false, 395 dots: true, 396 slidesToShow: 1, 397 slidesToScroll: 1, 398 speed: 800, 399 autoplay: false, 400 autoplaySpeed: 5000, 401 /* 402 responsive: [ 403 { 404 breakpoint: 768, 405 settings: { 406 slidesToShow: 1, 407 slidesToScroll: 1, 408 centerPadding: '30px' 409 } 410 } 411 ] 412 */ 413 }); 414 if(testimonialsTwoPerView.length > 0) { 415 win.on('load scroll', function() { 416 if(isElementInViewport(testimonialsTwoPerView)) { 417 testimonialsTwoPerView.slick('slickSetOption', { 418 autoplay: true 419 }, true); 420 } 421 }); 422 } 423 424 win.scroll(function() { 425 $(".counter").each(function() { 426 if ($(this).isOnScreen()) { 427 startCounter($(this)); 428 } else { 429 if ($(this).hasClass("notVisible") == false) { 430 $(this).stop(); 431 $(this).addClass("notVisible"); 432 $(this).text(""); 433 } 434 } 435 }); 436 }); 437 $('.counter').each(function() { 438 $(this).addClass("notVisible"); 439 if ($(this).isOnScreen() === true) { 440 startCounter($(this)); 441 } 442 }); 443 444 /* dev https://www.reboot.io/service/coaching/?dev=1 */ 445 $('.custom-form .fields .input-with-label .input').on('keyup change', function() { 446 if($(this).val()){ 447 $(this).parents('.field').addClass("not-empty"); 448 }else{ 449 $(this).parents('.field').removeClass("not-empty"); 450 } 451 }); 452 453 /* 454 $('.case-study-machine').each(function() { 455 var _this = $(this); 456 var nav = _this.find('.sidebar nav'); 457 var rows = _this.find('.sidebar-after'); 458 nav.find('a').on('click', function(e) { 459 e.preventDefault(); 460 var clicked = $(this); 461 var parent = clicked.parent(); 462 var index = parent.index();
463 if(!parent.hasClass('selected')) { 464 parent.siblings().removeClass('selected'); 465 parent.addClass('selected'); 466 rows.find('.row').hide(); 467 rows.find('.row:eq('+index+')').fadeIn(); 468 } 469 }); 470 }); 471 */ 472 473}); 474 475win.load(function() { 476 477 /*$('.content-slider').bxSlider({ 478 mode: 'fade', 479 controls: 0, 480 auto: 1, 481 pause: 6000, 482 autoHover: 1 483 });*/ 484 $('.content-slider').slick({ 485 arrows: false, 486 dots: true, 487 speed: 800, 488 fade: true, 489 autoplay: true, 490 autoplaySpeed: 6000, 491 }); 492 493 $('.testimonial-text-large').each(function() { 494 if($(this).height() > 110){ 495 $(this).readmore({ 496 collapsedHeight: 110, 497 speed: 500, 498 moreLink: '<a href="#"><strong>... Read More</strong></a>', 499 lessLink: '<a href="#"><strong>Close</strong></a>' 500 }); 501 } 502 }); 503 504 $('.case-study-slideshow-v2 .body').slick({ 505 speed: 800, 506 fade: true, 507 autoplay: true, 508 autoplaySpeed: 5000, 509 appendArrows: $('.case-study-slideshow-v2 .nav'), 510 prevArrow: ` 511 <button class="slick-arrow slick-prev" aria-label="Previous"> 512 <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"> 513 <path d="M8.13883 17.2919C8.20619 17.2251 8.25967 17.1456 8.29616 17.058C8.33265 16.9704 8.35143 16.8765 8.35143 16.7816C8.35143 16.6867 8.33265 16.5928 8.29616 16.5052C8.25967 16.4176 8.20619 16.3381 8.13883 16.2713L4.83258 12.965L21.752 12.965C21.9426 12.965 22.1254 12.8893 22.2602 12.7545C22.395 12.6197 22.4707 12.4369 22.4707 12.2463C22.4707 12.0557 22.395 11.8728 22.2602 11.7381C22.1254 11.6033 21.9426 11.5275 21.752 11.5275L4.84695 11.5275L8.13883 8.24285C8.2727 8.10818 8.34784 7.92601 8.34784 7.73613C8.34784 7.54625 8.2727 7.36408 8.13883 7.22941C8.00416 7.09554 7.82199 7.0204 7.63211 7.0204C7.44223 7.0204 7.26006 7.09554 7.12539 7.22941L2.55414 11.8007C2.49261 11.8597 2.44366 11.9306 2.41022 12.009C2.37677 12.0874 2.35953 12.1718 2.35953 12.2571C2.35953 12.3423 2.37677 12.4267 2.41022 12.5051C2.44366 12.5836 2.49261 12.6544 2.55414 12.7135L7.1182 17.2919C7.18502 17.3593 7.26451 17.4127 7.3521 17.4492C7.43969 17.4857 7.53363 17.5045 7.62852 17.5045C7.7234 17.5045 7.81734 17.4857 7.90493 17.4492C7.99252 17.4127 8.07201 17.3593 8.13883 17.2919Z" fill="#023042"/> 514 </svg> 515 </button>`, 516 nextArrow: ` 517 <button class="slick-arrow slick-next" aria-label="Next"> 518 <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"> 519 <path d="M16.2225 7.23079C16.1551 7.29761 16.1017 7.37711 16.0652 7.46469C16.0287 7.55228 16.0099 7.64622 16.
5190099 7.74111C16.0099 7.83599 16.0287 7.92993 16.0652 8.01752C16.1017 8.10511 16.1551 8.1846 16.2225 8.25142L19.5288 11.5577H2.60938C2.41875 11.5577 2.23593 11.6334 2.10114 11.7682C1.96635 11.903 1.89062 12.0858 1.89062 12.2764C1.89062 12.467 1.96635 12.6499 2.10114 12.7847C2.23593 12.9194 2.41875 12.9952 2.60938 12.9952H19.5144L16.2225 16.2799C16.0886 16.4145 16.0135 16.5967 16.0135 16.7866C16.0135 16.9765 16.0886 17.1586 16.2225 17.2933C16.3572 17.4272 16.5393 17.5023 16.7292 17.5023C16.9191 17.5023 17.1013 17.4272 17.2359 17.2933L21.8072 12.722C21.8687 12.663 21.9177 12.5922 21.9511 12.5137C21.9846 12.4353 22.0018 12.3509 22.0018 12.2656C22.0018 12.1804 21.9846 12.096 21.9511 12.0176C21.9177 11.9391 21.8687 11.8683 21.8072 11.8092L17.2431 7.23079C17.1763 7.16343 17.0968 7.10996 17.0092 7.07347C16.9216 7.03698 16.8277 7.01819 16.7328 7.01819C16.6379 7.01819 16.544 7.03698 16.4564 7.07347C16.3688 7.10996 16.2893 7.16343 16.2225 7.23079Z" fill="#023042"/> 520 </svg> 521 </button>`, 522 }); 523 524 $('.case-study-slideshow-v3-images').slick({ 525 slidesToShow: 1, 526 slidesToScroll: 1, 527 arrows: false, 528 fade: true, 529 asNavFor: '.case-study-slideshow-v3 .body' 530 }); 531 $('.case-study-slideshow-v3 .body').slick({ 532 asNavFor: '.case-study-slideshow-v3-images', 533 //adaptiveHeight: true, 534 speed: 800, 535 fade: true, 536 autoplay: true, 537 autoplaySpeed: 5000, 538 appendArrows: $('.case-study-slideshow-v3 .nav'), 539 prevArrow: ` 540 <button class="slick-arrow slick-prev" aria-label="Previous"> 541 <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"> 542 <path d="M8.13883 17.2919C8.20619 17.2251 8.25967 17.1456 8.29616 17.058C8.33265 16.9704 8.35143 16.8765 8.35143 16.7816C8.35143 16.6867 8.33265 16.5928 8.29616 16.5052C8.25967 16.4176 8.20619 16.3381 8.13883 16.2713L4.83258 12.965L21.752 12.965C21.9426 12.965 22.1254 12.8893 22.2602 12.7545C22.395 12.6197 22.4707 12.4369 22.4707 12.2463C22.4707 12.0557 22.395 11.8728 22.2602 11.7381C22.1254 11.6033 21.9426 11.5275 21.752 11.5275L4.84695 11.5275L8.13883 8.24285C8.2727 8.10818 8.34784 7.92601 8.34784 7.73613C8.34784 7.54625 8.2727 7.36408 8.13883 7.22941C8.00416 7.09554 7.82199 7.0204 7.63211 7.0204C7.44223 7.0204 7.26006 7.09554 7.12539 7.22941L2.55414 11.8007C2.49261 11.8597 2.44366 11.9306 2.41022 12.009C2.37677 12.0874 2.35953 12.1718 2.35953 12.2571C2.35953 12.3423 2.37677 12.4267 2.41022 12.5051C2.44366 12.5836 2.49261 12.6544 2.55414 12.7135L7.1182 17.2919C7.18502 17.3593 7.26451 17.4127 7.3521 17.4492C7.43969 17.4857 7.53363 17.5045 7.62852 17.5045C7.7234 17.5045 7.81734 17.4857 7.90493 17.4492C7.99252 17.4127 8.07201 17.3593 8.13883 17.2919Z" fill="#023042"/> 543 </svg> 544 </button>`, 545 nextArrow: ` 546 <button class="slick-arrow slick-next" aria-label="Next"> 547 <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"> 548 <path d="M16.2225 7.23079C16.1551 7.29761 16.1017 7.37711 16.0652 7.46469C16.0287 7.55228 16.0099 7.64622 16.
5480099 7.74111C16.0099 7.83599 16.0287 7.92993 16.0652 8.01752C16.1017 8.10511 16.1551 8.1846 16.2225 8.25142L19.5288 11.5577H2.60938C2.41875 11.5577 2.23593 11.6334 2.10114 11.7682C1.96635 11.903 1.89062 12.0858 1.89062 12.2764C1.89062 12.467 1.96635 12.6499 2.10114 12.7847C2.23593 12.9194 2.41875 12.9952 2.60938 12.9952H19.5144L16.2225 16.2799C16.0886 16.4145 16.0135 16.5967 16.0135 16.7866C16.0135 16.9765 16.0886 17.1586 16.2225 17.2933C16.3572 17.4272 16.5393 17.5023 16.7292 17.5023C16.9191 17.5023 17.1013 17.4272 17.2359 17.2933L21.8072 12.722C21.8687 12.663 21.9177 12.5922 21.9511 12.5137C21.9846 12.4353 22.0018 12.3509 22.0018 12.2656C22.0018 12.1804 21.9846 12.096 21.9511 12.0176C21.9177 11.9391 21.8687 11.8683 21.8072 11.8092L17.2431 7.23079C17.1763 7.16343 17.0968 7.10996 17.0092 7.07347C16.9216 7.03698 16.8277 7.01819 16.7328 7.01819C16.6379 7.01819 16.544 7.03698 16.4564 7.07347C16.3688 7.10996 16.2893 7.16343 16.2225 7.23079Z" fill="#023042"/> 549 </svg> 550 </button>`, 551 }); 552 553 /* $('.case-study-slideshow .body').slick({ 554 arrows: false, 555 dots: true, 556 speed: 800, 557 fade: true, 558 autoplay: true, 559 autoplaySpeed: 5000, 560 customPaging: function(slick,index) { 561 var targetTitle = slick.$slides.eq(index).find('.title-for-nav').text(); 562 return targetTitle; 563 }, 564 appendDots: $('.case-study-slideshow .head nav') 565 }); */ 566 567 /* 568 $('.case-study-slideshow .slide .text').each(function() { 569 if($(this).height() > 120){ 570 $(this).readmore({ 571 collapsedHeight: 120, 572 speed: 500, 573 moreLink: '<a href="#"><strong>... Read More</strong></a>', 574 lessLink: '<a href="#"><strong>Close</strong></a>' 575 }); 576 } 577 }); 578 */ 579 580 $('.podcast-post .more .cta button').on('click', function(e) { 581 var button = $(this); 582 var content = button.parents('.more').find('.content'); 583 button.toggleClass('opened'); 584 content.toggle(); 585 }); 586 587 $('.studies-story-filter').on('click', function () { 588 589 var $filter = $(this); 590 var term = $filter.data('term'); 591 592 // If this filter is already active 593 if ($filter.hasClass('active')) { 594 595 // Remove active state 596 $filter.removeClass('active'); 597 598 // Hide all posts 599 $('.studies-story-item').removeClass('is-visible'); 600 601 return; 602 } 603 604 // Remove active state from all filters 605 $('.studies-story-filter').removeClass('active'); 606 607 // Add active state to clicked filter 608 $filter.addClass('active'); 609 610 // Hide all posts first 611 $('.studies-story-item').removeClass('is-visible'); 612 613 // Show posts matching the selected term 614 $('.studies-story-item.term-' + term).addClass('is-visible'); 615 616 }); 617 $('.studies-story-filter:first').click(); 618 619});
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.