1(function ($) { 2 "use strict"; 3 4 // Spinner 5 var spinner = function () { 6 setTimeout(function () { 7 if ($('#spinner').length > 0) { 8 $('#spinner').removeClass('show'); 9 } 10 }, 1); 11 }; 12 spinner(0); 13 14 15 // Initiate the wowjs 16 new WOW().init(); 17 18 19 // Fixed Navbar 20 $(window).scroll(function () { 21 if ($(this).scrollTop() > 300) { 22 $('.sticky-top').addClass('shadow-sm').css('top', '0px'); 23 } else { 24 $('.sticky-top').removeClass('shadow-sm').css('top', '-200px'); 25 } 26 }); 27 28 29 // Back to top button 30 $(window).scroll(function () { 31 if ($(this).scrollTop() > 300) { 32 $('.back-to-top').fadeIn('slow'); 33 } else { 34 $('.back-to-top').fadeOut('slow'); 35 } 36 }); 37 $('.back-to-top').click(function () { 38 $('html, body').animate({scrollTop: 0}, 1000, 'easeInOutExpo'); 39 return false; 40 }); 41 42 43 // Pricing-carousel 44 $(".pricing-carousel").owlCarousel({ 45 autoplay: true, 46 smartSpeed: 2000, 47 center: false, 48 dots: true, 49 loop: true, 50 margin: 25, 51 nav : true, 52 navText : [ 53 '<i class="bi bi-arrow-left"></i>', 54 '<i class="bi bi-arrow-right"></i>' 55 ], 56 responsiveClass: true, 57 responsive: { 58 0:{ 59 items:1 60 }, 61 576:{ 62 items:2 63 }, 64 768:{ 65 items:2 66 }, 67 992:{ 68 items:3 69 }, 70 1200:{ 71 items:4 72 } 73 } 74 }); 75 76 // Testimonial-carousel 77 $(".testimonial-carousel").owlCarousel({ 78 autoplay: true, 79 smartSpeed: 2000, 80 center: false, 81 dots: true, 82 loop: true, 83 margin: 25, 84 nav : true, 85 navText : [ 86 '<i class="bi bi-arrow-left"></i>', 87 '<i class="bi bi-arrow-right"></i>' 88 ], 89 responsiveClass: true, 90 responsive: { 91 0:{ 92 items:1 93 }, 94 576:{ 95 items:1 96 }, 97 768:{ 98 items:1 99 }, 100 992:{ 101 items:2 102 }, 103 1200:{ 104 items:2 105 } 106 } 107 }); 108 109 110 111 // Modal Video 112 $(document).ready(function () { 113 var $videoSrc; 114 $('.btn-play').click(function () { 115 $videoSrc = $(this).data("src"); 116 }); 117 console.log($videoSrc); 118 119 $('#videoModal').on('shown.bs.modal', function (e) { 120 $("#video").attr('src', $videoSrc + "?autoplay=1&modestbranding=1&showinfo=0"); 121 }) 122 123 $('#videoModal').on('hide.bs.modal', function (e) { 124 $("#video").attr('src', $videoSrc); 125 }) 126 $('.navbar-nav a').on('click', function(e) { 127 if (!$(this).closest('.dropdown').length) { 128 $('.navbar-toggler').click(); // Simulate a click on the navbar toggler button 129 } 130 }); 131 }); 132 133 134 // Facts counter 135 $('[data-toggle="counter-up"]').counterUp({ 136 delay: 5, 137 time: 2000 138 }); 139 140 141})(jQuery); 142 143document.addEventListener('DOMContentLoaded', function () { 144 var externalModal = document.getElementById('externalModal'); 145 var iframe = document.getElementById('externalFrame'); 146 147 externalModal.addEventListener('show.bs.modal', function (event) { 148 var trigger = event.relatedTarget; 149 150 // Prevent crash if modal is opened without a trigger 151 if (!trigger) return; 152 153 var url = trigger.getAttribute('data-url'); 154 if (url) { 155 iframe.src = url; 156 } 157 }); 158 159 externalModal.addEventListener('hidden.bs.modal', function () { 160 iframe.src = ""; // clear when closed 161 }); 162}); 163 164//* submenu hover */ 165document.querySelectorAll('.dropdown-submenu .dropdown-toggle').forEach(function(element){ 166 element.addEventListener('click', function (e) { 167 e.preventDefault(); 168 e.stopPropagation(); 169 let submenu = this.nextElementSibling; 170 submenu.classList.toggle('show'); 171 }); 172}); 173 174/* end sub menu hover */ 175document.addEventListener("DOMContentLoaded", () => { 176 const footerHTML = ` 177 <div class="container-fluid footer py-5" style="padding:0px"> 178 <div class="row g-4 align-items-center px-5"> 179 <div class="row g-5"> 180 <h4 class="text-black mt-1 mb-1">NOVEDADES</h4> 181 182 <!-- Podcast --> 183 <div class="col-md-6 col-lg-6 col-xl-4 mt-1 mb-1"> 184 <div class="footer-item mt-1 mb-1"> 185 <iframe name="podcast-1" id="podcast-1" style="border-radius:12px" 186 src="https://open.spotify.com/embed/episode/3IPzjKEFqvuab6Twfebnqy?utm_source=generator" 187 width="100%" height="352" frameborder="0" 188 allow="autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture" 189 loading="lazy"></iframe> 190 <p class="text-black"> 191 Podcast en "Conversaciones que inspiran" 192 <a href="https://startupbiobio.com/podcast/" target="_blank" class="navbar-brand"> 193 <img src="img/startup-biobio-1.png" alt="Startup BioBio"> 194 </a> 195 </p> 196 </div> 197 </div> 198 199 <!-- YouTube 1 --> 200 <div class="col-md-6 col-lg-6 col-xl-4 mt-1 mb-1"> 201 <div class="footer-item d-flex flex-column mt-1 mb-1"> 202 <iframe name="lanzamiento-1" id="lanzamiento-1" style="border-radius:12px" 203 src="https://www.youtube.com/embed/xFj27GSm--A?si=XGGA-XELIpiPT2n1" 204 width="100%" height="352" frameborder="0" allowfullscreen></iframe> 205 </div><!--"https://www.youtube.com/embed/85Ov-4bOQgU?si=WKC3I0hbkRIlHz3Y&start=310"--> 206 </div> 207 208 <!-- YouTube 2 --> 209 <div class="col-md-6 col-lg-6 col-xl-4 mt-1 mb-1"> 210 <div class="footer-item d-flex flex-column mt-1 mb-1"> 211 <iframe name="lanzamiento-2" id="lanzamiento-2" style="border-radius:12px" 212 src="https://www.youtube.com/embed/GKTE1RCC2ss?si=UlxFf_4UPlrqQm70" 213 width="100%" height="352" frameborder="0" allowfullscreen></iframe> 214 </div><!--"https://www.youtube.com/embed/QjT9KUdlLuw?si=Ckpq9gPB6mnC-N7f"--> 215 </div> 216 217 <!-- Optional Follow Us / Contact Section --> 218 <!-- 219 <div class="col-md-6 col-lg-6 col-xl-4 mt-1 mb-1"> 220 <div class="footer-item d-flex flex-column mt-1 mb-1"> 221 <h4 class="text-black mt-1 mb-1">Follow Us</h4> 222 <a href="https://www.facebook.com/app.metamorfosis" target="_blank"><i class="fas fa-angle-right me-2"></i> Facebook</a> 223 <a href="https://www.instagram.com/app.metamorfosis/" target="_blank"><i class="fas fa-angle-right me-2"></i> Instagram</a> 224 <a href=""><i class="fas fa-angle-right me-2"></i> Twitter</a> 225 <h4 class="text-black mt-1 mb-1">Contact Us</h4> 226 <p class="mb-0"> 227 <i class="fas fa-envelope text-secondary me-2"></i> 228 <a href="mailto:[email protected]" class="text-white">E-mail</a> 229 </p> 230 </div> 231 </div> 232 --> 233 </div> 234 </div> 235 </div> 236 `; 237 238 const footerEl = document.getElementById("footer"); 239 if (footerEl) { 240 footerEl.innerHTML = footerHTML; 241 } 242}); 243 244document.addEventListener("DOMContentLoaded", () => { 245 const copyrightHTML = ` 246 <div class="container-fluid copyright py-4"> 247 <div class="row g-4 align-items-center px-5"> 248 <div class="row g-4 align-items-center px-5"> 249 <div class="col-md-4 text-center text-md-start mb-md-0">
250 <span class="text-light"> 251 <a href="https://metamorfosis.somosmassalud.cl/"> 252 <i class="fas fa-copyright text-light me-2"></i> 253 Metamorfosis - Somos más Salud 254 </a>, Todos los derechos reservados. 255 </span> 256 </div> 257 <div class="col-md-4"> 258 <div class="d-flex justify-content-center"> 259 <a href="https://www.facebook.com/app.metamorfosis" target="_blank" class="btn btn-light btn-sm-square rounded-circle me-2"><i class="fab fa-facebook-f"></i></a> 260 <a href="" class="btn btn-light btn-sm-square rounded-circle me-2"><i class="fab fa-twitter"></i></a> 261 <a href="https://www.instagram.com/app.metamorfosis/" target="_blank" class="btn btn-light btn-sm-square rounded-circle me-2"><i class="fab fa-instagram"></i></a> 262 <a href="" class="btn btn-light btn-sm-square rounded-circle me-0"><i class="fab fa-linkedin-in"></i></a> 263 </div> 264 </div> 265 <div class="col-md-4 text-center text-md-end text-white"> 266 Designed By <a class="border-bottom" href="https://htmlcodex.com">HTML Codex</a> 267 Distributed By <a class="border-bottom" href="https://themewagon.com">ThemeWagon</a> 268 </div> 269 </div> 270 </div> 271 </div> 272 `; 273 274 const copyrightEl = document.getElementById("copyright"); 275 if (copyrightEl) { 276 copyrightEl.innerHTML = copyrightHTML; 277 } 278});
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.