PageSourceSearch

https://www.vrb-online.de/assets/colorbox/js/colorbox.min.js?v=1.6.4.2

js vrb-online.de collected 2026-10-01 12:28:06 UTC 12,907 bytes, 9 lines download raw bytes

1/*!
2	Colorbox 1.6.4
3	license: MIT
4	http://www.jacklmoore.com/colorbox
5
6	Included patches:
7	* https://github.com/jackmoore/colorbox/pull/832
8*/
9!function(d,a,h){var s,c,u,g,f,p,m,w,l,v,x,y,b,T,r,t,C,H,k,W,I,M,E,P,S,F,K,L,R,$,D,B,n,o={html:!1,photo:!1,iframe:!1,inline:!1,transition:"elastic",speed:300,fadeOut:300,width:!1,initialWidth:"600",innerWidth:!1,maxWidth:!1,height:!1,initialHeight:"450",innerHeight:!1,maxHeight:!1,scalePhotos:!0,scrolling:!0,opacity:.9,preloading:!0,className:!1,overlayClose:!0,escKey:!0,arrowKey:!0,top:!1,bottom:!1,left:!1,right:!1,fixed:!1,data:void 0,closeButton:!0,fastIframe:!0,open:!1,reposition:!0,loop:!0,slideshow:!1,slideshowAuto:!0,slideshowSpeed:2500,slideshowStart:"start slideshow",slideshowStop:"stop slideshow",photoRegex:/\.(gif|png|jp(e|g|eg)|bmp|ico|webp|jxr|svg)((#|\?).*)?$/i,retinaImage:!1,retinaUrl:!1,retinaSuffix:"@2x.$1",current:"image {current} of {total}",previous:"previous",next:"next",close:"close",xhrError:"This content failed to load.",imgError:"This image failed to load.",returnFocus:!0,trapFocus:!0,onOpen:!1,onLoad:!1,onComplete:!1,onCleanup:!1,onClosed:!1,rel:function(){return this.rel},href:function(){return d(this).attr("href")},title:function(){return this.title},createImg:function(){var i=new Image,t=d(this).data("cbox-img-attrs");return"object"==typeof t&&d.each(t,function(t,e){i[t]=e}),i},createIframe:function(){var i=a.createElement("iframe"),t=d(this).data("cbox-iframe-attrs");return"object"==typeof t&&d.each(t,function(t,e){i[t]=e}),"frameBorder"in i&&(i.frameBorder=0),"allowTransparency"in i&&(i.allowTransparency="true"),i.name=(new Date).getTime(),i.allowFullscreen=!0,i}},N="colorbox",O="cbox",_=O+"Element",j=O+"_open",z=O+"_load",A=O+"_complete",e=O+"_cleanup",q=O+"_closed",U=O+"_purge",G=d("<a/>"),Q="div",J=0,V={};function X(t,e,i){var n=a.createElement(t);return e&&(n.id=O+e),i&&(n.style.cssText=i),d(n)}function Y(){return h.innerHeight?h.innerHeight:d(h).height()}function Z(t){return t.find('a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), [tabindex="0"]')}function tt(t){return Z(t).first()}function et(t){return Z(t).last()}function it(t,i){i!==Object(i)&&(i={}),this.cache={},this.el=t,this.value=function(t){var e;return void 0===this.cache[t]&&(void 0!==(e=d(this.el).attr("data-cbox-"+t))?this.cache[t]=e:void 0!==i[t]?this.cache[t]=i[t]:void 0!==o[t]&&(this.cache[t]=o[t])),this.cache[t]},this.get=function(t){var e=this.value(t);return d.isFunction(e)?e.call(this.el,this):e}}function nt(t){var e=l.length,i=(F+t)%e;return i<0?e+i:i}function ot(t,e){return Math.round((/%/.test(t)?("x"===e?v.width():Y())/100:1)*parseInt(t,10))}function at(t,e){return t.get("photo")||t.get("photoRegex").test(e)}function rt(t,e){return t.get("retinaUrl")&&1<h.devicePixelRatio?e.replace(t.get("photoRegex"),t.get("retinaSuffix")):e}function ht(t){ht.str!==t&&(c.add(s).removeClass(ht.str).addClass(t),ht.str=t)}function st(t){d(a).trigger(t),G.triggerHandler(t)}var i,lt,dt,ct,ut=(dt=O+"Slideshow_",ct="click."+O,function(){i?I.get("slideshow")||(G.unbind(e,wt),wt()):I.get("slideshow")&&l[1]&&(i=!0,G.one(e,wt),I.get("slideshowAuto")?pt():mt(),t.attr("aria-hidden","false").show())});function gt(){clearTimeout(lt)}function ft(){(I.get("loop")||l[F+1])&&(gt(),lt=setTimeout(B.next,I.get("slideshowSpeed")))}function pt(){t.html(I.get("slideshowStop")).attr("aria-label",I.get("slideshowStop")).unbind(ct).one(ct,mt),G.bind(A,ft).bind(z,gt),c.removeClass(dt+"off").addClass(dt+"on")}function mt(){gt(),G.unbind(A,ft).unbind(z,gt),t.html(I.get("slideshowStart")).attr("aria-label",I.get("slideshowStart")).unbind(ct).one(ct,function(){B.next(),pt()}),c.removeClass(dt+"on").addClass(dt+"off")}function wt(){i=!1,t.attr("aria-hidden","true").hide(),gt(),G.unbind(A,ft).unbind(z,gt),c.removeClass(dt+"off "+dt+"on")}function vt(t){var e;if(!$){if(e=d(t).data(N),function(t){F=0,t&&!1!==t&&"nofollow"!==t?(l=d("."+_).filter(function(){return new it(this,d.data(this,N)).get("rel")===t}),-1===(F=l.index(I.el))&&(l=l.add(I.el),F=l.length-1)):l=d(I.el)}((I=new it(t,e)).get("rel")),!L){L=R=!0,ht(I.get("className")),c.css({visibility:"hidden",display:"block",opacity:""}).attr("aria-hidden","true"),x=X(Q,"LoadedContent","width:0; height:0; overflow:hidden; visibility:hidden"),g.css({width:"",height:""}).append(x),M=f.height()+w.height()+g.outerHeight(!0)-g.height(),E=p.width()+m.width()+g.outerWidth(!0)-g.width(),P=x.outerHeight(!0),S=x.outerWidth(!0);var i=ot(I.get("initialWidth"),"x"),n=ot(I.get("initialHeight"),"y"),o=I.get("maxWidth"),a=I.get("maxHeight");I.w=Math.max((!1!==o?Math.min(i,ot(o,"x")):i)-S-E,0),I.h=Math.max((!1!==a?Math.min(n,ot(a,"y")):n)-P-M,0),x.css({width:"",height:I.h}),B.position(),st(j),I.get("onOpen"),W.add(T).hide(),c.attr("aria-hidden","false"),I.get("returnFocus")&&G.one(q,function(){d(I.el).focus()})}var r=parseFloat(I.get("opacity"));
9s.css({opacity:r==r?r:"",cursor:I.get("overlayClose")?"pointer":"",visibility:"visible"}).show(),I.get("closeButton")?k.html(I.get("close")).attr("aria-hidden","false").appendTo(g):k.appendTo("<div/>"),function(){var t,e,i,n=B.prep,o=++J;K=!(R=!0),st(U),st(z),I.get("onLoad"),I.h=I.get("height")?ot(I.get("height"),"y")-P-M:I.get("innerHeight")&&ot(I.get("innerHeight"),"y"),I.w=I.get("width")?ot(I.get("width"),"x")-S-E:I.get("innerWidth")&&ot(I.get("innerWidth"),"x"),I.mw=I.w,I.mh=I.h,I.get("maxWidth")&&(I.mw=ot(I.get("maxWidth"),"x")-S-E,I.mw=I.w&&I.w<I.mw?I.w:I.mw);I.get("maxHeight")&&(I.mh=ot(I.get("maxHeight"),"y")-P-M,I.mh=I.h&&I.h<I.mh?I.h:I.mh);if(t=I.get("href"),D=setTimeout(function(){b.show()},100),I.get("inline")){var a=d(t).eq(0);i=d("<div>").hide().insertBefore(a),G.one(U,function(){i.replaceWith(a)}),n(a)}else I.get("iframe")?n(" "):I.get("html")?n(I.get("html")):at(I,t)?(t=rt(I,t),K=I.get("createImg"),d(K).addClass(O+"Photo").bind("error."+O,function(){n(X(Q,"Error").html(I.get("imgError")))}).one("load",function(){o===J&&setTimeout(function(){var t;I.get("retinaImage")&&1<h.devicePixelRatio&&(K.height=K.height/h.devicePixelRatio,K.width=K.width/h.devicePixelRatio),I.get("scalePhotos")&&(e=function(){K.height-=K.height*t,K.width-=K.width*t},I.mw&&K.width>I.mw&&(t=(K.width-I.mw)/K.width,e()),I.mh&&K.height>I.mh&&(t=(K.height-I.mh)/K.height,e())),I.h&&(K.style.marginTop=Math.max(I.mh-K.height,0)/2+"px"),l[1]&&(I.get("loop")||l[F+1])&&(K.style.cursor="pointer",d(K).bind("click."+O,function(){B.next()})),K.style.width=K.width+"px",K.style.height=K.height+"px",n(K)},1)}),K.src=t):t&&y.load(t,I.get("data"),function(t,e){o===J&&n("error"===e?X(Q,"Error").html(I.get("xhrError")):d(this).contents())})}()}}function xt(){c||(n=!1,v=d(h),c=X(Q).attr({id:N,class:!1===d.support.opacity?O+"IE":"",role:"dialog","aria-hidden":"true","aria-labelledby":"cboxTitle","aria-describedby":"cboxCurrent"}).hide(),s=X(Q,"Overlay").hide(),b=d([X(Q,"LoadingOverlay")[0],X(Q,"LoadingGraphic")[0]]),u=X(Q,"Wrapper"),g=X(Q,"Content").append(T=X(Q,"Title").attr("aria-live","polite"),r=X(Q,"Current"),H=d('<button type="button">previous</button>').attr({id:O+"Previous","aria-hidden":"true"}),C=d('<button type="button">next</button>').attr({id:O+"Next","aria-hidden":"true"}),t=d('<button type="button">start slideshow</button>').attr({id:O+"Slideshow","aria-hidden":"true"}),b),k=d('<button type="button">close</button>').attr({id:O+"Close","aria-hidden":"true"}),u.append(X(Q).append(X(Q,"TopLeft"),f=X(Q,"TopCenter"),X(Q,"TopRight")),X(Q,!1,"clear:left").append(p=X(Q,"MiddleLeft"),g,m=X(Q,"MiddleRight")),X(Q,!1,"clear:left").append(X(Q,"BottomLeft"),w=X(Q,"BottomCenter"),X(Q,"BottomRight"))).find("div div").css({float:"left"}),y=X(Q,!1,"position:absolute; width:9999px; visibility:hidden; display:none; max-width:none;"),W=C.add(H).add(r).add(t)),a.body&&!c.parent().length&&d(a.body).append(s,c.append(u,y))}d[N]||(d(xt),(B=d.fn[N]=d[N]=function(e,t){var i=this;return e=e||{},d.isFunction(i)&&(i=d("<a/>"),e.open=!0),i[0]&&(xt(),function(){function t(t){1<t.which||t.shiftKey||t.altKey||t.metaKey||t.ctrlKey||(t.preventDefault(),vt(this))}return!!c&&(n||(n=!0,C.click(function(){B.next()}),H.click(function(){B.prev()}),k.click(function(){B.close()}),s.click(function(){I.get("overlayClose")&&B.close()}),d(a).bind("keydown."+O,function(t){var e=t.keyCode;L&&I.get("escKey")&&27===e&&(t.preventDefault(),B.close()),L&&I.get("arrowKey")&&l[1]&&!t.altKey&&(37===e?(t.preventDefault(),H.click()):39===e&&(t.preventDefault(),C.click())),L&&I.get("trapFocus")&&9===e&&(1===Z(c).length?t.preventDefault():t.shiftKey?a.activeElement===tt(c)[0]&&(t.preventDefault(),et(c).focus()):a.activeElement===et(c)[0]&&(t.preventDefault(),tt(c).focus()))}),d.isFunction(d.fn.on)?d(a).on("click."+O,"."+_,t):d("."+_).live("click."+O,t)),!0)}()&&(t&&(e.onComplete=t),i.each(function(){var t=d.data(this,N)||{};d.data(this,N,d.extend(t,e))}).addClass(_),new it(i[0],e).get("open")&&vt(i[0]))),i}).position=function(e,t){var i,n,o,a=0,r=0,h=c.offset();function s(){f[0].style.width=w[0].style.width=g[0].style.width=parseInt(c[0].style.width,10)-E+"px",g[0].style.height=p[0].style.height=m[0].style.height=parseInt(c[0].style.height,10)-M+"px"}if(v.unbind("resize."+O),c.css({top:-9e4,left:-9e4}),n=v.scrollTop(),o=v.scrollLeft(),I.get("fixed")?(h.top-=n,h.left-=o,c.css({position:"fixed"})):(a=n,r=o,c.css({position:"absolute"})),!1!==I.get("right")?r+=Math.max(v.width()-I.w-S-E-ot(I.get("right"),"x"),0):!1!==I.get("left")?r+=ot(I.get("left"),"x"):r+=Math.round(Math.max(v.width()-I.w-S-E,0)/2),!1!==I.get("bottom")?a+=Math.max(Y()-I.h-P-M-ot(I.get("bottom"),"y"),0):!1!==I.get("top")?a+=ot
9(I.get("top"),"y"):a+=Math.round(Math.max(Y()-I.h-P-M,0)/2),c.css({top:h.top,left:h.left,visibility:"visible"}).attr("aria-hidden","false"),u[0].style.width=u[0].style.height="9999px",i={width:I.w+S+E,height:I.h+P+M,top:a,left:r},e){var l=0;d.each(i,function(t){i[t]===V[t]||(l=e)}),e=l}V=i,e||c.css(i),c.dequeue().animate(i,{duration:e||0,complete:function(){s(),R=!1,u[0].style.width=I.w+S+E+"px",u[0].style.height=I.h+P+M+"px",I.get("reposition")&&setTimeout(function(){v.bind("resize."+O,B.position)},1),d.isFunction(t)&&t()},step:s})},B.resize=function(t){var e;L&&((t=t||{}).width&&(I.w=ot(t.width,"x")-S-E),t.innerWidth&&(I.w=ot(t.innerWidth,"x")),x.css({width:I.w}),t.height&&(I.h=ot(t.height,"y")-P-M),t.innerHeight&&(I.h=ot(t.innerHeight,"y")),t.innerHeight||t.height||(e=x.scrollTop(),x.css({height:"auto"}),I.h=x.height()),x.css({height:I.h}),e&&x.scrollTop(e),B.position("none"===I.get("transition")?0:I.get("speed")))},B.prep=function(t){if(L){var e,o="none"===I.get("transition")?0:I.get("speed");x.remove(),(x=X(Q,"LoadedContent").append(t)).hide().appendTo(y.show()).css({width:(I.w=I.w||x.width(),I.w=I.mw&&I.mw<I.w?I.mw:I.w,I.w),overflow:I.get("scrolling")?"auto":"hidden"}).css({height:(I.h=I.h||x.height(),I.h=I.mh&&I.mh<I.h?I.mh:I.h,I.h)}).prependTo(g),y.hide(),d(K).css({float:"none"}),ht(I.get("className")),e=function(){var t,e,i=l.length;function n(){!1===d.support.opacity&&c[0].style.removeAttribute("filter")}L&&(e=function(){clearTimeout(D),b.hide(),st(A),I.get("onComplete")},T.html(I.get("title")).show(),x.show(),1<i?("string"==typeof I.get("current")&&r.html(I.get("current").replace("{current}",F+1).replace("{total}",i)).attr("aria-live","polite").show(),$showNext=I.get("loop")||F<i-1,C[$showNext?"show":"hide"]().html(I.get("next")).attr("aria-hidden",$showNext?"false":"true"),$showPrev=I.get("loop")||F,H[$showPrev?"show":"hide"]().html(I.get("previous")).attr("aria-hidden",$showPrev?"false":"true"),H.is(":focus")||C.is(":focus")||k.is(":focus")||($showPrev?H.focus():$showNext?C.focus():k.focus()),ut(),I.get("preloading")&&d.each([nt(-1),nt(1)],function(){var t=l[this],e=new it(t,d.data(t,N)),i=e.get("href");i&&at(e,i)&&(i=rt(e,i),a.createElement("img").src=i)})):W.hide(),I.get("iframe")?(t=I.get("createIframe"),I.get("scrolling")||(t.scrolling="no"),d(t).attr({src:I.get("href"),class:O+"Iframe"}).one("load",e).appendTo(x),G.one(U,function(){t.src="//about:blank"}),I.get("fastIframe")&&d(t).trigger("load")):e(),"fade"===I.get("transition")?c.fadeTo(o,1,n):n())},"fade"===I.get("transition")?c.fadeTo(o,0,function(){B.position(0,e)}):B.position(o,e)}},B.next=function(){!R&&l[1]&&(I.get("loop")||l[F+1])&&(F=nt(1),vt(l[F]))},B.prev=function(){!R&&l[1]&&(I.get("loop")||F)&&(F=nt(-1),vt(l[F]))},B.close=function(){L&&!$&&(L=!($=!0),st(e),I.get("onCleanup"),v.unbind("."+O),s.fadeTo(I.get("fadeOut")||0,0),c.stop().fadeTo(I.get("fadeOut")||0,0,function(){c.hide().attr("aria-hidden","true"),s.hide(),st(U),x.remove(),setTimeout(function(){$=!1,st(q),I.get("onClosed")},1)}))},B.remove=function(){c&&(c.stop(),d[N].close(),c.stop(!1,!0).remove(),s.remove(),$=!1,c=null,d("."+_).removeData(N).removeClass(_),d(a).unbind("click."+O).unbind("keydown."+O))},B.element=function(){return d(I.el)},B.settings=o)}(jQuery,document,window);

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.