PageSourceSearch

https://www.unisg.ch/typo3temp/assets/vhs-assets-podcastslider.js?1790235810

js unisg.ch collected 2026-09-24 08:29:06 UTC 2,225 bytes, 1 lines download raw bytes

1;var iframes;require(['jquery','swiper','vlite','focuspoint','matchheight','main'],function(e,t,i){initaudio=function(t){myparent=e(t).parents('.swiper-slide');topparent=myparent.parents('.tx-cs2-podcastslider');e(t).on('play',function(t){topparent.addClass('podplaying');e(t.target).next('.v-controlBar').find('.v-duration').appendTo(e(t.target).next('.v-controlBar').find('.v-time.audio'))});e(t).on('pause',function(e){topparent.removeClass('podplaying')});player=new i('#'+t.id,{options:{controls:!0,autoplay:!1,playPause:!0,progressBar:!0,time:!0,volume:!1}});t.currentTime=0;if(myparent.length){myparent[0].vliteplayer=player}};e('.play-podcast').on('click',function(t){var a=e(t.currentTarget).parents('.big-control'),s=e(t.currentTarget).parents('.tx-cs2-podcastslider'),i=s.find('.podcast-slider .swiper-slide-active'),r=i.find('.podcast-item');if(typeof i[0].vliteplayer!='object'){initaudio(i.find('.vlite-js')[0])};setTimeout(function(){i[0].vliteplayer.player.play()},100)});e('.tx-cs2-podcastslider').each(function(i,s){bgs=e(s).find('.podcast-slider-bg');pslidere=e(s).find('.podcast-slider');bgslider=new t(bgs[0],{slidesPerView:1,loop:!1,autoplay:!1,touchThreshold:100,watchOverflow:!0,preloadImages:!1,observeParents:!0,spaceBetween:0,freeMode:!0,effect:'fade',fadeEffect:{crossFade:!0},watchSlidesProgress:!0,watchSlidesVisibility:!0,lazy:{loadPrevNext:!0,loadOnTransitionStart:!0,checkInView:!0}});mslider=new t(pslidere[0],{slidesPerView:1,loop:!1,autoplay:!1,touchThreshold:100,watchOverflow:!0,observeParents:!0,spaceBetween:0,watchSlidesVisibility:!0,navigation:{nextEl:e(this).parent().find('.swiper-button-next')[0],prevEl:e(this).parent().find('.swiper-button-prev')[0],},lazy:{loadPrevNext:!0,loadOnTransitionStart:!0,checkInView:!0},controller:{control:bgslider,},on:{lazyImageLoad:function(t,i,s){e(s).parents('.focuspoint').focusPoint()},slideChange:function(){this.$el.parents('.tx-cs2-podcastslider').removeClass('podplaying')},transitionStart:function(){if(this.slides.length>this.params.slidesPerView){if(this.slides.eq(this.previousIndex).length&&typeof this.slides.eq(this.previousIndex)[0].vliteplayer=='object'){this.slides.eq(this.previousIndex)[0].vliteplayer.player.pause()}}}}})})})

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.