PageSourceSearch

https://bootcampdigital.com/wp-content/themes/bootcamp/assets/js/main.js?ver=1747160790

js bootcampdigital.com collected 2026-10-02 04:26:07 UTC 44,237 bytes, 1,134 lines download raw bytes

1document.addEventListener("DOMContentLoaded", function() {
2    document.querySelectorAll("#billing_email, #billing_first_name, #billing_last_name, #billing_address_1, #billing_postcode, #billing_phone, #billing_city").forEach(function(input) {
3        input.setAttribute("autocomplete", "off");
4        input.setAttribute("autocorrect", "off");
5        input.setAttribute("autocapitalize", "off");
6        input.setAttribute("spellcheck", "false");
7    });
8});
9
10(function ($) {
11    "use strict";
12    jQuery(document).ready(function ($) {
13        
14        $(document).ready(function() {
15            $('#dropdown-button').on('click', function() {
16                $('#dropdown-options').toggle();
17            });
18        
19            $('#dropdown-options li').on('click', function() {
20                var selectedValue = $(this).data('value');
21                $('#dropdown-button').text($(this).text());
22                $('#dropdown-options').hide();
23                $('#dropdown-options li').removeClass('selected');
24                $(this).addClass('selected');
25                
26                if (selectedValue === 'all') {
27                    $('.tpost').show();  
28                } else {
29                    $('.tpost').each(function() {
30                        var postCategory = $(this).data('cat');
31                        if (postCategory === selectedValue) {
32                            $(this).show();
33                        } else {
34                            $(this).hide();
35                        }
36                    });
37                }
38        
39            });
40        
41            $(document).on('click', function(event) {
42                if (!$(event.target).closest('.custom-select').length) {
43                    $('#dropdown-options').hide();
44                }
45            });
46        });
47        
48		$("#pc-rmore").click(function(){
49		  $(".plain-content").removeClass("pc-rmore");
50		  $("#pc-rmore").remove();
51		});
52		
53        $(".trainer-item").click(function(){
54          $(this).addClass("act");
55        });		
56
57        $(".tp-close").click(function(){
58          $(".trainer-item").removeClass("act");
59        });		
60
61		$(document).ready(function() {
62			var resultCount = $('.wpc-posts-found').html(); 
63			$('.woo-result-count').html(resultCount);
64			$('.woo-result-count .wpc-posts-found-number').parent().parent().addClass("fe-count-active");
65		});		
66		
67		jQuery(document).on('ready', function(e){		
68			var resultCount = $('.wpc-posts-found').html(); 
69			$('.woo-result-count').html(resultCount);
70			
71			if ($('.woo-result-count').find('.wpc-posts-found-number').length) {
72				$('.woo-result-count').addClass("fe-count-active");
73			} else {
74				$('.woo-result-count').removeClass("fe-count-active");
75			}
76			
77		});
78		
79        $('.mainmenu li.menu-item-has-children').prepend("<span></span>");
80		
81        $('.related-books-slider').slick({
82            dots: true,
83            arrows: true,
84            infinite: true,
85            speed: 300,
86            slidesToShow: 4,
87            slidesToScroll: 1,
88            centerMode: false,
89            autoplay: true,
90            prevArrow: "<button class='slick-prev slick-arrow slick-disabled' aria-label='Previous' type='button' aria-disabled='true'><svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-left'><polyline points='15 18 9 12 15 6'></polyline></svg><span class='d-none'>PREV</span></button>",
91            nextArrow: "<button class='slick-next slick-arrow' aria-label='Next' type='button' aria-disabled='false'><svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-right'><polyline points='9 18 15 12 9 6'></polyline></svg><span class='d-none'>NEXT</span></button>",
92            responsive: [
93                {
94                    breakpoint: 1024,
95                    settings: {
96                        slidesToShow: 3,
97                    }
98                },
99                {
100                    breakpoint: 991,
101                    settings: {
102                        slidesToShow: 3,
103                        arrows: true,
104                        centerMode: false,
105                    }
106                },
107                {
108                    breakpoint: 800,
109                    settings: {
110                        slidesToShow: 3,
111                        arrows: true,
112                        centerMode: false,
113                    }
114                },
115                {
116                    breakpoint: 750,
117                    settings: {
118                        slidesToShow: 2,
119                        arrows: true,
120                        centerMode: false,
121                    }
122                },
123                {
124                    breakpoint: 600,
125                    settings: {
126                        slidesToShow: 1,
127                        arrows: true,
128                        centerMode: false,
129                    }
130                },
131                {
132                    breakpoint: 480,
133                    settings: {
134                        slidesToShow: 1,
135                        arrows: true,
136                        centerMode: false,
137                    }
138                }
139
140              ]
141        });
142		
143		$(".clients-carousel").slick({
144			arrows: false,
145			speed: 5000,
146			autoplay: true,
147			autoplaySpeed: 0,
148			cssEase: 'linear',
149			slidesToShow: 8,
150			slidesToScroll: 1,
151			infinite: true,
152			swipeToSlide: false,
153			centerMode: true,
154			focusOnSelect: true,
155			variableWidth: true,
156			responsive: [
157				{
158					breakpoint: 750,
159					settings: {
160						slidesToShow: 3,
161					}
162				},
163				{
164					breakpoint: 480,
165					settings: {
166						slidesToShow: 2,
167					}
168				}
169			]
170		});		
171		
172        $('.course-tab-slider').slick({
173            dots: false,
174            arrows: true,
175            infinite: true,
176            speed: 300,
177            slidesToShow: 4,
178            slidesToScroll: 1,
179            centerMode: false,
180            autoplay: true,
181            prevArrow: "<button class='slick-prev slick-arrow slick-disabled' aria-label='Previous' type='button' aria-disabled='true'><svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-left'><polyline points='15 18 9 12 15 6'></polyline></svg><span class='d-none'>PREV</span></button>",
182            nextArrow: "<button class='slick-next slick-arrow' aria-label='Next' type='button' aria-disabled='false'><svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-right'><polyline points='9 18 15 12 9 6'></polyline></svg><span class='d-none'>NEXT</span></button>",
183            responsive: [
184                {
185                    breakpoint: 1024,
186                    settings: {
187                        slidesToShow: 3,
188                    }
189                },
190                {
191                    breakpoint: 991,
192                    settings: {
193                        slidesToShow: 3,
194                        arrows: true,
195                        centerMode: false,
196                    }
197                },
198                {
199                    breakpoint: 800,
200                    settings: {
201                        slidesToShow: 3,
202                        arrows: true,
203                        centerMode: false,
204                    }
205                },
206                {
207                    breakpoint: 750,
208                    settings: {
209                        slidesToShow: 2,
210                        arrows: true,
211                        centerMode: false,
212                    }
213                },
214                {
215                    breakpoint: 600,
216                    settings: {
217                        slidesToShow: 1,
218                        arrows: true,
219                        centerMode: false,
220                    }
221                },
222                {
223                    breakpoint: 480,
224                    settings: {
225                        slidesToShow: 1,
226                        arrows: true,
227                        centerMode: false,
228                    }
229                }
230
231              ]
232        });
233
234        $('.testimonial-slider').slick({
235            dots: true,
236            arrows: true,
237            infinite: true,
238            speed: 300,
239            slidesToShow: 4,
240            slidesToScroll: 1,
241            centerMode: false,
242            autoplay: true,
243            prevArrow: "<button class='slick-prev slick-arrow slick-disabled' aria-label='Previous' type='button' aria-disabled='true'><svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-left'><polyline points='15 18 9 12 15 6'></polyline></svg><span class='d-none'>PREV</span></button>",
244            nextArrow: "<button class='slick-next slick-arrow' aria-label='Next' type='button' aria-disabled='false'><svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-right'><polyline points='9 18 15 12 9 6'></polyline></svg><span class='d-none'>NEXT</span></button>",
245            responsive: [
246                {
247                    breakpoint: 1024,
248                    settings: {
249                        slidesToShow: 2,
250                    }
251                },
252                {
253                    breakpoint: 991,
254                    settings: {
255                        slidesToShow: 2,
256                        arrows: true,
257                        centerMode: false,
258						dots:false,
259                        appendArrows: $('.testimonial-nav'),
260                    }
261                },
262                {
263                    breakpoint: 800,
264                    settings: {
265                        slidesToShow: 2,
266                        arrows: true,
267                        centerMode: false,
268						dots:false,
269                        appendArrows: $('.testimonial-nav'),
270                    }
271                },
272                {
273                    breakpoint: 750,
274                    settings: {
275                        slidesToShow: 2,
276                        arrows: true,
277                        centerMode: false,
278						dots:false,
279                        appendArrows: $('.testimonial-nav'),
280                    }
281                },
282                {
283                    breakpoint: 600,
284                    settings: {
285                        slidesToShow: 1,
286                        arrows: true,
287                        centerMode: false,
288						dots:false,
289                        appendArrows: $('.testimonial-nav'),
290                    }
291                },
292                {
293                    breakpoint: 480,
294                    settings: {
295                        slidesToShow: 1,
296                        arrows: true,
297                        centerMode: false,
298						dots:false,
299                        appendArrows: $('.testimonial-nav'),
300                    }
301                }
302
303              ]
304        });
305
306        $('.icon-v-slider').slick({
307            dots: false,
308            arrows: false,
309            infinite: false,
310            speed: 300,
311            slidesToScroll: 1,
312            centerMode: false,
313            autoplay: false,
314            draggable: false,
315            focusOnSelect: true,
316            responsive: [
317                {
318                    breakpoint: 1024,
319                    settings: {
320                        slidesToShow: 2,
321                    }
322                },
323                {
324                    breakpoint: 991,
325                    settings: {
326                        slidesToShow: 1,
327                        dots: true,
328                        centerMode: false,
329                        autoplay: true,
330                        draggable: true,
331                    }
332                },
333                {
334                    breakpoint: 800,
335                    settings: {
336                        slidesToShow: 1,
337                        dots: true,
338                        centerMode: false,
339                        autoplay: true,
340                        draggable: true,
341                    }
342                },
343                {
344                    breakpoint: 750,
345                    settings: {
346                        slidesToShow: 1,
347                        dots: true,
348                        centerMode: false,
349                        autoplay: true,
350                        draggable: true,
351                    }
352                },
353                {
354                    breakpoint: 600,
355                    settings: {
356                        slidesToShow: 2,
357                        dots: true,
358                        centerMode: false,
359                        autoplay: true,
360                        draggable: true,
361                    }
362                },
363                {
364                    breakpoint: 480,
365                    settings: {
366                        slidesToShow: 2,
367                        dots: true,
368                        centerMode: false,
369                        autoplay: true,
370                        draggable: true,
371                    }
372                }
373
374              ]
375        });
376
377        $('.image-gallery-slider').slick({
378            dots: true,
379            arrows: true,
380            infinite: true,
381            speed: 300,
382            slidesToShow: 5,
383            slidesToScroll: 1,
384            centerMode: false,
385            variableWidth: true,
386            autoplay: true,
387            prevArrow: "<button class='slick-prev slick-arrow slick-disabled' aria-label='Previous' type='button' aria-disabled='true'><svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-left'><polyline points='15 18 9 12 15 6'></polyline></svg><span class='d-none'>PREV</span></button>",
388            nextArrow: "<button class='slick-next slick-arrow' aria-label='Next' type='button' aria-disabled='false'><svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-right'><polyline points='9 18 15 12 9 6'></polyline></svg><span class='d-none'>NEXT</span></button>",
389            responsive: [
390                {
391                    breakpoint: 1024,
392                    settings: {
393                        slidesToShow: 5,
394                    }
395                },
396                {
397                    breakpoint: 991,
398                    settings: {
399                        slidesToShow: 4,
400                        arrows: true,
401                        centerMode: false,
402                    }
403                },
404                {
405                    breakpoint: 800,
406                    settings: {
407                        slidesToShow: 4,
408                        arrows: true,
409                        centerMode: false,
410                    }
411                },
412                {
413                    breakpoint: 750,
414                    settings: {
415                        slidesToShow: 3,
416                        arrows: true,
417                        centerMode: false,
418                    }
419                },
420                {
421                    breakpoint: 600,
422                    settings: {
423                        slidesToShow: 2,
424                        arrows: true,
425                        centerMode: false,
426                    }
427                },
428                {
429                    breakpoint: 480,
430                    settings: {
431                        slidesToShow: 2,
432                        arrows: true,
433                        centerMode: false,
434                    }
435                }
436
437              ]
438        });
439
440        $('.slide-three-column').slick({
441            dots: false,
442            arrows: true,
443            infinite: true,
444            speed: 300,
445            slidesToShow: 3,
446            slidesToScroll: 1,
447            centerMode: false,
448            autoplay: true,
449            prevArrow: "<button class='slick-prev slick-arrow slick-disabled' aria-label='Previous' type='button' aria-disabled='true'><svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-left'><polyline points='15 18 9 12 15 6'></polyline></svg><span class='d-none'>PREV</span></button>",
450            nextArrow: "<button class='slick-next slick-arrow' aria-label='Next' type='button' aria-disabled='false'><svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-right'><polyline points='9 18 15 12 9 6'></polyline></svg><span class='d-none'>NEXT</span></button>",
451            responsive: [
452                {
453                    breakpoint: 991,
454                    settings: {
455                        slidesToShow: 3,
456                        
457                        centerMode: false,
458                    }
459                },
460                {
461                    breakpoint: 800,
462                    settings: {
463                        slidesToShow: 3,
464                       
465                        centerMode: false,
466                    }
467                },
468                {
469                    breakpoint: 750,
470                    settings: {
471                        slidesToShow: 2,
472                        dots: true,
473                        infinite: true
474                    }
475                },
476                {
477                    breakpoint: 600,
478                    settings: {
479                        slidesToShow: 1,
480                        dots: true,
481                        infinite: true
482                    }
483                },
484                {
485                    breakpoint: 480,
486                    settings: {
487                        slidesToShow: 1,
488                        dots: true,
489                        infinite: true,
490                    }
491                }
492
493              ]
494        });
495		
496		$('.slide-three-column-v2').slick({
497            dots: false,
498            arrows: true,
499            infinite: true,
500            speed: 300,
501            slidesToShow: 3,
502            slidesToScroll: 1,
503            centerMode: false,
504            autoplay: true,
505            prevArrow: "<button class='slick-prev slick-arrow slick-disabled' aria-label='Previous' type='button' aria-disabled='true'><svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-left'><polyline points='15 18 9 12 15 6'></polyline></svg><span class='d-none'>PREV</span></button>",
506            nextArrow: "<button class='slick-next slick-arrow' aria-label='Next' type='button' aria-disabled='false'><svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-right'><polyline points='9 18 15 12 9 6'></polyline></svg><span class='d-none'>NEXT</span></button>",
507            responsive: [
508                {
509                    breakpoint: 991,
510                    settings: {
511                        slidesToShow: 3,
512                        
513                        centerMode: false,
514                    }
515                },
516                {
517                    breakpoint: 800,
518                    settings: {
519                        slidesToShow: 3,
520                       
521                        centerMode: false,
522                    }
523                },
524                {
525                    breakpoint: 750,
526                    settings: {
527                        slidesToShow: 2,
528                        dots: true,
529                        infinite: false
530                    }
531                },
532                {
533                    breakpoint: 600,
534                    settings: {
535                        slidesToShow: 2,
536                        dots: true,
537						 infinite: false
538                    }
539                },
540                {
541                    breakpoint: 480,
542                    settings: {
543                        slidesToShow: 2,
544                        dots: true,
545						 infinite: false
546                    }
547                }
548
549              ]
550        });
551
552        $('.image-gallery-slider-side').slick({
553            dots: false,
554            arrows: false,
555            infinite: true,
556            speed: 300,
557            slidesToShow: 2,
558            slidesToScroll: 1,
559            centerMode: false,
560            autoplay: true,
561            prevArrow: "<button class='slick-prev slick-arrow slick-disabled' aria-label='Previous' type='button' aria-disabled='true'><svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-left'><polyline points='15 18 9 12 15 6'></polyline></svg><span class='d-none'>PREV</span></button>",
562            nextArrow: "<button class='slick-next slick-arrow' aria-label='Next' type='button' aria-disabled='false'><svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-right'><polyline points='9 18 15 12 9 6'></polyline></svg><span class='d-none'>NEXT</span></button>",
563            responsive: [
564                {
565                    breakpoint: 1024,
566                    settings: {
567                        slidesToShow: 2,
568                    }
569                },
570                {
571                    breakpoint: 991,
572                    settings: {
573                        slidesToShow: 3,
574                        arrows: true,
575                        centerMode: false,
576                    }
577                },
578                {
579                    breakpoint: 800,
580                    settings: {
581                        slidesToShow: 3,
582                        arrows: true,
583                        centerMode: false,
584                    }
585                },
586                {
587                    breakpoint: 750,
588                    settings: {
589                        slidesToShow: 3,
590                        arrows: true,
591                        centerMode: false,
592                    }
593                },
594                {
595                    breakpoint: 600,
596                    settings: {
597                        slidesToShow: 2,
598                        arrows: true,
599                        centerMode: false,
600                    }
601                },
602                {
603                    breakpoint: 480,
604                    settings: {
605                        slidesToShow: 2,
606                        arrows: true,
607                        centerMode: false,
608                    }
609                }
610
611              ]
612        });
613
614        $('.vertical-slider').slick({
615            dots: true,
616            arrows: false,
617            infinite: false,
618            speed: 300,
619            slidesToShow: 1,
620            slidesToScroll: 1,
621            centerMode: false,
622            autoplay: true,
623            fade: true
624        });
625		
626		  $('.related-link-slider ').slick({
627			  	rows: 2,
628            dots: false,
629            arrows: true,
630            infinite: true,
631            slidesToShow: 4,
632            slidesToScroll: 1,
633            centerMode: false,
634            speed: 600,
635            autoplay: true,
636            autoplaySpeed: 4000,
637            variableWidth: true,
638			   prevArrow: "<button class='slick-prev slick-arrow slick-disabled' aria-label='Previous' type='button' aria-disabled='true'><svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-left'><polyline points='15 18 9 12 15 6'></polyline></svg><span class='d-none'>PREV</span></button>",
639            nextArrow: "<button class='slick-next slick-arrow' aria-label='Next' type='button' aria-disabled='false'><svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-right'><polyline points='9 18 15 12 9 6'></polyline></svg><span class='d-none'>NEXT</span></button>",
640            responsive: [
641                {
642                    breakpoint: 1050,
643                    settings: {
644                        slidesToShow: 5,
645                        autoplay: true,
646                    }
647                },
648                {
649                    breakpoint: 991,
650                    settings: {
651                        slidesToShow: 5,
652                        autoplay: true,
653                    }
654                },
655                {
656                    breakpoint: 800,
657                    settings: {
658                        slidesToShow: 5,
659                        autoplay: true,
660						appendArrows: $('.related-link-nav'),
661                    }
662                },
663                {
664                    breakpoint: 750,
665                    settings: {
666                        slidesToShow: 3,
667                        autoplay: true,
668						appendArrows: $('.related-link-nav'),
669                    }
670                },
671                {
672                    breakpoint: 600,
673                    settings: {
674                        slidesToShow: 3,
675                        autoplay: true,
676						appendArrows: $('.related-link-nav'),
677                    }
678                },
679                {
680                    breakpoint: 480,
681                    settings: {
682                        slidesToShow: 2,
683                        autoplay: true,
684						appendArrows: $('.related-link-nav'),
685                    }
686                }
687
688              ]
689        });
690		
691		$('.related-link-slider-alt').slick({
692		    rows: 2,
693            dots: false,
694            arrows: true,
695            infinite: true,
696            slidesToShow: 3,
697            slidesToScroll: 1,
698            centerMode: false,
699            speed: 600,
700            autoplay: true,
701            autoplaySpeed: 4000,
702			   pauseOnHover: true,
703			   prevArrow: "<button class='slick-prev slick-arrow slick-disabled' aria-label='Previous' type='button' aria-disabled='true'><svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-left'><polyline points='15 18 9 12 15 6'></polyline></svg><span class='d-none'>PREV</span></button>",
704            nextArrow: "<button class='slick-next slick-arrow' aria-label='Next' type='button' aria-disabled='false'><svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-right'><polyline points='9 18 15 12 9 6'></polyline></svg><span class='d-none'>NEXT</span></button>",
705            responsive: [
706                {
707                    breakpoint: 1050,
708                    settings: {
709                        slidesToShow: 3,
710                        autoplay: true,
711                    }
712                },
713                {
714                    breakpoint: 991,
715                    settings: {
716                        slidesToShow: 2,
717                        autoplay: true,
718                    }
719                },
720                {
721                    breakpoint: 800,
722                    settings: {
723                        slidesToShow: 2,
724                        autoplay: true,
725						appendArrows: $('.related-link-nav-alt'),
726                    }
727                },
728                {
729                    breakpoint: 750,
730                    settings: {
731                        slidesToShow: 2,
732                        autoplay: true,
733						appendArrows: $('.related-link-nav-alt'),
734                    }
735                },
736                {
737                    breakpoint: 600,
738                    settings: {
739                        slidesToShow: 2,
740                        autoplay: true,
741						appendArrows: $('.related-link-nav-alt'),
742                    }
743                },
744                {
745                    breakpoint: 480,
746                    settings: {
747                        slidesToShow: 2,
748                        autoplay: true,
749						appendArrows: $('.related-link-nav-alt'),
750                    }
751                }
752
753              ]
754        });
755
756        $('.related-link-slider-new').slick({
757            dots: false,
758            arrows: true,
759            infinite: true,
760            slidesToShow: 3,
761            slidesToScroll: 1,
762            centerMode: false,
763            speed: 600,
764            autoplay: true,
765            autoplaySpeed: 4000,
766			   pauseOnHover: true,
767			   prevArrow: "<button class='slick-prev slick-arrow slick-disabled' aria-label='Previous' type='button' aria-disabled='true'><svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-left'><polyline points='15 18 9 12 15 6'></polyline></svg><span class='d-none'>PREV</span></button>",
768            nextArrow: "<button class='slick-next slick-arrow' aria-label='Next' type='button' aria-disabled='false'><svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-right'><polyline points='9 18 15 12 9 6'></polyline></svg><span class='d-none'>NEXT</span></button>",
769            responsive: [
770                {
771                    breakpoint: 1050,
772                    settings: {
773                        slidesToShow: 3,
774                        autoplay: true,
775                    }
776                },
777                {
778                    breakpoint: 991,
779                    settings: {
780                        slidesToShow: 2,
781                        autoplay: true,
782                    }
783                },
784                {
785                    breakpoint: 800,
786                    settings: {
787                        slidesToShow: 2,
788                        autoplay: true,
789						appendArrows: $('.related-link-nav-alt'),
790                    }
791                },
792                {
793                    breakpoint: 750,
794                    settings: {
795                        slidesToShow: 2,
796                        autoplay: true,
797						appendArrows: $('.related-link-nav-alt'),
798                    }
799                },
800                {
801                    breakpoint: 600,
802                    settings: {
803                        slidesToShow: 2,
804                        autoplay: true,
805						appendArrows: $('.related-link-nav-alt'),
806                    }
807                },
808                {
809                    breakpoint: 480,
810                    settings: {
811                        slidesToShow: 1,
812                        autoplay: true,
813						appendArrows: $('.related-link-nav-alt'),
814                    }
815                }
816
817              ]
818        });
819
820
821        $('button[data-bs-toggle="tab"]').on('shown.bs.tab', function (e) {
822            e.target
823            e.relatedTarget
824            $('.course-tab-slider').slick('setPosition');
825        });
826
827        $('.read-more-btn').click(function () {
828            $(this).parent().parent().toggleClass('active');
829            if ($(this).parent().parent().hasClass('active')) {
830                $('.read-more-btn').text('See Less');
831            } else {
832                $('.read-more-btn').text('See More');
833            }
834        });
835
836        $('.filterBTN').click(function () {
837            $('.filter-sidebar-fixed').addClass('active');
838        });
839
840        $('.closeFilter').click(function () {
841            $('.filter-sidebar-fixed').removeClass('active');
842        });
843
844
845        $(".mainmenu ul li:has(ul)").addClass("has-submenu");
846        $(".mainmenu ul li:has(ul)").addClass("small-submenu");
847        $(".mainmenu ul li ul").addClass("sub-menu");
848        $(".mainmenu ul.dropdown li").hover(function () {
849            $(this).addClass("hover");
850        }, function () {
851            $(this).removeClass("hover");
852        });
853        var $menu = $("#menu"),
854            $menulink = $("#menu-toggle"),
855            $header = $(".header-area"),
856            $searchTrigger = $(".searchToggle"),
857            $menuTriggercont = $("#menu_handler"),
858            $menuTrigger = $(".has-submenu > span"),
859            $megamenuTrigger = $(".megamenu > li > span");
860        $menulink.click(function (e) {
861            $menulink.toggleClass("active");
862            $menu.toggleClass("active");
863            $menuTriggercont.toggleClass("active");
864            $header.toggleClass("active");
865            $(".header-search").slideUp();
866        });
867
868        $menuTrigger.click(function (e) {
869            e.preventDefault();
870            var t = $(this).next();
871            t.toggleClass("active");
872            t.toggleClass("active").next("ul").toggleClass("active");
873            t.toggleClass("active").next(".megamenu-holder").toggleClass("active");
874        });
875
876        $megamenuTrigger.click(function (e) {
877            e.preventDefault();
878            var t = $(this).next();
879            t.toggleClass("active").next(".mega-submenu").toggleClass("active");
880        });
881
882        $searchTrigger.click(function (e) {
883            $menulink.removeClass("active");
884            $menu.removeClass("active");
885
886            $menuTriggercont.removeClass("active");
887            $(".header-search").slideToggle();
888        });
889
890        $(".mainmenu ul li:has(ul)");
891
892        const accordions = document.querySelectorAll(".footer-top");
893        for (const accordion of accordions) {
894            const panels = accordion.querySelectorAll(".footer_acc");
895            for (const panel of panels) {
896                const head = panel.querySelector(".footer_title");
897                head.addEventListener('click', () => {
898                    for (const otherPanel of panels) {
899                        if (otherPanel !== panel) {
900                            otherPanel.classList.remove('acc');
901                        }
902                    }
903                    panel.classList.toggle('acc');
904                });
905            }
906        };
907		
908		$('.g-image-popup').magnificPopup({
909            type: 'image',
910            mainClass: 'mfp-with-zoom',
911            gallery: {
912                enabled: true
913            },
914
915            zoom: {
916                enabled: true,
917
918                duration: 300, // duration of the effect, in milliseconds
919                easing: 'ease-in-out', // CSS transition easing function
920
921                opener: function (openerElement) {
922
923                    return openerElement.is('img') ? openerElement : openerElement.find('img');
924                }
925            }
926
927        });
928
929    });
930
931    window.onload = function () {
932
933        var $container = $(".masonry");
934        $container.masonry({
935            percentPosition: true
936        });
937    };
938
939    $(document).on('click', '.tabsDropdown_holder ul li button', function (e) {
940        e.preventDefault();
941        var selectedText = $(this).text();
942        $('#mobileDropdown').text(selectedText);
943    });
944
945jQuery(document).ready(function($) {
946    let typingTimer;
947    const typingInterval = 300; 
948
949    $(document).on('click', function(event) {
950        if (!$(event.target).closest('#ajax-live-search-container').length) {
951            $('#ajax-live-search-results').empty().hide();
952            $("#ajax-live-search-container > input").val(''); 
953        }
954    }); 
955
956    var typingTimers; 
957    var doneTypingInterval = 3000; 
958
959    $('#ajax-live-search-input').on('keyup', function(){
960        $('#ajax-live-search-input').addClass('loading'); 
961        clearTimeout(typingTimers);
962        typingTimers = setTimeout(function(){
963            $('#ajax-live-search-input').removeClass('loading'); 
964        }, doneTypingInterval);
965    }); 
966
967    $('#ajax-live-search-input').keydown(function(event) {
968        if (event.key === 'Enter') {
969            var searchQuery = $(this).val().trim();
970            if (searchQuery !== '') {
971                window.location.href = '?s=' + encodeURIComponent(searchQuery) + '&post_type=courses';
972            }
973        }
974    }); 
975
976    $('#ajax-live-search-input').on('keyup', function() {
977        clearTimeout(typingTimer);
978        const query = $(this).val();
979        if (query.length > 0) {
980            typingTimer = setTimeout(function() {
981                $.ajax({
982					url: 'https://bootcampdigital.com/wp-admin/admin-ajax.php', 
983                    method: 'POST',
984                    data: {
985                        action: 'fetch_data',
986                        query: query
987                    },
988                    success: function(response) {
989                        var homeUrl = window.location.origin + window.location.pathname.split('/').slice(0, 2).join('/') + '/';
990                        var html = '<div class="ajax-live-search-results">';
991                        let hasResults = false;
992
993                        if (response.courses.length > 0) {  
994                            hasResults = true;
995                            html += '<h3 class="d-flex align-items-center justify-content-between">Courses <a href="https://bootcampdigital.com/?s=' + encodeURIComponent(query) + '">See More &rarr;</a></h3><ul class="courses">';
996                            response.courses.forEach(function(course) {
997								var imageSrc = course.image && course.image.trim() !== '' ? course.image : 'https://bootcampdigital.com/wp-content/uploads/2025/03/course-placeholder.webp';
998								html += '<li><a href="' + course.link + '"><div class="image"><img src="' + imageSrc + '" alt="' + course.title + '"></div>' + course.title + '</a></li>';		                            });
999                            html += '</ul>';
1000                        }
1001
1002						var combinedListHtml = '';
1003						if (response.topics.length > 0 || response.categories.length > 0) {
1004							hasResults = true;
1005							combinedListHtml += '<h3>Topics</h3><ul class="scat">';
1006
1007							response.topics.forEach(function(topic) {
1008								combinedListHtml += '<li><a href="' + topic.link + '">' + topic.name + '</a></li>';
1009							});
1010
1011							response.categories.forEach(function(category) {
1012								combinedListHtml += '<li><a href="' + category.link + '">' + category.name + '</a></li>';
1013							});
1014
1015							combinedListHtml += '</ul>';
1016						}					
1017
1018						html += combinedListHtml;
1019						html += '</div>';
1020
1021                        if (hasResults) {
1022                            $('#ajax-live-search-results').html(html).show();
1023                        } else {
1024                            $('#ajax-live-search-results').empty().hide();
1025                        }
1026                    }
1027                });
1028            }, typingInterval);
1029        } else {
1030            $('#ajax-live-search-results').empty().hide();
1031        }
1032    });
1033	
1034	
1035	  $(document).ready(function($) {
1036            function checkFieldValue(field) {
1037                if ($(field).val().trim() !== '') {
1038                    $(field).closest('.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper .form-row, .woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row, .checkout-field, .woocommerce-checkout .customer_info .form-row').addClass('focused-field');
1039                } else {
1040                    $(field).closest('.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper .form-row, .woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row, .checkout-field, .woocommerce-checkout .customer_info .form-row').removeClass('focused-field');
1041                }
1042            }
1043
1044            $('.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper .form-row select, .woocommerce-checkout .woocommerce-shipping-fields__field-wrapper .form-row input, .woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row input, .woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row select, .checkout-field input, .woocommerce-checkout .customer_info .form-row input')
1045                .on('focus', function() {
1046                    $(this).closest('.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper .form-row, .woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row, .checkout-field, .woocommerce-checkout .customer_info .form-row').addClass('focused-field');
1047                })
1048                .on('blur', function() {
1049                    checkFieldValue(this);
1050                })
1051                .each(function() {
1052                    checkFieldValue(this); // Check on page load for pre-selected values
1053                });
1054        });
1055	
1056$('body.single-post .post-content a').filter(function () {
1057    return /\.(jpe?g|png|gif|webp|avif)$/i.test($(this).attr('href'));
1058}).magnificPopup({
1059    type: 'image',
1060    mainClass: 'mfp-with-zoom',
1061    gallery: {
1062        enabled: true
1063    },
1064    zoom: {
1065        enabled: true,
1066        duration: 300,
1067        easing: 'ease-in-out',
1068        opener: function (openerElement) {
1069            return openerElement.is('img') ? openerElement : openerElement.find('img');
1070        }
1071    }
1072});
1073
1074	
1075	
1076	
1077});
1078
1079
1080}(jQuery));
1081document.querySelectorAll(".vimeo-video-container").forEach(container => {
1082    const iframe = container.querySelector(".vimeoPlayer");
1083    const toggleBtn = container.querySelector(".toggleBtn");
1084    const toggleIcon = container.querySelector(".toggleIcon");
1085
1086    const player = new Vimeo.Player(iframe);
1087
1088    let isPlaying = false;
1089
1090    function updateButtonState(playing) {
1091        if (playing) {
1092            toggleIcon.classList.remove("fa-play");
1093            toggleIcon.classList.add("fa-pause");
1094            toggleBtn.classList.add("active");
1095            container.classList.add("playing"); // Add class to container when playing
1096        } else {
1097            toggleIcon.classList.remove("fa-pause");
1098            toggleIcon.classList.add("fa-play");
1099            toggleBtn.classList.remove("active");
1100            container.classList.remove("playing"); // Remove class from container when paused
1101        }
1102        isPlaying = playing;
1103    }
1104
1105    toggleBtn.addEventListener("click", () => {
1106        if (isPlaying) {
1107            player.pause();
1108        } else {
1109            player.play();
1110        }
1111    });
1112
1113    player.on("play", () => updateButtonState(true));
1114
1115    player.on("pause", () => updateButtonState(false));
1116});
1117
1118
1119document.addEventListener('DOMContentLoaded', function() {
1120            const button = document.querySelector('.cct-dropdown-button');
1121            const dropdown = document.getElementById('cct-dropdownMenu');
1122
1123            button.addEventListener('click', function() {
1124                dropdown.classList.toggle('show');
1125                button.classList.toggle('active');
1126            });
1127
1128            window.addEventListener('click', function(event) {
1129                if (!event.target.closest('.cct-dropdown')) {
1130                    dropdown.classList.remove('show');
1131                    button.classList.remove('active');
1132                }
1133            });
1134        });

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.