PageSourceSearch

https://www.income.com.sg/assets/js/widgets/video/video.js?v=RD4NONVW_AcQr_nX5jEv_yZ3p6_sMlnaOxMSbdHzvkE

js income.com.sg collected 2026-09-24 09:15:50 UTC 1,954 bytes, 28 lines download raw bytes

1import{M as s}from"../../../../vendor/bootstrap.esm.js";import{S as c,P as u}from"../../../../vendor/swiper-style.js";function m(){const i=document.querySelectorAll(".card-video");if(!i.length)return;const e=document.createElement("div");e.className="modal fade video-modal",e.tabIndex=-1,e.innerHTML=`
2        <div class="modal-dialog modal-dialog-centered">
3            <div class="modal-content">
4                <a
5                    role="button"
6                    class="modal-close position-absolute"
7                    data-bs-dismiss="modal"
8                    aria-label="Close"
9                >
10                    <i class="income-icons-xmark"></i>
11                </a>
12                <div class="youtube-video">
13                
14                </div>
15            </div>
16        </div>
17    `,document.body.appendChild(e);const t=e.querySelector(".youtube-video"),a=new s(e);function n(o){t.innerHTML=`
18            <iframe
19                width="100%"
20                height="100%"
21                src="https://www.youtube.com/embed/${o}?autoplay=1&playsinline=1"
22                title="YouTube video player"
23                frameborder="0"
24                allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
25                referrerpolicy="strict-origin-when-cross-origin"
26                allowfullscreen
27            ></iframe>
28        `}i.forEach(o=>{const d=o.dataset.videoId;if(!d)return;o.querySelectorAll("a").forEach(r=>{r.addEventListener("click",l=>{l.preventDefault(),n(d),a.show()})})}),e.addEventListener("hidden.bs.modal",()=>{t.innerHTML=""})}function p(){document.querySelector(".swiper.video-widget")&&new c(".swiper.video-widget",{modules:[u],centeredSlides:!0,slidesPerView:"auto",spaceBetween:16,pagination:{el:".swiper-pagination",clickable:!0,type:"bullets"}})}document.addEventListener("DOMContentLoaded",p);document.addEventListener("DOMContentLoaded",m);

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.