1j$("#offcanvasRight a").click(function(){j$('.offcanvas').offcanvas('hide');});j$('#offcanvasRight').on('show.bs.offcanvas',function (){j$('html').css('overflow','hidden');});j$('#offcanvasRight').on('shown.bs.offcanvas',function (event){var $trigger=j$(event.relatedTarget || []);var $searchTrigger=$trigger.closest('button.navbar-toggler[data-focus-search="1"][data-bs-target="#offcanvasRight"]');if (!$searchTrigger.length){return;}var $searchInput=j$(this).find('input[name="freetext"]').first();if (!$searchInput.length){return;}$searchInput.trigger('focus');$searchInput.trigger('select');});j$('#offcanvasRight').on('hide.bs.offcanvas',function (){j$('html').css('overflow','scroll');});function disable3rdPartyImages($thirdPartyVideos){const image='/module/library_cruise/images/video/video-nicht-verfuegbar_EH_101_DE.png';const imageSmall='/module/library_cruise/images/video/video-nicht-verfuegbar_EH_101_DE-xs.png';const srcset=imageSmall + " 430w," + image + " 750w";if ($thirdPartyVideos.length){let $collection=[];$thirdPartyVideos.each((index,thirdPartyVideo)=>{const $thirdPartyVideo=j$(thirdPartyVideo);$thirdPartyVideo.find("[src]").not('[data-src],.refuse-3rd').each(function(){ $collection.push(j$(this).attr('data-src',j$(this).attr('src')));});$thirdPartyVideo.find("[srcset]").not('[data-srcset],.refuse-3rd').each(function(){ $collection.push(j$(this).attr('data-srcset',j$(this).attr('srcset')));});$thirdPartyVideo.find("[sizes]").not('.refuse-3rd').each(function(){ $collection.push(j$(this).attr('data-sizes',j$(this).attr('sizes')));});$thirdPartyVideo.not('[data-src2],.refuse-3rd').each(function(){ $collection.push(j$(this).attr('data-src2',j$(this).attr('data-src')));});$thirdPartyVideo.find("[data-src]").not('[data-src2],.refuse-3rd').each(function(){ $collection.push(j$(this).attr('data-src2',j$(this).attr('data-src')));});$thirdPartyVideo.find("[data-srcset]").not('[data-srcset2],.refuse-3rd').each(function(){ $collection.push(j$(this).attr('data-srcset2',j$(this).attr('data-srcset')));});$collection.push($thirdPartyVideo.find("[data-src]").addBack('[data-src]').not('.refuse-3rd').attr('data-src',image));$collection.push($thirdPartyVideo.not('.refuse-3rd').attr('data-thumb',image));$collection.push($thirdPartyVideo.find("[data-srcset]").not('.refuse-3rd').attr('data-srcset',srcset));$collection.push($thirdPartyVideo.find("[src]").not('.refuse-3rd').attr('src',image));$collection.push($thirdPartyVideo.find("[srcset]").not('.refuse-3rd').attr('srcset',srcset));});for ($coll of $collection){$coll.addClass('refuse-3rd').attr("sizes","100vw");};j$('li.refuse-3rd').closest('.galleryload').each(function(){if (j$(this).find('li.refuse-3rd').length==j$(this).find('li').length){j$(this).removeClass('galleryload').addClass('galleryloadtemp');};});};};function enable3rdPartyImages(){const $thirdPartyVideos=j$('.gallery-module .thirdPartyVideo');$thirdPartyVideos.find('[data-src2]').addBack('[data-src2]').each(function(){j$(this).attr('data-src',j$(this).attr('data-src2'));j$(this).attr('src',j$(this).attr('data-src2'));});$thirdPartyVideos.find('[data-thumb2]').addBack('[data-thumb2]').each(function(){j$(this).attr('data-thumb',j$(this).attr('data-thumb2'));});$thirdPartyVideos.find('[data-srcset2]').addBack('[data-srcset2]').each(function(){j$(this).attr('data-srcset',j$(this).attr('data-srcset2'));j$(this).attr('srcset',j$(this).attr('data-srcset2'));});$thirdPartyVideos.find('[sizes]').addBack('[sizes]').each(function(){j$(this).attr('sizes',j$(this).attr('data-sizes') || '');});j$('li.refuse-3rd').closest('.galleryloadtemp').each(function(){if (j$(this).find('li.refuse-3rd').length==j$(this).find('li').length){j$(this).removeClass('galleryloadtemp').addClass('galleryload');};});j$(".gallery-module .refuse-3rd").removeClass('refuse-3rd');};j$(document).ready(function(){j$('body').on('click','.galleryload .carousel-inner',function(e){const $this=j$(this),$galleryload=j$(this).closest('.gallery-module'),$slides=$galleryload.find('.carousel-item.active'),$carousel=$galleryload.find('.bs-carousel');if (Refuse3rdPartyContent()){disable3rdPartyImages($galleryload.find('.thirdPartyVideo'));};if ($slides.filter('.refuse-3rd').length){if ($slides.length){e.target.click();};} else{$galleryload.removeClass('galleryload');$galleryload.append('<div class="waiter"><div class="waiter-spinner waiter-center"></div></div>');initLightGallery(function(){if ($slides.length){e.target.click();};});};});j$('body').on('click','.gallery-module .grid-item',function(e){let referenceid=j$(this).data('referenceid');let $carouselitem=j$('.gallery-module .carousel-item[data-referenceid=' + referenceid + ']');$carouselitem.click();});j$('body').on('click','.gallery-module .thirdPartyVideo .refuse-3rd',function(e){showCookieAlert(true);
1e.stopPropagation();});});document.addEventListener('lazybeforeunveil',(e)=>{if (j$(e.target).hasClass('thirdPartyImg')){if (Refuse3rdPartyContent()){const $target=(e.target.closest('.thirdPartyVideo') ? j$(e.target.closest('.thirdPartyVideo')) :j$(e.target).parent());disable3rdPartyImages($target);};};});function initBSCarousel($carousel){let args={};$carousel=$carousel || j$(this); j$.extend(args,$carousel.data('bs-config'));const onSlide=(e)=>{if (args.ONSLIDE !=undefined){window[args.ONSLIDE.nameFunction](e);};};const newCarousel=new bootstrap.Carousel($carousel.get(0),args);const $imgs=$carousel.find('li img');let $lazyImg=$imgs.eq(1).add($imgs.eq($imgs.length - 1)).filter('.lazyload');$lazyImg.addClass('lazypreload'); $carousel.on('slide.bs.carousel',event=>{onSlide(event);const newActiveSlide=event.relatedTarget;scrollThumbPreviews(newActiveSlide,$carousel);preloadCarouselPicture($carousel.get(0),event.direction,newActiveSlide);});$carousel.setDataAttribute('bs-carousel-init',true);};function scrollThumbPreviews(newActiveSlide,$carousel){if (!newActiveSlide.closest('.gallery-module').querySelector('.galleryIndicator')){const index=Array.from(newActiveSlide.parentNode.children).indexOf(newActiveSlide);const img=$carousel.find('.carouselPreviewButton').get(index);if (img){const scrollEl=img.closest('.carousel-indicators'),offsetViewportToActiveTab=img.offsetLeft,offsetViewportToActiveTabCenter=((scrollEl.getBoundingClientRect().width -img.getBoundingClientRect().width) / 2 );j$(scrollEl).stop().animate({scrollLeft:offsetViewportToActiveTab - offsetViewportToActiveTabCenter},300);};};};function preloadCarouselPicture(carousel,direction,activeSlide){const $slides=j$(carousel).find('.carousel-item');activeSlide=j$(activeSlide);let indexOffset;if (direction==='left'){indexOffset=1;} else{indexOffset=-1;};const $img=$slides.eq(activeSlide.index() + indexOffset).find('img:not(.lazyloaded)');if ($img.length){lazySizes.loader.unveil($img.get(0));};};initLightGallery=function(callback){const $lightGalleries=j$('.gallery-module');if ($lightGalleries.not('.galleryload').length){const arrPromises=[];arrPromises.push(new Promise(function(resolve,reject){importAssets({script:'/module/library_cruise/libs/lightslider/1.1.6/js/lightslider.custom.min.js',style:'/module/library_cruise/libs/lightslider/1.1.6/css/lightslider.min.css'},false,()=>{resolve(true);});}));arrPromises.push(new Promise(function(resolve,reject){importAssets({script:'/module/library_cruise/libs/lightgallery/2.9.0/js/lightgallery.custom.min.js',style:'/module/library_cruise/libs/lightgallery/2.9.0/css/lightgallery-bundle.min.css'},false,()=>{resolve(true);});}));Promise.all(arrPromises).then((values)=>{var arrLightGalleries=[];$lightGalleries.find('.light-gallery:not([data-light-gallery-init="true"])').each(function(){const $lg=j$(this),$galleryModule=$lg.closest('.gallery-module');if (isLightSliderVisible($lg)){var args={hash:false,licenseKey:'32682B07-F1124FFD-B351F64C-5B8AE8F8',mobileSettings:{controls:false,download:false,showCloseIcon:true},plugins :[lgThumbnail,lgVideo],selector:'.carousel-item',toogleThumb:false,youtubePlayerParams:{modestbranding:1,rel:0}};var lg=$lg[0];lightGallery(lg,args);$lg.setDataAttribute('light-gallery-init',true);$lg.on('lgAfterOpen',function(event){var $this=j$(this);var arrSources=[];$galleryModule.find('.carouselPreviewButton img').each(function(){if (j$(this).is('[data-src]')){arrSources.push(j$(this).data('src'));} else{arrSources.push(j$(this).attr('src'));};});j$('.lg-container.lg-show .lg-outer .lg-thumb.lg-group').find('div img').each(function(index){j$(this).attr('src',arrSources[index]);});});$lg.on('lgBeforeClose',function(event){j$(this).closest('.gallery-module').find('.waiter').remove();});arrLightGalleries.push($lg);};});if (typeof callback==='function'){callback();};return arrLightGalleries;});};};function isLightSliderVisible($ls){const $collapse=$ls.closest('.collapse');if ($collapse.length && !$collapse.hasClass('show')){return false;};if (typeof elementVisibleInTab==='function'){return elementVisibleInTab($ls);} else{return true;};};
1function lazyloadCarousel(){const $carousels=j$('.gallery-module .bs-carousel:not([data-bs-carousel-init])');bindLazyloadListener($carousels,initBSCarousel);};ehPlugins.Functions.arrReady.push(lazyloadCarousel);
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.