PageSourceSearch

https://www.messe-offenbach.de/wp-content/cache/autoptimize/js/aut…_single_958886f1804d1d97df9dd85196dbd756.js

js messe-offenbach.de collected 2026-10-05 00:42:03 UTC 5,537 bytes, 60 lines download raw bytes

1(function($)
2{"use strict";$.avia_utilities=$.avia_utilities||{};$.avia_utilities.av_popup={type:'image',mainClass:'avia-popup mfp-zoom-in',tLoading:'',tClose:'',removalDelay:300,closeBtnInside:true,closeOnContentClick:false,midClick:true,autoFocusLast:false,fixedContentPos:$('html').hasClass('av-default-lightbox-no-scroll'),iframe:{patterns:{youtube:{index:'youtube.com/watch',id:function(url){let m=url.match(/[\\?\\&]v=([^\\?\\&]+)/),id,params;if(!m||!m[1])
3{return null;}
4id=m[1];params=url.split('/watch');params=params[1];return id+params;},src:'//www.youtube.com/embed/%id%'},youtube_shorts:{index:'youtube.com/shorts',id:function(url){let m=url.match(/(?:youtube\.com\/shorts\/)([a-zA-Z0-9_-]*)/),id,params;if(!m||!m[1])
5{return null;}
6id=m[1];params=url.split('/shorts');params=params[1];return id+params;},src:'//www.youtube.com/embed/%id%'},vimeo:{index:'vimeo.com/',id:function(url){let m=url.match(/(https?:\/\/)?(www.)?(player.)?vimeo.com\/([a-z]*\/)*([0-9]{6,11})\/(\w{6,11})[?]?.*/),params,vid;m=m?m:url.match(/(https?:\/\/)?(www.)?(player.)?vimeo.com\/([a-z]*\/)*([0-9]{6,11})[?]?.*/);if(!m||!m[5])
7{return null;}
8vid=m[5];params=url.split('?');params=params[1]?"?"+params[1]:"";if(m[6])
9{vid=vid+(params?params+"&h=":"?h=")+m[6];}else{vid=vid+params;}
10return vid;},src:'//player.vimeo.com/video/%id%'}}},image:{titleSrc:function(item)
11{var title=item.el.attr('title');if(!title)
12{title=item.el.find('img').attr('title');}
13if(!title)
14{title=item.el.parent().next('.wp-caption-text').html();}
15if(typeof title!="undefined")
16{return title;}
17if(!$('body').hasClass('avia-mfp-show-alt-text'))
18{return'';}
19var alt=item.el.attr('alt');if(typeof alt!="undefined")
20{return alt;}
21alt=item.el.find('img').attr('alt');if(typeof alt!="undefined")
22{return alt;}
23return'';}},gallery:{tPrev:'',tNext:'',tCounter:'%curr% / %total%',enabled:true,preload:[1,1]},callbacks:{beforeOpen:function()
24{if(this.st.el&&this.st.el.data('fixed-content'))
25{this.fixedContentPos=true;}
26let elementCustomClass='';if(this.st.el&&this.st.el.data('custom_class'))
27{elementCustomClass=this.st.el.data('custom_class').trim();}
28else if(this.st.el)
29{let element=$(this.st.el),href=element.attr('href');if((href.indexOf('youtube.com')>=0)&&(href.indexOf('/shorts/')>=0))
30{elementCustomClass='avia-mfp-is-video avia-mfp-video-9-16';}}
31if(elementCustomClass)
32{this.st.mainClass+=' '+elementCustomClass;}},open:function()
33{$.magnificPopup.instance.next=function()
34{var self=this;self.wrap.removeClass('mfp-image-loaded');setTimeout(function(){$.magnificPopup.proto.next.call(self);},120);};$.magnificPopup.instance.prev=function()
35{var self=this;self.wrap.removeClass('mfp-image-loaded');setTimeout(function(){$.magnificPopup.proto.prev.call(self);},120);};if(this.st.el&&this.st.el.data('av-extra-class'))
36{this.wrap.addClass(this.currItem.el.data('av-extra-class'));}
37this.wrap.avia_swipe_trigger({prev:'.mfp-arrow-left',next:'.mfp-arrow-right'});},markupParse:function(template,values,item)
38{if(typeof values.img_replaceWith=='undefined'||typeof values.img_replaceWith.length=='undefined'||values.img_replaceWith.length==0)
39{return;}
40var img=$(values.img_replaceWith[0]);if(typeof img.attr('alt')!='undefined')
41{return;}
42var alt=item.el.attr('alt');if(typeof alt=="undefined")
43{alt=item.el.find('img').attr('alt');}
44if(typeof alt!="undefined")
45{img.attr('alt',alt);}
46return;},imageLoadComplete:function()
47{var self=this;setTimeout(function(){self.wrap.addClass('mfp-image-loaded');},16);},change:function()
48{if(this.currItem.el)
49{var current=this.currItem.el;this.content.find('.av-extra-modal-content, .av-extra-modal-markup').remove();if(current.data('av-extra-content'))
50{var extra=current.data('av-extra-content');this.content.append("<div class='av-extra-modal-content'>"+extra+"</div>");}
51if(current.data('av-extra-markup'))
52{var markup=current.data('av-extra-markup');this.wrap.append("<div class='av-extra-modal-markup'>"+markup+"</div>");}}}}};$.fn.avia_activate_lightbox=function(variables)
53{var defaults={groups:['.avia-slideshow','.avia-gallery','.av-horizontal-gallery','.av-instagram-pics','.portfolio-preview-image','.portfolio-preview-content','.isotope','.post-entry','.sidebar','#main','.main_menu','.woocommerce-product-gallery'],autolinkElements:'a.lightbox, a[rel^="prettyPhoto"], a[rel^="lightbox"], a[href$=jpg], a[href$=webp], a[href$=png], a[href$=gif], a[href$=jpeg], a[href*=".jpg?"], a[href*=".png?"], a[href*=".gif?"], a[href*=".jpeg?"], a[href$=".mov"] , a[href$=".swf"] , a:regex(href, .vimeo\.com/[0-9]) , a[href*="youtube.com/watch"] , a[href*="youtube.com/shorts"] , a[href*="screenr.com"], a[href*="iframe=true"]',videoElements:'a[href$=".mov"] , a[href$=".swf"] , a:regex(href, .vimeo\.com/[0-9]) , a[href*="youtube.com/watch"] , a[href*="youtube.com/shorts"] , a[href*="screenr.com"], a[href*="iframe=true"]',exclude:'.noLightbox, .noLightbox a, .fakeLightbox, .lightbox-added, a[href*="dropbox.com"], .pagination a'},options=$.extend({},defaults,variables),active=!$('html').is('.av-custom-lightbox');if(!active)
54{return this;}
55return this.each(function()
56{var container=$(this),videos=$(options.videoElements,this).not(options.exclude).addClass('mfp-iframe'),ajaxed=!container.is('body')&&!container.is('.ajax_slide');for(var i=0;i<options.groups.length;i++)
57{container.find(options.groups[i]).each(function()
58{var links=$(options.autolinkElements,this);if(ajaxed)
59{links.removeClass('lightbox-added');}
60links.not(options.exclude).addClass('lightbox-added').magnificPopup($.avia_utilities.av_popup);});}});};})(jQuery);

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.