1/*---------------------------------------------- 2* 3* [Main Scripts] 4 5----------------------------------------------*/ 6 7/*---------------------------------------------- 8 9[ALL CONTENTS] 10 111. Preloader 122. Responsive Menu 133. Navigation 144. Slides 155. Progress Bar 166. Shuffle 177. Sign and Register Form 188. Multi-Step Form 199. Simple Form 2010. Recaptcha 2111. Cookie Notice 22 23----------------------------------------------*/ 24 25/*---------------------------------------------- 261. Preloader 27----------------------------------------------*/ 28 29jQuery(function ($) { 30 31 'use strict'; 32 33 let preloader = $('.preloader'); 34 35 setTimeout(function() { 36 preloader.addClass('ready'); 37 38 }, preloader.data('timeout')) 39}) 40 41/*---------------------------------------------- 422. Responsive Menu 43----------------------------------------------*/ 44 45jQuery(function ($) { 46 47 'use strict'; 48 49 function navResponsive() { 50 51 let navbar = $('.navbar .items'); 52 let menu = $('#menu .items'); 53 54 menu.html(''); 55 navbar.clone().appendTo(menu); 56 57 $('.menu .icon-arrow-right').removeClass('icon-arrow-right').addClass('icon-arrow-down'); 58 } 59 60 navResponsive(); 61 62 $(window).on('resize', function () { 63 navResponsive(); 64 }) 65 66 $('.menu .dropdown-menu').each(function() { 67 var children = $(this).children('.dropdown').length; 68 $(this).addClass('children-'+children); 69 }) 70 71 72 $('.menu .nav-item.dropdown').each(function() { 73 var children = $(this).children('.nav-link'); 74 children.addClass('prevent'); 75 }) 76 77 $(document).on('click', '#menu .nav-item .nav-link', function (e) { 78 79 if($(this).hasClass('prevent')) { 80 e.preventDefault(); 81 } 82 83 var nav_link = $(this); 84 85 nav_link.next().toggleClass('show'); 86 87 if(nav_link.hasClass('smooth-anchor')) { 88 $('#menu').modal('hide'); 89 } 90 }) 91}) 92 93/*---------------------------------------------- 943. Navigation 95----------------------------------------------*/ 96 97jQuery(function ($) { 98 99 'use strict'; 100 101 var position = $(window).scrollTop(); 102 var navbar = $('.navbar'); 103 var toTop = $('#scroll-to-top'); 104 105 $(document).ready(function() { 106 if (position > 0) { 107 navbar.addClass('navbar-sticky'); 108 } 109 110 toTop.hide(); 111 }) 112 113 $(window).scroll(function () { 114 115 var scroll = $(window).scrollTop(); 116 117 if (!navbar.hasClass('relative')) { 118 119 // Down 120 if (scroll > position && window.screen.width > 767) { 121 122 if(navbar.hasClass('navbar-fixed')) { 123 navbar.addClass('navbar-sticky visible'); 124 } else { 125 navbar.removeClass('visible').addClass('navbar-sticky'); 126 } 127 128 toTop.fadeOut('fast'); 129 130 // Up 131 } else { 132 133 // Top 134 if ($(window).scrollTop() <= 50) { 135 navbar.removeClass('navbar-sticky').removeClass('visible'); 136 137 if(navbar.hasClass('navbar-no-fixed')) { 138 navbar.addClass('navbar-sticky').addClass('visible'); 139 } 140 141 } else { 142 143 if(!navbar.hasClass('navbar-no-fixed')) { 144 navbar.addClass('navbar-sticky').addClass('visible'); 145 } 146 } 147 148 if (position > 1023 && window.screen.width > 767) { 149 toTop.fadeIn('fast'); 150 151 } else { 152 toTop.fadeOut('fast'); 153 } 154 } 155 position = scroll; 156 } 157 }) 158 159 $('.nav-link').each(function() { 160 let href = $(this).attr('href'); 161 if (href.length > 1 && href.indexOf('#') != -1) { 162 $(this).addClass('smooth-anchor'); 163 } 164 }) 165 166 $(document).on('click', '.smooth-anchor', function (e) { 167 e.preventDefault(); 168 169 let href = $(this).attr('href'); 170 171 if (href.length > 1 && href.indexOf('#') != -1) { 172 $('html, body').animate({ 173 scrollTop: $($.attr(this, 'href')).offset().top 174 }, 500); 175 } 176 }) 177 178 $('.dropdown-menu').each(function () { 179 180 let dropdown = $(this); 181 182 dropdown.hover(function () { 183 dropdown.parent().find('.nav-link').first().addClass('active'); 184 185 }, function () { 186 dropdown.parent().find('.nav-link').first().removeClass('active'); 187 }) 188 }) 189}) 190 191/*---------------------------------------------- 1924. Slides 193----------------------------------------------*/ 194 195jQuery(function ($) { 196 197 setTimeout(function() { 198 $('.no-slider .left').addClass('init'); 199 $('.no-slider .right').addClass('init'); 200 }, 1200) 201 202 var animation = function(slider) { 203 204 let image = $(slider + ' .swiper-slide-active img'); 205 let title = $(slider + ' .title'); 206 let description = $(slider + ' .description'); 207 let btn = $(slider + ' .btn'); 208 let nav = $(slider + ' nav'); 209 210 image.toggleClass('aos-animate'); 211 title.toggleClass('aos-animate'); 212 description.toggleClass('aos-animate'); 213 btn.toggleClass('aos-animate'); 214 nav.toggleClass('aos-animate'); 215 216 setTimeout(function() { 217 image.toggleClass('aos-animate'); 218 title.toggleClass('aos-animate'); 219 description.toggleClass('aos-animate'); 220 btn.toggleClass('aos-animate'); 221 nav.toggleClass('aos-animate'); 222 223 AOS.refresh(); 224 225 }, 100) 226 227 if ($('.full-slider').hasClass('animation')) { 228 229 $('.full-slider .left').addClass('off'); 230 $('.full-slider .left').removeClass('init'); 231 $('.full-slider .right').addClass('off'); 232 $('.full-slider .right').removeClass('init'); 233 234 setTimeout(function() { 235 $('.full-slider .left').removeClass('off'); 236 $('.full-slider .right').removeClass('off'); 237 }, 200) 238 239 setTimeout(function() { 240 $('.full-slider .left').addClass('init'); 241 $('.full-slider .right').addClass('init'); 242 }, 1000) 243 244 } else { 245 $('.full-slider .left').addClass('init'); 246 $('.full-slider .right').addClass('init'); 247 } 248 } 249 250 var fullSlider = new Swiper('.full-slider', { 251 252 autoplay: { 253 delay: 10000, 254 }, 255 loop: true, 256 slidesPerView: 1, 257 spaceBetween: 0, 258 navigation: false, 259 pagination: { 260 el: '.full-slider .swiper-pagination', 261 clickable: true 262 }, 263 keyboard: { 264 enabled: true, 265 onlyInViewport: false 266 }, 267 on: { 268 init: function() { 269 animation('.full-slider'); 270 let pagination = $('.full-slider .swiper-pagination'); 271 pagination.hide(); 272 273 setTimeout(function() { 274 pagination.show(); 275 }, 2000) 276 277 }, 278 slideChange: function() { 279 animation('.full-slider') 280 } 281 } 282 }) 283 284 var midSlider = new Swiper('.mid-slider', { 285 286 autoplay: false, 287 loop: true, 288 slidesPerView: 1, 289 spaceBetween: 30, 290 breakpoints: { 291 767: { 292 slidesPerView: 2, 293 spaceBetween: 30 294 }, 295 1023: { 296 slidesPerView: 3, 297 spaceBetween: 30 298 } 299 }, 300 pagination: { 301 el: '.mid-slider .swiper-pagination', 302 clickable: true 303 } 304 }) 305 306 var midSliderSimple = new Swiper('.mid-slider-simple', { 307 308 autoplay: false, 309 loop: false, 310 centerInsufficientSlides: true, 311 slidesPerView: 1, 312 spaceBetween: 30, 313 breakpoints: { 314 767: { 315 slidesPerView: 2, 316 spaceBetween: 30 317 }, 318 1023: { 319 slidesPerView: 3, 320 spaceBetween: 30 321 } 322 }, 323 pagination: { 324 el: '.mid-slider-simple .swiper-pagination', 325 clickable: true 326 } 327 }) 328 329 var minSlider = new Swiper('.min-slider', { 330 331 autoplay: { 332 delay: 5000, 333 }, 334 loop: false, 335 centerInsufficientSlides: true, 336 slidesPerView: 2, 337 spaceBetween: 15, 338 breakpoints: { 339 424: { 340 slidesPerView: 2, 341 spaceBetween: 15 342 }, 343 767: { 344 slidesPerView: 3, 345 spaceBetween: 15 346 }, 347 1023: { 348 slidesPerView: 4, 349 spaceBetween: 15 350 }, 351 1199: { 352 slidesPerView: 5, 353 spaceBetween: 15 354 } 355 }, 356 pagination: false, 357 }) 358 359 var noSlider = new Swiper('.no-slider', { 360 361 autoplay: false, 362 loop: false, 363 keyboard: false, 364 grabCursor: false, 365 allowTouchMove: false, 366 on: { 367 init: function() { 368 animation('.no-slider') 369 } 370 } 371 }) 372}) 373 374/*----------------------------------------------
3755. Progress Bar 376----------------------------------------------*/ 377 378jQuery(function($) { 379 380 'use strict'; 381 382 function initCounter(section, item, duration) { 383 384 $(document).one('inview', item, function(event, inview) { 385 386 if (inview) { 387 388 $(item).each(function() { 389 390 var percent = $(this).data('percent'); 391 var pcolor = getComputedStyle(document.documentElement).getPropertyValue('--primary-color'); 392 var scolor = getComputedStyle(document.documentElement).getPropertyValue('--secondary-color'); 393 394 if ( $(section).hasClass('odd')) { 395 var tmode = 'rgba(255, 255, 255, 0.075)'; 396 } else { 397 var tmode = 'rgba(0, 0, 0, 0.075)'; 398 } 399 400 if ( $(section).hasClass('preloader') || $(section).hasClass('skills')) { 401 var symbol = '<i>%</i>'; 402 } else { 403 var symbol = ''; 404 } 405 406 if(section == '.counter.funfacts') { 407 var height = 70; 408 } else { 409 var height = 120; 410 } 411 412 $(this).radialProgress({ 413 value: (percent / 100), 414 size: height, 415 thickness: 10, 416 lineCap: 'butt', 417 emptyFill: tmode, 418 animation: { 419 duration: duration, 420 easing: "radialProgressEasing" 421 }, 422 fill: { 423 gradient: [[pcolor, 0.1], [scolor, 1]], 424 gradientAngle: Math.PI / 4 425 } 426 }).on('radial-animation-progress', function(event, progress) { 427 $(this).find('span').html(Math.round(percent * progress) + symbol); 428 }) 429 }) 430 } 431 }) 432 } 433 434 let preloader = $('.preloader'); 435 let preloader_timeout = ( preloader.data('timeout') - 300); 436 437 initCounter('.counter.preloader', '.counter.preloader .radial', preloader_timeout); 438 initCounter('.counter.funfacts', '.counter.funfacts .radial', 5000); 439 initCounter('.counter.skills', '.counter.skills .radial', 5000); 440}) 441 442/*---------------------------------------------- 4436. Shuffle 444----------------------------------------------*/ 445 446jQuery(function ($) { 447 448 'use strict'; 449 450 $('.filter-section').each(function(index) { 451 452 var count = index + 1; 453 454 $(this).find('.filter-items').removeClass('filter-items').addClass('filter-items-'+count); 455 $(this).find('.filter-item').removeClass('filter-item').addClass('filter-item-'+count); 456 $(this).find('.filter-sizer').removeClass('filter-sizer').addClass('filter-sizer-'+count); 457 $(this).find('.btn-filter-item').removeClass('btn-filter-item').addClass('btn-filter-item-'+count); 458 459 var Shuffle = window.Shuffle; 460 var Filter = new Shuffle(document.querySelector('.filter-items-'+count), { 461 itemSelector: '.filter-item-'+count, 462 sizer: '.filter-sizer-'+count, 463 buffer: 1, 464 }) 465 466 $('.btn-filter-item-'+count).on('change', function (e) { 467 468 var input = e.currentTarget; 469 470 if (input.checked) { 471 Filter.filter(input.value); 472 } 473 }) 474 }) 475}) 476 477/*---------------------------------------------- 4787. Sign and Register Form 479----------------------------------------------*/ 480 481jQuery(function ($) { 482 483 'use strict'; 484 485 $(document).on('click', 'a[data-target="#register"]', function() { 486 $('#sign').modal('hide'); 487 }) 488 489 $(document).on('click', 'a[data-target="#sign"]', function() { 490 $('#register').modal('hide'); 491 }) 492 493}) 494 495/*---------------------------------------------- 4968. Multi-Step Form 497----------------------------------------------*/ 498 499jQuery(function ($) { 500 501 'use strict'; 502 503 $(document).on('blur', '#leverage-form .field-email', function() { 504 505 let url = $('#leverage-form').attr('action'); 506 let email = $('#leverage-form .field-email').val(); 507 let wpnonce = $('#leverage_form_wpnonce').val(); 508 let data = { 509 'email':email, 510 'action':'leverage_contact_form', 511 'section':'leverage_form', 512 'leverage_form_wpnonce':wpnonce 513 }; 514 515 $.valid_email = false;
516 517 $.post(url, data, function(response) { 518 try { 519 JSON.parse(response); 520 var obj = JSON.parse(response); 521 522 if(obj.status == 'invalid' && obj.fields.email == true) { 523 $('#leverage-form .field-email').removeClass('valid').addClass('invalid'); 524 525 } else { 526 $('#leverage-form .field-email').removeClass('invalid').addClass('valid'); 527 $.valid_email = true; 528 } 529 530 } catch (e) { 531 alert('Sorry. We are experiencing problems with our server. Come back later to send your message.'); 532 } 533 }) 534 }) 535 536 var current_fs, next_fs, previous_fs; 537 var left, opacity, scale; 538 var animating; 539 540 function next(button, group, show, hide) { 541 542 $(document).on('click', button, function () { 543 $(group + ' .form-control').each(function () { 544 var minlength = $(this).data('minlength'); 545 546 if ($(this).val() == null || $(this).val() == '') { 547 var value = 0; 548 549 } else { 550 var value = $(this).val().length; 551 } 552 553 if (Number(minlength) <= Number(value)) { 554 $(this).removeClass('invalid').addClass('valid'); 555 556 } else { 557 $(this).removeClass('valid').addClass('invalid'); 558 } 559 560 if($.valid_email === false) { 561 $('#leverage-form .field-email').removeClass('valid').addClass('invalid'); 562 } 563 }) 564 565 let field = $(group).find('.form-control').length; 566 let valid = $(group).find('.valid').length; 567 568 if(!$('#leverage-form .field-email').length) { 569 $.valid_email = true; 570 } 571 572 if (field == valid && $.valid_email == true) { 573 574 if($('.multi-step-form').data('steps') == 1) { 575 var sendButton = '#step-next-1'; 576 577 } else if($('.multi-step-form').data('steps') == 2) { 578 var sendButton = '#step-next-2'; 579 580 } else { 581 var sendButton = '#step-next-3'; 582 } 583 584 if (button == sendButton) { 585 $('.progressbar').addClass('complete'); 586 } 587 588 if (button == sendButton) { 589 590 let height = $('.multi-step-form .success.message').parents().eq(1).height(); 591 let message = $('.multi-step-form .success.message'); 592 message.css('height', height); 593 message.addClass('active'); 594 595 $('.form-content').hide(); 596 597 $('.multi-step-form').submit(); 598 } 599 600 if (animating) return false; 601 602 animating = true; 603 604 current_fs = $(this).parents().eq(1); 605 next_fs = $(this).parents().eq(1).next(); 606 $('.multi-step-form .progressbar li').eq($('fieldset').index(next_fs)).addClass('active'); 607 next_fs.show(); 608 609 current_fs.animate({ 610 opacity: 0 611 }, { 612 step: function (now, mx) { 613 scale = 1 - (1 - now) * 0.2; 614 left = (now * 50) + '%'; 615 opacity = 1 - now; 616 617 current_fs.css({ 618 'transform': 'scale(' + scale + ')', 619 'position': 'absolute' 620 }) 621 622 next_fs.css({ 623 'left': left, 624 'opacity': opacity 625 }) 626 }, 627 duration: 600, 628 complete: function () { 629 current_fs.hide(); 630 animating = false; 631 }, 632 easing: 'easeInOutBack' 633 }) 634 635 $(hide).hide(); 636 $(show).show(); 637 } 638 }) 639 } 640 641 function submissionDone() { 642 if(leverage_form.hasClass('redirect-sending')) { 643 window.location.href = leverage_form.data('redirect'); 644 } else { 645 let wait = $('.multi-step-form .success.message .wait'); 646 let done = $('.multi-step-form .success.message .done'); 647 648 wait.hide(); 649 done.show(); 650 } 651 } 652 653 // Progressbar 654 $('.multi-step-form .progressbar li').first().addClass('active'); 655 656 $('.multi-step-form .progressbar li').each(function(index) { 657 $('.multi-step-form').attr('data-steps', (index+1)); 658 }) 659 660 // Step Image [ID] 661 $('.multi-step-form .step-image').each(function(index) { 662 $(this).attr('id', 'step-image-'+(index+1)); 663 664 if(index) { 665 $('#step-image-2, #step-image-3, #step-image-4').hide(); 666 } 667 }) 668 669 // Step Title [ID] 670 $('.multi-step-form .step-title').each(function(index) { 671 $(this).attr('id', 'step-title-'+(index+1)); 672 673 if(index) { 674 $('#step-title-2, #step-title-3').hide(); 675 } 676 }) 677 678 // Step Group [ID] 679 $('.multi-step-form .step-group').each(function(index) { 680 $(this).attr('id', 'step-group-'+(index+1)); 681 }) 682 683 // Step Next [ID] 684 $('.multi-step-form .step-next').each(function(index) { 685 $(this).attr('id', 'step-next-'+(index+1)); 686 }) 687 688 // Step Prev [ID] 689 $('.multi-step-form .step-prev').each(function(index) { 690 $(this).attr('id', 'step-prev-'+(index+2)); 691 }) 692 693 next('#step-next-1', '#step-group-1', '#step-image-2, #step-title-2', '#step-image-1, #step-title-1'); 694 next('#step-next-2', '#step-group-2', '#step-image-3, #step-title-3', '#step-image-2, #step-title-2'); 695 next('#step-next-3', '#step-group-3', '#step-image-4', '#step-image-3'); 696 697 function prev(button, show, hide) { 698 699 $(document).on('click', button, function () { 700 701 if (animating) return false;
702 animating = true; 703 704 current_fs = $(this).parents().eq(1); 705 previous_fs = $(this).parents().eq(1).prev(); 706 707 $('.multi-step-form .progressbar li').eq($('fieldset').index(current_fs)).removeClass('active'); 708 709 previous_fs.show(); 710 current_fs.animate({ 711 opacity: 0 712 }, { 713 step: function (now, mx) { 714 715 scale = 0.8 + (1 - now) * 0.2; 716 left = ((1 - now) * 50) + '%'; 717 opacity = 1 - now; 718 719 current_fs.css({ 720 'left': left 721 }) 722 723 previous_fs.css({ 724 'transform': 'scale(' + scale + ')', 725 'opacity': opacity 726 }) 727 }, 728 duration: 600, 729 complete: function () { 730 731 current_fs.hide(); 732 animating = false; 733 }, 734 easing: 'easeInOutBack' 735 }) 736 737 $(hide).hide(); 738 $(show).show(); 739 740 if (button == '#step-prev-3') { 741 $('.multi-step-form .progressbar').removeClass('complete'); 742 } 743 }) 744 } 745 746 prev('#step-prev-2', '#step-image-1, #step-title-1', '#step-image-2, #step-title-2'); 747 prev('#step-prev-3', '#step-image-2, #step-title-2', '#step-image-3, #step-title-3'); 748 749 // Submission 750 var leverage_form = $('#leverage-form'); 751 752 leverage_form.submit(function(e) { 753 e.preventDefault(); 754 755 if ($('input[name="reCAPTCHA"]').length) { 756 let reCAPTCHA = $('input[name="reCAPTCHA"]'); 757 758 grecaptcha.ready(function() { 759 grecaptcha.execute(reCAPTCHA.data('key'), { action: "create_comment" }).then(function(token) { 760 reCAPTCHA.val(token); 761 }) 762 }) 763 } 764 765 var url = leverage_form.attr('action'); 766 767 $.ajax({ 768 type: 'POST', 769 url: url, 770 data: leverage_form.serialize(), 771 success: function() { 772 submissionDone(); 773 } 774 }) 775 }) 776}) 777 778/*---------------------------------------------- 7799. Simple Form 780----------------------------------------------*/ 781 782jQuery(function ($) { 783 784 'use strict'; 785 786 function sendForm(ID) { 787 788 var form = $(ID); 789 var input = $(ID+' .form-control') 790 var btn = $(ID+' .btn'); 791 var alert = $(ID+' .form-alert'); 792 793 alert.hide(); 794 795 $(document).on('click', ID+' .btn', function() { 796 $(this).addClass('effect-motion-bg'); 797 form.submit(); 798 }) 799 800 form.submit(function(e) { 801 e.preventDefault(); 802 803 if ($('input[name="reCAPTCHA"]').length) { 804 let reCAPTCHA = $('input[name="reCAPTCHA"]'); 805 806 grecaptcha.ready(function() { 807 grecaptcha.execute(reCAPTCHA.data('key'), { action: "create_comment" }).then(function(token) { 808 reCAPTCHA.val(token); 809 }) 810 }) 811 } 812 813 var url = form.attr('action'); 814 815 $.ajax({ 816 type: 'POST', 817 url: url, 818 data: form.serialize(), 819 success: function(response) { 820 821 try { 822 JSON.parse(response); 823 var obj = JSON.parse(response); 824 825 if (obj.status == 'success') { 826 setTimeout(function() { 827 btn.removeClass('effect-motion-bg'); 828 input.val('').removeClass('invalid').removeClass('valid'); 829 alert.text(obj.info).removeClass('invalid').addClass('valid').fadeIn(); 830 }, 1200); 831 832 } else if(obj.status == 'invalid') { 833 setTimeout(function() { 834 btn.removeClass('effect-motion-bg'); 835 alert.text(obj.info).removeClass('valid').addClass('invalid').fadeIn(); 836 }, 1200); 837 838 input.each(function() { 839 let input_name = $(this).attr('name'); 840 841 if(obj.fields[input_name] == true) { 842 $(ID+' .field-'+input_name).removeClass('valid').addClass('invalid'); 843 } else { 844 $(ID+' .field-'+input_name).removeClass('invalid').addClass('valid'); 845 } 846 }) 847 } else { 848 btn.removeClass('effect-motion-bg'); 849 input.val('').removeClass('invalid').removeClass('valid'); 850 alert.text(obj.info).removeClass('valid').addClass('invalid').fadeIn(); 851 852 } 853 854 } catch (e) { 855 btn.removeClass('effect-motion-bg'); 856 input.val('').removeClass('invalid').removeClass('valid'); 857 alert.text('Sorry. We were unable to send your message.').removeClass('valid').addClass('invalid').fadeIn(); 858 } 859 } 860 }) 861 }) 862 } 863 864 sendForm('#leverage-simple-form'); 865 sendForm('#leverage-subscribe'); 866}) 867 868/*---------------------------------------------- 86910. Recaptcha 870----------------------------------------------*/ 871 872jQuery(function ($) { 873 874 'use strict'; 875 876 if ($('input[name="reCAPTCHA"]').length) { 877 878 let siteKey = "6LdnkrIZAAAAAAmnHthQgReGBvYdHR1wE6GHL-Uy"; // Put your site key here 879 880 if(siteKey) { 881 $('input[name="reCAPTCHA"]').attr("data-key", siteKey); 882 grecaptcha.ready(function() { 883 grecaptcha.execute(siteKey, { action: "create_comment" }).then(function(token) { 884 $('input[name="reCAPTCHA"]').val(token);
885 }) 886 }) 887 } 888 } 889}) 890 891/*---------------------------------------------- 89211. Cookie Notice 893----------------------------------------------*/ 894 895jQuery(function ($) { 896 897 'use strict'; 898 899 let cookieNotice = true; 900 901 if(cookieNotice) { 902 903 // Translate 904 gdprCookieNoticeLocales.en = { 905 description: 'We use cookies to offer you a better browsing experience, personalise content and ads, to provide social media features and to analyse our traffic. Read about how we use cookies and how you can control them by clicking Cookie Settings. You consent to our cookies if you continue to use this website.', 906 settings: 'Cookie settings', 907 accept: 'Accept cookies', 908 statement: 'Our cookie statement', 909 save: 'Save settings', 910 always_on: 'Always on', 911 cookie_essential_title: 'Essential website cookies', 912 cookie_essential_desc: 'Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.', 913 cookie_performance_title: 'Performance cookies', 914 cookie_performance_desc: 'These cookies are used to enhance the performance and functionality of our websites but are non-essential to their use. For example it stores your preferred language or the region that you are in.', 915 cookie_analytics_title: 'Analytics cookies', 916 cookie_analytics_desc: 'We use analytics cookies to help us measure how users interact with website content, which helps us customize our websites and application for you in order to enhance your experience.', 917 cookie_marketing_title: 'Marketing cookies', 918 cookie_marketing_desc: 'These cookies are used to make advertising messages more relevant to you and your interests. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.' 919 } 920 921 gdprCookieNotice({ 922 locale: 'en', // This is the default value 923 timeout: 2000, // Time until the cookie bar appears 924 expiration: 30, // This is the default value, in days 925 domain: window.location.hostname, // If you run the same cookie notice on all subdomains, define the main domain starting with a . 926 implicit: true, // Accept cookies on page scroll automatically 927 statement: 'https://leverage.codings.dev', // Link to your cookie statement page 928 performance: ['JSESSIONID'], // Cookies in the performance category. 929 analytics: ['ga'], // Cookies in the analytics category. 930 marketing: ['SSID'] // Cookies in the marketing category. 931 }) 932 } 933})
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.