1/*************************************************** 2==================== JS INDEX ====================== 3**************************************************** 401. tp-brand-slide-active 502. tp-text-slider-active 603. tp-testimonial-slider-active 704. tp-team-slider-active 805. tp-testimonial-2-slider-active 906. tp-service-sa-slider 1007. tp-testimonial-sa-slider 1108. tp-portfolio-showcase-slide-active 1209. tp-postbox-thumb-slider-active 1310. tp-service-cst-slider 1411. tp-text-cst-slide-active 1512. tp-testimonial-cst-slider 1613. tp-text-it-slider-active 1714. tp-service-it-slider 1815. tp-testimonial-it-slider 1916. tp-testimonial-pb-slider 2017. tp-skill-slider-active 2118. tp-text-ai-slider-active 2219. tp-testimonial-ai-slide-active 2320. tp-text-md-slider-active 2421. tp-testimonial-md-slide-active 2522. tp-portfolio-slicer-active 2623. tp-portfolio-horizontal-active 2724. tp-portfolio-mix-slider 2825. tp-portfolio-creative-slider-active 2926. coverflow-slider 3027. tp-pd-2-active 3128. brand-slider 3229. al-text-slider-seo-active 3330. al-testimonial-seo-active 3431. al-brands-archi-slide 3532. al-text-pg-slider-active 3633. al-footer-pg-slide-active 3734. al-hero-shop-active 3835. al-category-shop-slider-active 3936. al-trending-shop-slider-active 4037. al-testimonial-shop-slider-active 4138. creative-brand-active 4239. ar-testimonial-active 4340. text-slider 4441. brand-slider 4542. dgm-brand-active 46****************************************************/ 47 48 49(function ($) { 50 "use strict"; 51 52 // 01. tp-brand-slide-active 53 var tp_brand_slider= new Swiper(".tp-brand-slide-active", { 54 loop: true, 55 freemode: true, 56 slidesPerView: 'auto', 57 centeredSlides: true, 58 allowTouchMove: false, 59 speed: 8000, 60 autoplay: { 61 delay: 1, 62 disableOnInteraction: true, 63 }, 64 }); 65 66 //////////////////////////////////////////////////// 67 // 02. tp-text-slider-active 68 var tp_brand_slide = new Swiper(".tp-text-slider-active", { 69 loop: true, 70 freemode: true, 71 slidesPerView: 'auto', 72 spaceBetween: 0, 73 centeredSlides: true, 74 allowTouchMove: false, 75 speed: 8000, 76 autoplay: { 77 delay: 1, 78 disableOnInteraction: true, 79 }, 80 }); 81 82 83 //////////////////////////////////////////////////// 84 // 03. tp-testimonial-slider-active 85 var gallery = new Swiper('.tp-testimonial-slider-active', { 86 slidesPerView: 1, 87 loop: true, 88 autoplay: true, 89 arrow: false, 90 spaceBetween: 0, 91 speed: 1000, 92 pagination: { 93 el: '#paginations', 94 type: 'custom', 95 renderCustom: function (swiper, current, total) { 96 let zero = total > 9 ? '' : '0'; 97 let index = zero + current 98 let all = zero + total 99 let html = `<div class="shop-slider-pagination"> 100 <span>${index}</span> 101 <span>${all}</span> 102 </div>`; 103 return html; 104 } 105 } 106 107 }); 108 109 //////////////////////////////////////////////////// 110 // 04. tp-team-slider-active 111 var portfolio = new Swiper('.tp-portfolio-2-slider-active', { 112 slidesPerView: 6, 113 loop: true, 114 autoplay: false, 115 arrow: false, 116 spaceBetween: 24, 117 breakpoints: { 118 '992': { 119 slidesPerView: 2, 120 }, 121 '768': { 122 slidesPerView: 1, 123 }, 124 '576': { 125 slidesPerView: 1, 126 }, 127 '0': { 128 slidesPerView: 1, 129 }, 130 }, 131 a11y: false, 132 }); 133 134 //////////////////////////////////////////////////// 135 // 05. tp-testimonial-2-slider-active 136 const progressBar = $(".shop-slider-progress-bar span"); 137 138 var gallery = new Swiper('.tp-testimonial-2-slider-active', { 139 slidesPerView: 1, 140 loop: true, 141 autoplay: true, 142 arrow: false, 143 spaceBetween: 0, 144 speed: 1000, 145 a11y: false, 146 147 navigation: { 148 prevEl: '.tp-shop-prev', 149 nextEl: '.tp-shop-next', 150 }, 151 pagination: { 152 el: '#paginations', 153 type: 'custom', 154 renderCustom: function (swiper, current, total) { 155 let zero = total > 9 ? '' : '0'; 156 let index = zero + current 157 let all = zero + total 158 let html = `<div class="shop-slider-pagination"> 159 <span>${index}</span> 160 <span>${all}</span> 161 </div>`; 162 return html; 163 } 164 }, 165 166 autoplay: { 167 delay: 2500, 168 disableOnInteraction: false 169 }, 170 on: { 171 autoplayTimeLeft(s, time, progress) { 172 progressBar.css({ 173 "transform": `scaleX(calc(1 - ${progress}))` 174 }) 175 } 176 } 177 178 }); 179 180 //////////////////////////////////////////////////// 181 // 06. tp-service-sa-slider 182 var slider = new Swiper('.tp-service-sa-slider', { 183 slidesPerView: 1, 184 speed:1000, 185 spaceBetween: 24, 186 loop: true, 187 pagination: { 188 el: ".tp-service-sa-pagenation", 189 clickable: true, 190 }, 191 breakpoints: { 192 '1200': { 193 slidesPerView: 3, 194 }, 195 '992': { 196 slidesPerView: 2, 197 }, 198 '768': { 199 slidesPerView: 2, 200 }, 201 '576': { 202 slidesPerView: 1, 203 }, 204 '0': { 205 slidesPerView: 1, 206 }, 207 }, 208 }); 209 210 211 212 //////////////////////////////////////////////////// 213 // 07. tp-testimonial-sa-slider 214 var slider = new Swiper('.tp-testimonial-sa-slider', { 215 slidesPerView: 1, 216 speed:1000, 217 spaceBetween: 24, 218 loop: true, 219 pagination: { 220 el: ".tp-service-sa-pagenation", 221 clickable: true, 222 }, 223 breakpoints: { 224 '1200': { 225 slidesPerView: 3, 226 }, 227 '992': { 228 slidesPerView: 2, 229 }, 230 '768': { 231 slidesPerView: 1, 232 }, 233 '576': { 234 slidesPerView: 1, 235 }, 236 '0': { 237 slidesPerView: 1, 238 }, 239 }, 240 }); 241 242 //////////////////////////////////////////////////// 243 // 08. tp-portfolio-showcase-slide-active 244 let t7_showcase_slide_active = new Swiper(".tp-portfolio-showcase-slide-active", { 245 spaceBetween: 80, 246 slidesPerView: 1, 247 loop: true, 248 spaceBetween: 24, 249 allowTouchMove: true, 250 mousewheel: true, 251 centeredSlides: true, 252 speed: 600, 253 navigation: { 254 nextEl: '.tp-portfolio-showcase-next', 255 prevEl: '.tp-portfolio-showcase-prev', 256 }, 257 breakpoints: { 258 '1400': { 259 slidesPerView: 2, 260 }, 261 '1200': { 262 slidesPerView: 2, 263 }, 264 '991': { 265 slidesPerView: 1, 266 }, 267 '768': { 268 slidesPerView: 1, 269 }, 270 '576': { 271 slidesPerView: 1, 272 }, 273 '0': { 274 slidesPerView: 1, 275 }, 276 }, 277 }); 278 279 //////////////////////////////////////////////////// 280 // 09. tp-postbox-thumb-slider-active 281 var testimonial = new Swiper('.tp-postbox-thumb-slider-active', { 282 slidesPerView: 1, 283 loop: true, 284 autoplay: false,
285 arrow: false, 286 spaceBetween: 0, 287 speed: 1000, 288 effect: 'fade', 289 a11y: false, 290 291 // Navigation arrows 292 navigation: { 293 prevEl: '.tp-postbox-arrow-prev', 294 nextEl: '.tp-postbox-arrow-next', 295 }, 296 297 }); 298 299 //////////////////////////////////////////////////// 300 // 10. tp-service-cst-slider 301 var service_cst = new Swiper('.tp-service-cst-slider', { 302 slidesPerView: 6, 303 loop: true, 304 autoplay: false, 305 arrow: false, 306 spaceBetween: 27, 307 breakpoints: { 308 '1200': { 309 slidesPerView: 3, 310 }, 311 '992': { 312 slidesPerView: 2, 313 }, 314 '768': { 315 slidesPerView: 1, 316 }, 317 '576': { 318 slidesPerView: 1, 319 }, 320 '0': { 321 slidesPerView: 1, 322 }, 323 }, 324 a11y: false, 325 }); 326 327 // 11. tp-text-cst-slide-active 328 var tp_brand_slider= new Swiper(".tp-text-cst-slide-active", { 329 loop: true, 330 freemode: true, 331 slidesPerView: 'auto', 332 centeredSlides: true, 333 allowTouchMove: false, 334 speed: 8000, 335 autoplay: { 336 delay: 1, 337 disableOnInteraction: true, 338 }, 339 }); 340 341 //////////////////////////////////////////////////// 342 // 12. tp-testimonial-cst-slider 343 var slider = new Swiper('.tp-testimonial-cst-slider', { 344 slidesPerView: 1, 345 speed:1000, 346 spaceBetween: 24, 347 loop: true, 348 pagination: { 349 el: ".tp-testimonial-cst-pagenation", 350 clickable: true, 351 }, 352 }); 353 354 //////////////////////////////////////////////////// 355 // 13. tp-text-it-slider-active 356 var tp_text_slide = new Swiper(".tp-text-it-slider-active", { 357 loop: true, 358 freemode: true, 359 slidesPerView: 'auto', 360 spaceBetween: 5, 361 centeredSlides: true, 362 allowTouchMove: false, 363 speed: 8000, 364 autoplay: { 365 delay: 1, 366 disableOnInteraction: true, 367 }, 368 }); 369 370 371 //////////////////////////////////////////////////// 372 // 14. tp-service-it-slider 373 var slider = new Swiper('.tp-service-it-slider', { 374 slidesPerView: 1, 375 speed:1000, 376 spaceBetween: 24, 377 loop: true, 378 pagination: { 379 el: ".tp-service-it-pagenation", 380 clickable: true, 381 }, 382 breakpoints: { 383 '1200': { 384 slidesPerView: 3, 385 }, 386 '992': { 387 slidesPerView: 2, 388 }, 389 '768': { 390 slidesPerView: 2, 391 }, 392 '576': { 393 slidesPerView: 1, 394 }, 395 '0': { 396 slidesPerView: 1, 397 }, 398 }, 399 }); 400 401 402 //////////////////////////////////////////////////// 403 // 15. tp-testimonial-it-slider 404 var service_cst = new Swiper('.tp-testimonial-it-slider', { 405 slidesPerView: 4, 406 loop: true, 407 autoplay: false, 408 arrow: false, 409 spaceBetween: 30, 410 pagination: { 411 el: ".tp-testimonial-it-pagenation", 412 clickable: true, 413 }, 414 breakpoints: { 415 '1200': { 416 slidesPerView: 4, 417 }, 418 '992': { 419 slidesPerView: 3, 420 }, 421 '768': { 422 slidesPerView: 1, 423 }, 424 '576': { 425 slidesPerView: 1, 426 }, 427 '0': { 428 slidesPerView: 1, 429 }, 430 }, 431 a11y: false, 432 }); 433 434 //////////////////////////////////////////////////// 435 // 16. tp-testimonial-pb-slider 436 var service_cst = new Swiper('.tp-testimonial-pb-slider', { 437 slidesPerView: 1, 438 loop: true, 439 autoplay: true, 440 arrow: false, 441 spaceBetween: 30, 442 pagination: { 443 el: ".tp-testimonial-pb-pagenation", 444 clickable: true, 445 }, 446 }); 447 448 //////////////////////////////////////////////////// 449 // 17. tp-skill-slider-active 450 document.addEventListener("DOMContentLoaded", function () { 451 document.querySelectorAll(".tp-skill-pb-slider-active").forEach((el) => { 452 new Swiper(el, { 453 loop: true, 454 freeMode: true, 455 slidesPerView: 'auto', 456 spaceBetween: 0, 457 centeredSlides: true, 458 allowTouchMove: false, 459 speed: 8000, 460 autoplay: { 461 delay: 1, 462 disableOnInteraction: false, 463 }, 464 }); 465 }); 466 }); 467 468 //////////////////////////////////////////////////// 469 // 18. tp-text-ai-slider-active 470 var tp_brand_slide = new Swiper(".tp-text-ai-slider-active", { 471 loop: true, 472 freemode: true, 473 slidesPerView: 'auto', 474 spaceBetween: 0, 475 centeredSlides: true, 476 allowTouchMove: false,
477 speed: 8000, 478 autoplay: { 479 delay: 1, 480 disableOnInteraction: true, 481 }, 482 }); 483 484 485 //////////////////////////////////////////////////// 486 // 19. tp-testimonial-ai-slide-active 487 let tp_testimonial_ai_slide_active = new Swiper(".tp-testimonial-ai-slide-active", { 488 spaceBetween: 80, 489 slidesPerView: 1, 490 loop: true, 491 spaceBetween: 24, 492 allowTouchMove: true, 493 centeredSlides: true, 494 speed: 600, 495 effect: "fade", 496 navigation: { 497 nextEl: '.tp-testimonial-ai-next', 498 prevEl: '.tp-testimonial-ai-prev', 499 }, 500 }); 501 502 //////////////////////////////////////////////////// 503 // 20. tp-text-md-slider-active 504 let tp_text_md_slider_active = new Swiper(".tp-text-md-slider-active", { 505 loop: true, 506 freemode: true, 507 slidesPerView: 'auto', 508 spaceBetween: 0, 509 centeredSlides: true, 510 allowTouchMove: false, 511 speed: 12000, 512 autoplay: { 513 delay: 1, 514 disableOnInteraction: true, 515 }, 516 }); 517 518 //////////////////////////////////////////////////// 519 // 21. tp-testimonial-md-slide-active 520 let tp_testimonial_md_slide_active = new Swiper(".tp-testimonial-md-slide-active", { 521 spaceBetween: 80, 522 slidesPerView: 1, 523 loop: true, 524 spaceBetween: 24, 525 allowTouchMove: true, 526 centeredSlides: true, 527 speed: 600, 528 }); 529 530 //////////////////////////////////////////////////// 531 // 22. tp-portfolio-slicer-active 532 let tp_portfolio_slicer_active = new Swiper('.tp-portfolio-slicer-active', { 533 modules: [EffectSlicer], 534 effect: 'slicer', 535 loop: true, 536 clickable: true, 537 slicerEffect: { 538 split: 5, 539 }, 540 direction: 'vertical', 541 speed: 600, 542 mousewheel: { 543 releaseOnEdges: true, 544 }, 545 navigation: { 546 nextEl: '.tp-portfolio-slicer-button-next', 547 prevEl: '.tp-portfolio-slicer-button-prev', 548 }, 549 pagination: { 550 el: '.tp-portfolio-slicer-pagination', 551 clickable: true, 552 }, 553 }); 554 555 //////////////////////////////////////////////////// 556 // 23. tp-portfolio-horizontal-active 557 558 let tp_portfolio_horizontal_active = new Swiper(".tp-portfolio-horizontal-active", { 559 direction: "horizontal", 560 effect: "slide", 561 autoplay: { 562 delay: 10000, 563 disableOnInteraction: false 564 }, 565 parallax: true, 566 speed: 1600, 567 rtl: true, 568 loop: true, 569 loopFillGroupWithBlank: !0, 570 mousewheel: { 571 eventsTarged: ".swiper-slide", 572 sensitivity: 1 573 }, 574 keyboard: { 575 enabled: true, 576 onlyInViewport: true 577 }, 578 scrollbar: { 579 el: ".swiper-scrollbar", 580 hide: false, 581 draggable: true 582 }, 583 navigation: { 584 nextEl: ".tp-portfolio-horizontal-button-next", 585 prevEl: ".tp-portfolio-horizontal-button-prev", 586 }, 587 pagination: { 588 el: ".swiper-pagination", 589 type: "progressbar" 590 } 591 }); 592 593 //////////////////////////////////////////////////// 594 // 24. tp-portfolio-mix-slider 595 var tp_portfolio_mix_slider = new Swiper('.tp-portfolio-mix-slider', { 596 loop: false, 597 modules: [SwiperGL], 598 speed: 1200, 599 effect: "gl", 600 mousewheel: true, 601 navigation: { 602 nextEl: '.tp-portfolio-mix-button-next', 603 prevEl: '.tp-portfolio-mix-button-prev', 604 }, 605 pagination: { 606 el: '.tp-portfolio-slicer-pagination', 607 clickable: true, 608 }, 609 }); 610 611 612 //////////////////////////////////////////////////// 613 // 25. tp-portfolio-creative-slider-active 614 var SwiperSliderFourteen = new Swiper('.tp-portfolio-creative-slider-active', { 615 loop: true, 616 autoplay: { 617 delay: 2000, 618 }, 619 autoHeight: true, 620 effect: "creative", 621 creativeEffect: { 622 prev: { 623 translate: [0, 0, -400], 624 }, 625 next: { 626 translate: ["100%", 0, 0], 627 }, 628 }, 629 speed: 1500, 630 slidesPerView: "1", 631 spaceBetween: 0, 632 mousewheel: true, 633 navigation: { 634 nextEl: '.tp-portfolio-mix-button-next', 635 prevEl: '.tp-portfolio-mix-button-prev', 636 }, 637 pagination: { 638 el: '.tp-portfolio-creative-slider-main .swiper-pagination', 639 clickable: true, 640 renderBullet: function (index, className) { 641 return`<span class="${className}">
642 <svg class="fp-arc-loader" width="16" height="16" viewBox="0 0 16 16"> 643 <circle class="path" cx="8" cy="8" r="5.5" fill="none" transform="rotate(-90 8 8)" stroke="#000" stroke-opacity="1" stroke-width="1px"></circle> 644 <circle cx="8" cy="8" r="3" fill="#000"></circle> 645 </svg> 646 </span>`; 647 }, 648 }, 649 }); 650 651 //////////////////////////////////////////////////// 652 // 26. coverflow-slider 653 654 document.addEventListener('DOMContentLoaded', function () { 655 document.querySelectorAll('.coverflow-slider-main').forEach(( el)=>{ 656 var coverflow_thumb_slider = new Swiper('.coverflow-slider-active', { 657 loop: true, 658 effect: "coverflow", 659 autoHeight: true, 660 mousewheel: true, 661 speed: 1500, 662 slidesPerView: 1, 663 spaceBetween: 0, 664 centeredSlides: true, 665 grabCursor: true, 666 loopedSlides: 3, 667 keyboard: { 668 enabled: true, 669 }, 670 autoplay: { 671 delay: 1500, 672 }, 673 navigation: { 674 nextEl: '.tp-portfolio-mix-button-next', 675 prevEl: '.tp-portfolio-mix-button-prev', 676 clickable: true, 677 }, 678 breakpoints: { 679 600: { 680 slidesPerView: 2, 681 }, 682 991: { 683 slidesPerView: 3, 684 }, 685 1400: { 686 slidesPerView: 4, 687 }, 688 } 689 }); 690 // // dgm-project-text-active 691 document.querySelectorAll('.coverflow-slider-text-active').forEach((el) => { 692 let coverflow_text_slider = new Swiper(el, { 693 spaceBetween: 30, 694 slidesPerView: 1, 695 direction: 'vertical', 696 loop: true, 697 loopedSlides: 3, 698 touchRatio: 0.2, 699 centeredSlides: true, 700 slideToClickedSlide: true, 701 speed: 1500, 702 }); 703 coverflow_thumb_slider.controller.control = coverflow_text_slider; 704 coverflow_text_slider.controller.control = coverflow_thumb_slider; 705 }) 706 }); 707 }); 708 709 //////////////////////////////////////////////////// 710 // 27. tp-pd-2-active 711 712 var showcase = new Swiper('.tp-pd-2-active', { 713 slidesPerView: 3, 714 loop: true, 715 autoplay: false, 716 arrow: false, 717 spaceBetween: 20, 718 speed: 1000, 719 pagination: { 720 el: ".tp-pd-2-dot", 721 clickable: true, 722 }, 723 breakpoints: { 724 '1600': { 725 slidesPerView: 3, 726 }, 727 '1400': { 728 slidesPerView: 3, 729 }, 730 '1200': { 731 slidesPerView: 3, 732 }, 733 '992': { 734 slidesPerView: 2, 735 }, 736 '768': { 737 slidesPerView: 2, 738 }, 739 '576': { 740 slidesPerView: 1, 741 }, 742 '0': { 743 slidesPerView: 1, 744 }, 745 }, 746 }); 747 748 // update-js-here 749 750 //////////////////////////////////////////////////// 751 // 28. brand-slider 752 var al_brand_slide = new Swiper(".al-brand-active", { 753 loop: true, 754 freemode: true, 755 slidesPerView: 'auto', 756 spaceBetween: 30, 757 centeredSlides: true, 758 allowTouchMove: false, 759 speed: 4000, 760 autoplay: { 761 delay: 1, 762 disableOnInteraction: true, 763 }, 764 }); 765 766 //////////////////////////////////////////////////// 767 // 29. al-text-slider-seo-active 768 var al_text_slide = new Swiper(".al-text-slider-seo-active", { 769 loop: true, 770 freemode: true, 771 slidesPerView: 'auto', 772 spaceBetween: 55, 773 centeredSlides: true, 774 allowTouchMove: false, 775 speed: 10000, 776 autoplay: { 777 delay: 1, 778 disableOnInteraction: true, 779 }, 780 }); 781 782 //////////////////////////////////////////////////// 783 // 30. al-testimonial-seo-active 784 var al_testimonial_seo = new Swiper('.al-testimonial-seo-active', { 785 slidesPerView: 1, 786 loop: true, 787 autoplay: true, 788 arrow: false, 789 spaceBetween: 50, 790 speed: 1000, 791 pagination: { 792 el: ".al-testimonial-seo-dot", 793 clickable: true, 794 }, 795 a11y: false, 796 }); 797 798 //////////////////////////////////////////////////// 799 // 31. al-brands-archi-slide 800 var al_brand_archi = new Swiper('.al-brand-archi-slider', { 801 loop: true, 802 freemode: true, 803 slidesPerView: 'auto', 804 spaceBetween: 100, 805 centeredSlides: true, 806 allowTouchMove: false, 807 speed: 10000, 808 autoplay: { 809 delay: 1, 810 disableOnInteraction: true, 811 }, 812 }); 813 814 //////////////////////////////////////////////////// 815 // 32. al-text-pg-slider-active 816 var al_text_slide_pg = new Swiper(".al-text-pg-slider-active", { 817 loop: true, 818 freemode: true, 819 slidesPerView: 'auto', 820 spaceBetween: 0, 821 centeredSlides: true, 822 allowTouchMove: false, 823 speed: 4000, 824 autoplay: { 825 delay: 1, 826 disableOnInteraction: true, 827 }, 828 }); 829 830 //////////////////////////////////////////////////// 831 // 33. al-footer-pg-slide-active 832 var al_footer_slide_pg = new Swiper(".al-footer-pg-slide-active", { 833 loop: true, 834 freemode: true, 835 slidesPerView: 'auto', 836 spaceBetween: 0, 837 centeredSlides: true, 838 allowTouchMove: false, 839 speed: 16000, 840 autoplay: { 841 delay: 1, 842 disableOnInteraction: true, 843 }, 844 }); 845 846 //////////////////////////////////////////////////// 847 // 34. al-hero-shop-active 848 849 var slider = new Swiper('.al-hero-shop-active', { 850 slidesPerView: 1, 851 spaceBetween: 30, 852 loop: true, 853 effect: 'fade', 854 pagination: { 855 el: ".al-hero-shop-dot", 856 clickable: true, 857 }, 858 }); 859 860 //////////////////////////////////////////////////// 861 // 35. al-category-shop-slider-active 862 var al_category_shop = new Swiper('.al-category-shop-slider-active', { 863 slidesPerView: 5, 864 spaceBetween: 20, 865 loop: false, 866 enteredSlides: false, 867 scrollbar: { 868 el: '.swiper-scrollbar', 869 draggable: true, 870 dragClass: 'al-swiper-scrollbar-drag', 871 snapOnRelease: true, 872 }, 873 breakpoints: { 874 '1200': { 875 slidesPerView: 5, 876 }, 877 '992': { 878 slidesPerView: 4, 879 }, 880 '768': { 881 slidesPerView: 3, 882 }, 883 '576': { 884 slidesPerView: 2, 885 }, 886 '0': { 887 slidesPerView: 1, 888 }, 889 }, 890 }); 891 892 //////////////////////////////////////////////////// 893 // 35. al-category-shop-slider-active 894 895 var slider = new Swiper('.al-featured-shop-slider-active', { 896 slidesPerView: 3, 897 spaceBetween: 10, 898 loop: true, 899 enteredSlides: false, 900 // Navigation arrows 901 navigation: { 902 nextEl: ".al-featured-shop-slider-button-next", 903 prevEl: ".al-featured-shop-slider-button-prev", 904 }, 905 breakpoints: { 906 '1200': { 907 slidesPerView: 3, 908 }, 909 '992': { 910 slidesPerView: 3, 911 }, 912 '768': { 913 slidesPerView: 2, 914 }, 915 '576': { 916 slidesPerView: 1, 917 }, 918 '0': { 919 slidesPerView: 1, 920 }, 921 }, 922 }); 923 924 925 //////////////////////////////////////////////////// 926 // 36. al-trending-shop-slider-active 927 var slider = new Swiper('.al-trending-shop-slider-active', { 928 slidesPerView: 2, 929 spaceBetween: 24, 930 loop: true, 931 enteredSlides: false, 932 pagination: { 933 el: ".al-trending-shop-slider-dot", 934 clickable: true, 935 }, 936 breakpoints: { 937 '1200': { 938 slidesPerView: 2, 939 }, 940 '992': { 941 slidesPerView: 2, 942 }, 943 '768': { 944 slidesPerView: 2, 945 }, 946 '576': { 947 slidesPerView: 2, 948 }, 949 '0': { 950 slidesPerView: 1, 951 }, 952 }, 953 }); 954 955 //////////////////////////////////////////////////// 956 // 37. al-testimonial-shop-slider-active 957 var slider = new Swiper('.al-testimonial-shop-slider-active', { 958 slidesPerView: 1, 959 spaceBetween: 0, 960 loop: true, 961 pagination: { 962 el: ".al-testimonial-shop-slider-dot", 963 clickable: true, 964 }, 965 // Navigation arrows 966 navigation: { 967 nextEl: ".al-testimonial-shop-next", 968 prevEl: ".al-testimonial-shop-prev", 969 }, 970 }); 971 972 // update-slider-2-here 973 974 975 //////////////////////////////////////////////////// 976 // 38. creative-brand-active 977 var tp_text_slide = new Swiper(".creative-brand-active", { 978 loop: true, 979 freemode: true, 980 slidesPerView: 6, 981 spaceBetween: 0, 982 centeredSlides: true, 983 allowTouchMove: false, 984 speed: 3000, 985 autoplay: { 986 delay: 1, 987 disableOnInteraction: true, 988 }, 989 breakpoints: { 990 '1600': { 991 slidesPerView: 6, 992 }, 993 '1400': { 994 slidesPerView: 5, 995 }, 996 '1200': { 997 slidesPerView: 5, 998 }, 999 '992': { 1000 slidesPerView: 4, 1001 }, 1002 '768': { 1003 slidesPerView: 3, 1004 }, 1005 '576': { 1006 slidesPerView: 3, 1007 }, 1008 '0': { 1009 slidesPerView: 2 1010 }, 1011 }, 1012 }); 1013 1014 1015 //////////////////////////////////////////////////// 1016 // 38. brand-slider 1017 var tp_brand_slide = new Swiper(".tp-brand-active", { 1018 loop: true, 1019 freemode: true, 1020 slidesPerView: 'auto', 1021 spaceBetween: 30, 1022 centeredSlides: true, 1023 allowTouchMove: false, 1024 speed: 12000, 1025 autoplay: { 1026 delay: 1, 1027 disableOnInteraction: true, 1028 }, 1029 }); 1030 1031 //////////////////////////////////////////////////// 1032 // 39. ar-testimonial-active 1033 1034 var gallery = new Swiper('.ar-testimonial-active', { 1035 slidesPerView: 1, 1036 loop: true, 1037 autoplay: true,
1038 arrow: false, 1039 spaceBetween: 0, 1040 speed: 1000, 1041 navigation: { 1042 prevEl: '.ar-testimonial-prev', 1043 nextEl: '.ar-testimonial-next', 1044 }, 1045 pagination: { 1046 1047 el: '#paginations', 1048 type: 'custom', 1049 renderCustom: function (swiper, current, total) { 1050 let zero = total > 9 ? '' : '0'; 1051 let index = zero + current 1052 let all = zero + total 1053 let html = `<div class="shop-slider-pagination"> 1054 <span>${index}</span> 1055 <span>${all}</span> 1056 </div>`; 1057 return html; 1058 } 1059 } 1060 1061 }); 1062 1063 1064 //////////////////////////////////////////////////// 1065 // 40. text-slider 1066 1067 var tp_text_slide = new Swiper(".crp-text-slider-active", { 1068 loop: true, 1069 freemode: true, 1070 slidesPerView: 'auto', 1071 spaceBetween: 40, 1072 centeredSlides: true, 1073 allowTouchMove: false, 1074 speed: 8000, 1075 autoplay: { 1076 delay: 1, 1077 disableOnInteraction: true, 1078 }, 1079 }); 1080 1081 //////////////////////////////////////////////////// 1082 // 41. brand-slider 1083 var tp_brand_slide = new Swiper(".ar-brand-active", { 1084 loop: true, 1085 freemode: true, 1086 slidesPerView: 'auto', 1087 spaceBetween: 165, 1088 centeredSlides: true, 1089 allowTouchMove: false, 1090 speed: 2000, 1091 autoplay: { 1092 delay: 1, 1093 disableOnInteraction: true, 1094 }, 1095 }); 1096 1097 1098 //////////////////////////////////////////////////// 1099 // 42. dgm-brand-active 1100 var dgm_brand_active = new Swiper('.dgm-brand-active', { 1101 slidesPerView: 6, 1102 loop: true, 1103 autoplay: true, 1104 arrow: false, 1105 spaceBetween: 0, 1106 speed: 1000, 1107 breakpoints: { 1108 '1600': { 1109 slidesPerView: 6, 1110 }, 1111 '1400': { 1112 slidesPerView: 5, 1113 }, 1114 '1200': { 1115 slidesPerView: 4, 1116 }, 1117 '992': { 1118 slidesPerView: 4, 1119 }, 1120 '768': { 1121 slidesPerView: 3, 1122 }, 1123 '576': { 1124 slidesPerView: 3, 1125 }, 1126 '0': { 1127 slidesPerView: 2, 1128 }, 1129 }, 1130 a11y: false, 1131 1132 }); 1133 1134 1135})(jQuery); 1136 1137
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.