1$(document).ready(function () { 2 $(".niceCountryInputSelector").each(function(i,e){ 3 console.log(e.offse) 4 new NiceCountryInput(e).init(); 5 }); 6}); 7 8 9document.addEventListener('DOMContentLoaded', function () { 10 var _mySwiperawards = new Swiper(".mySwiperAwards", { 11 // spaceBetween: 1, 12 slidesPerView: 1.8, 13 centeredSlides: false, 14 loop: false, 15 navigation: { 16 nextEl: ".awards-btn-next", 17 prevEl: ".awards-btn-prev" 18 }, 19 breakpoints: { 20 320: { 21 slidesPerView: 1.09, 22 spaceBetween: 10, 23 }, 24 768: { 25 slidesPerView: 1.5, 26 spaceBetween: 20, 27 }, 28 1024: { 29 slidesPerView: 2.8, 30 spaceBetween: 25, 31 }, 32 1300: { 33 slidesPerView: 3.2, 34 spaceBetween: 25, 35 }, 36 }, 37 speed: 1000, 38 // autoplay: { 39 // delay: 3000, 40 // disableOnInteraction: false, 41 // }, 42 pagination: { 43 el: ".swiper-pagination", 44 clickable: true, 45 }, 46 }); 47}); 48 49 50document.addEventListener('DOMContentLoaded', function () { 51 // case-studeis 52 const _mySwipeCasestudies = new Swiper(".mySwiperCasestudies", { 53 slidesPerView: 2.2, 54 loop: true, 55 navigation: { 56 nextEl: ".swiper-button-next12", 57 prevEl: ".swiper-button-prev12", 58 }, 59 breakpoints: { 60 320: { 61 slidesPerView: 1.1, 62 spaceBetween: 10, 63 }, 64 768: { 65 slidesPerView: 1.5, 66 spaceBetween: 20, 67 }, 68 1024: { 69 slidesPerView: 2.1, 70 spaceBetween: 25, 71 }, 72 }, 73 speed: 1000, 74 autoplay: { 75 delay: 1500, 76 disableOnInteraction: false, 77 }, 78 pagination: { 79 el: ".swiper-pagination12", 80 clickable: true, 81 }, 82 }); 83 84 // Reviews 85 86 const _mySwipeReviews = new Swiper(".mySwiperReviews", { 87 slidesPerView: 2.2, 88 loop: true, 89 navigation: { 90 nextEl: ".swiper-button-next12", 91 prevEl: ".swiper-button-prev12", 92 }, 93 breakpoints: { 94 320: { 95 slidesPerView: 1, 96 spaceBetween: 20, 97 }, 98 768: { 99 slidesPerView: 1.5, 100 spaceBetween: 20, 101 }, 102 1024: { 103 slidesPerView: 2.1, 104 spaceBetween: 25, 105 }, 106 }, 107 speed: 1000, 108 autoplay: { 109 delay: 2000, 110 disableOnInteraction: false, 111 }, 112 pagination: { 113 el: ".swiper-pagination12", 114 clickable: true, 115 }, 116 }); 117 118// Blogs 119if (window.innerWidth >= 768) { 120 var _mySwipeBlogs = new Swiper(".mySwipeBlogs", { 121 slidesPerView: 3, 122 spaceBetween: 20, 123 speed: 1000, 124 navigation: { 125 nextEl: ".swiper-button-next", 126 prevEl: ".swiper-button-prev" 127 }, 128 pagination: { 129 el: ".swiper-pagination", 130 clickable: true, 131 }, 132 breakpoints: { 133 320: { 134 slidesPerView: 1.2, 135 spaceBetween: 15, 136 }, 137 768: { 138 slidesPerView: 2, 139 spaceBetween: 15, 140 }, 141 1024: { 142 slidesPerView: 4, 143 spaceBetween: 25, 144 }, 145 }, 146 }); 147} 148 149 // Testimonails 150 var _mySwiperTestimonials = new Swiper(".mySwiperClient", { 151 152 // spaceBetween: 1, 153 slidesPerView: 1.8, 154 // centeredSlides: false, 155 // loop: false, 156 navigation: { 157 nextEl: ".swiper-button-next12", 158 prevEl: ".swiper-button-prev12" 159 }, 160 breakpoints: { 161 320: { 162 slidesPerView: 1, 163 spaceBetween: 10, 164 }, 165 768: { 166 slidesPerView: 1.5, 167 spaceBetween: 20, 168 }, 169 1024: { 170 slidesPerView: 1.6, 171 spaceBetween: 45, 172 }, 173 }, 174 speed: 1000, 175 // autoplay: { 176 // delay: 3000, 177 // disableOnInteraction: false, 178 // }, 179 pagination: { 180 el: ".swiper-pagination12", 181 clickable: true, 182 }, 183 184 }); 185 186 187}); 188// only for mobile 189document.addEventListener('DOMContentLoaded', function () { 190 if (window.innerWidth <= 768) { // Only enable Swiper on mobile devices 191 var _mySwiperlogos = new Swiper(".ems-logos-listgroup", { 192 spaceBetween: 30, 193 centeredSlides: true, 194 speed: 3000, 195 autoplay: { 196 delay: 1, 197 }, 198 loop: true, 199 slidesPerView:'auto', 200 allowTouchMove: false, 201 disableOnInteraction: true 202 }); 203 } 204 }); 205 206 window.onload = (event) => { 207 if(document.getElementById("ems-psudo-el-1")) { 208 var emsSecEl = document.getElementsByClassName("container")[0].getBoundingClientRect().x + 12; 209 210 var el = document.getElementById("ems-psudo-el-1"); 211 el.style.left = ((-1)*emsSecEl)+"px"; 212 213 } 214 }; 215 216 217document.addEventListener('DOMContentLoaded', function () { 218 if (window.innerWidth <= 768) { // Only enable Swiper on mobile devices 219 var _mySwipemobileslider = new Swiper(".ems-mobslider", { 220 spaceBetween: 20, 221 // centeredSlides: true, 222 loop: true, 223 slidesPerView:1.2, 224 allowTouchMove: true, 225 disableOnInteraction: true, 226 navigation: { 227 nextEl: ".swiper-button-next12", 228 prevEl: ".swiper-button-prev12" 229 }, 230 }); 231 } 232 });
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.