1SZR.StartPage = { 2 3 newestUserActive : 0, 4 historiesActive : 0, 5 ageRangeIndicator : null, 6 7 init : function () { 8 window.addEventListener("load", function () { 9 SZR.StartPage.initStories(); 10 SZR.StartPage.initIntroductions(); 11 }); 12 let list = new StartPartnerLists(); 13 list.init(); 14 SZR.common.setGoogleConsentMode(); 15 const userSwiper = document.getElementById("newest-users-swiper"); 16 if (userSwiper) { 17 const config = { 18 breakpoints: { 19 480: { 20 slidesPerGroup: 2 21 }, 22 1024: { 23 slidesPerGroup: 3, 24 } 25 }, 26 navigation: { 27 nextEl: '.swiper-btn-next', 28 prevEl: '.swiper-btn-prev', 29 } 30 }; 31 Object.assign(userSwiper, config); 32 userSwiper.initialize(); 33 } 34 if (typeof setLazyLoadLoaded === 'function') { 35 setLazyLoadLoaded(document.querySelector('.start-amateur-photos')); 36 setLazyLoadLoaded(document.querySelector('.start-partner-search')); 37 } 38 if (!data.app) { 39 GoogleSso.initGoogleSSO().then(() => { 40 GoogleSso.renderGoogleButton(document.getElementById("googleLoginButton"), "signin", 220); 41 }) 42 43 AppleSso.initAppleSSO() 44 } 45 }, 46 47 initIntroductions: function () { 48 let swiper = new HomeProposedUsers(); 49 swiper.init($("#random-user-list-swiper"), { 50 autoScroll: false, 51 }); 52 }, 53 54 initStories: function () { 55 let slider = new InfiniteSlider(); 56 slider.init($("#stories-list-slider")); 57 }, 58 59}
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.