PageSourceSearch

https://pg-wendelinus.de/_assets/vite/JavaScript/index.js?1789033598

js pg-wendelinus.de collected 2026-09-25 11:22:48 UTC 29,223 bytes, 1 lines download raw bytes

1function G(s,t){return t?t.toUpperCase():""}function S(s,t,e){let i=null,n,o=null,r,a;const l=function(){var d=H()-n;t>d?i=window.setTimeout(l,t-d):(i=null,o&&(r=s.apply(a,o)),i||(o=a=null))},h=function(...d){return a=this,o=d,n=H(),i||(i=window.setTimeout(l,t)),r};return h.cancel=function(){i&&window.clearTimeout(i),i=o=a=null},h}const H=Date.now||function(){return new Date().getTime()};function v(s){return s.length?G(null,s.charAt(0))+s.slice(1):""}function p(s,t){t(s);let e=s.firstElementChild;for(;e;){const i=e.nextElementSibling;p(e,t),e=i}}function B(s){return s instanceof Element}function U(s,t){const e=[];let i=s;for(;i&&(i=i.parentElement);)e.push(i);return e}function Y(s){const{parentElement:t}=s;t&&t.removeChild(s)}function F(s){return K(s).filter(B)}function K(s){return Array.prototype.slice.apply(s)}const J=typeof window<"u",Z=J&&/msie|trident/i.test(window.navigator.userAgent);(function(){const s=!("WebkitAnimation"in document.body.style),t="ontransitionend"in document.body,e=s?a=>a.toLowerCase():a=>`webkit${a}`,i=s?a=>a:a=>`webkit${v(a)}`,n=t?a=>a.toLowerCase():a=>`webkit${a}`,o=t?a=>a:a=>`webkit${v(a)}`,r="transform"in document.body.style?a=>a:a=>`webkit${v(a)}`;return{animation:i("animation"),onAnimationEnd:e("AnimationEnd"),onTransitionEnd:n("transitionend"),perspective:r("perspective"),transform:r("transform"),transformOrigin:r("transformOrigin"),transition:o("transition")}})();function tt(s,t,e){return function(i){const{target:n}=i,o=B(n)?n.closest(t):null;o&&(i.delegate=s,i.current=o,e.call(this,i))}}function et(s){return function(t){if(t.target===t.currentTarget)return s(t)}}function N(s){return s&&Z&&typeof s!="boolean"?!!s.capture:s}function it(s,t=!0,e=!1,i){if(typeof s!="string")return s;const n=document.createEvent("CustomEvent");return n.initCustomEvent(s,t,e,i),n}function u(s,t,e,{selector:i,self:n,scope:o,...r}={}){o&&(e=e.bind(o)),n&&(e=et(e)),i&&(e=tt(s,i,e));const a=N(r);return t.split(" ").forEach(l=>s.addEventListener(l,e,a)),function(){st(s,t,e,a)}}function st(s,t,e,i=!1){i=N(i),t.split(" ").forEach(n=>s.removeEventListener(n,e,i))}function _(s,t,e){return s.dispatchEvent(it(t,!0,!0,e))}const nt=4;let L=!1;function T(s=1){D(f.reads),D(f.writes.splice(0)),L=!1,(f.reads.length||f.writes.length)&&C(s+1)}function C(s=0){L||(L=!0,s&&s<nt?Promise.resolve().then(()=>T(s)):requestAnimationFrame(()=>T()))}function D(s){let t;for(;t=s.shift();)try{const e=t();e&&f.write(e)}catch(e){console.error(e)}}function O(s,t){const e=s.indexOf(t);return!!(~e&&s.splice(e,1))}const f={reads:[],writes:[],read(s){return this.reads.push(s),C(),s},write(s){return this.writes.push(s),C(),s},clear(s){O(this.reads,s),O(this.writes,s)},flush:T},k=[],P={};let b=!1,M=!1;function ot(){u(window,"load resize",R("onMeasure")),u(window,"scroll",R("onScroll"),{capture:!0})}function rt({addedNodes:s,removedNodes:t}){F(s).forEach(e=>p(e,x)),F(t).forEach(e=>p(e,lt))}function at({target:s}){B(s)&&x(s)}function x(s){let t=s.__bfViews;const e=t?Object.keys(t):[];for(let i=0;i<s.classList.length;i++){const n=s.classList[i];if(!(n in P))continue;const o=e.indexOf(n);if(o===-1){const r=P[n];b=!0,t=t||(s.__bfViews={}),t[n]=new r({el:s}),M&&f.read(()=>{g(s,"onMeasure"),g(s,"onScroll")})}else e.splice(o,1)}if(t&&e.length)for(let i=0;i<e.length;i++){const n=e[i];t[n].onDispose(),b=!0,delete t[n]}}function lt(s){const t=s.__bfViews;if(t){b=!0,s.__bfViews=void 0;for(const e in t)t[e].onDispose()}}function g(s,t){const e=s.__bfViews;if(e)for(const i in e){const n=e[i],o=n[t]();typeof o=="function"&&f.writes.push(o.bind(n))}}function $(s){b?(b=!1,k.length=0,p(document.body,t=>{t.__bfViews&&k.push(t),g(t,s)})):k.forEach(t=>g(t,s))}function R(s){let t=!1;return function(){t||(t=!0,f.read(()=>{t=!1,$(s)}))}}f.read(function(){ot(),document.body&&(p(document.body,x),M=!0,E("onMeasure"),E("onScroll")),new MutationObserver(s=>s.forEach(rt)).observe(document,{childList:!0,subtree:!0}),new MutationObserver(s=>s.forEach(at)).observe(document,{attributes:!0,attributeFilter:["class"],subtree:!0})});function E(s,t=document.body){if(t===document.body)return $(s);
1U(t).reverse().forEach(e=>g(e,s)),p(t,e=>g(e,s))}function ct(s){for(const t in s){const e=s[t],i=`bf${v(t)}`;e.prototype.className=i,P[i]=e}M&&p(document.body,x)}function ht(...s){let t="";function e(i,n){function o(r){r.startsWith("--")?r=t+r:t=r,i.push(r)}if(Array.isArray(n))n.reduce(e,i);else if(typeof n=="object")for(const r in n)n[r]&&o(r);else n&&o(`${n}`);return i}return s.reduce(e,[]).filter(i=>!!i).join(" ")}const dt="bf",ut="0",ft="576px",pt="768px",gt="992px",mt="1200px",yt="1400px",bt={prefix:dt,xs:ut,sm:ft,md:pt,lg:gt,xl:mt,xxl:yt};class c{constructor(t={}){this._listeners=null,this.sassVariables=bt;const{className:e}=this;let{el:i}=t;if(i)i.classList.contains(e)||i.classList.add(e);else{const{appendTo:n,tagName:o="div",template:r}=t;i=document.createElement(o),i.className=ht(e,t.className),r&&(i.innerHTML=r),n&&n.append(i)}(i.__bfViews||(i.__bfViews={}))[e]=this,this.el=i}addListener(t,e,{target:i,...n}={}){const o=this._listeners||(this._listeners=[]),r=u(i||this.el,t,e,{scope:this,...n});return o.push(r),r}addListeners(t){for(let e in t){const{type:i,...n}=t[e];(Array.isArray(i)?i:[i]).forEach(o=>this.addListener(o,this[e],n))}}find(t){return this.el.querySelector(t)}findAll(t){return Array.prototype.slice.call(this.el.querySelectorAll(t))}onDispose(){this.removeListener()}onMeasure(){}onScroll(){}remove(){Y(this.el)}removeListener(t){const{_listeners:e}=this;t?(t(),this._listeners=e?e.filter(i=>i!==t):null):(this._listeners=null,e&&e.forEach(i=>i()))}trigger(t,e){_(this.el,t,e)}triggerUpdate(t){f.read(()=>{E(t,this.el)})}slideUp(t,e=500){t.style.transitionProperty="height, margin, padding",t.style.transitionDuration=e+"ms",t.style.height=t.offsetHeight+"px",t.offsetHeight,t.style.overflow="hidden",t.style.height="0",t.style.paddingTop="0",t.style.paddingBottom="0",t.style.marginTop="0",t.style.marginBottom="0",window.setTimeout(()=>{t.style.display="none",t.style.removeProperty("height"),t.style.removeProperty("padding-top"),t.style.removeProperty("padding-bottom"),t.style.removeProperty("margin-top"),t.style.removeProperty("margin-bottom"),t.style.removeProperty("overflow"),t.style.removeProperty("transition-duration"),t.style.removeProperty("transition-property")},e)}slideDown(t,e=500){t.style.removeProperty("display");let i=window.getComputedStyle(t).display;i==="none"&&(i="block"),t.style.display=i;let n=t.offsetHeight;t.style.overflow="hidden",t.style.height="0",t.style.paddingTop="0",t.style.paddingBottom="0",t.style.marginTop="0",t.style.marginBottom="0",t.offsetHeight,t.style.transitionProperty="height, margin, padding",t.style.transitionDuration=e+"ms",t.style.height=n+"px",t.style.removeProperty("padding-top"),t.style.removeProperty("padding-bottom"),t.style.removeProperty("margin-top"),t.style.removeProperty("margin-bottom"),window.setTimeout(()=>{t.style.removeProperty("height"),t.style.removeProperty("overflow"),t.style.removeProperty("transition-duration"),t.style.removeProperty("transition-property")},e)}slideToggle(t,e=500){return window.getComputedStyle(t).display==="none"?this.slideDown(t,e):this.slideUp(t,e)}}function I(){return window.innerWidth||document.documentElement.clientWidth}const A="pk:breakpoint",wt=0,W=576,V=768,j=992,X=1200,vt=1400,w=[{index:0,name:"xxs",width:0},{index:1,name:"xs",width:wt},{index:2,name:"sm",width:W},{index:3,name:"md",width:V},{index:4,name:"lg",width:j},{index:5,name:"xl",width:X},{index:6,name:"xxl",width:vt}];let m=q();function q(){const s=w.length,t=I();for(let e=1;e<s;e++)if(w[e].width>t)return e-1;return s-1}function z(s){return w.findIndex(t=>t.name===s)}function St(){const s=q();s!==m&&(m=s,_(window,A,{breakpoint:w[s],index:s}))}function xt(){const s=q();s!==m&&(m=s,_(window,A,{breakpoint:w[s],index:s}))}function kt(s){return z(s)<m}function Lt(s){return z(s)>m}u(window,"resize",St);u(window,"orientationchange",xt);class Tt extends c{constructor(t){super(t),this.folgeseitenType=0,this.scrollDirection="none",this.currentScrollTop=0,this.onResize=S(()=>{this.scaleSitetitleFont(),this.setFixedHeader(),this.adjustPageTitleHeight()},0),this.onScroll=S(()=>{this.setFixedHeader(),this.adjustPageTitleHeight(),this.trackScrollDirection()},0),this.siteWrapper=document.querySelector(".wrapper"),this.siteTitlePrefix="bwSubsite-sitetitle",this.pageTitlePrefix="bwHeader__pageTitle",this.siteTitle=this.el.querySelector(`.${this.siteTitlePrefix}`),this.pageTitle=document.querySelector(`.${this.pageTitlePrefix}`),this.headerFixed=!1,this.subsiteNavigation=document.querySelector(".bwSubsite-navigation"),this.detailPageContent=document.querySelector(".news-single, .event-detail"),this.maincontent=document.querySelector(".maincontent"),this.siteWrapper&&this.siteWrapper.dataset.layout&&(this.folgeseitenType=parseInt(this.siteWrapper.dataset.layout.replace("layout-",""))),this.folgeseitenType===1&&(this.scaleSitetitleFont(),this.showSiteTitle(),this.setBodyClassStage()),this.replaceTitleForDetailVie
1ws(),u(window,"resize",this.onResize.bind(this)),u(window,"scroll",this.onScroll.bind(this))}setBodyClassStage(){var t;document.querySelectorAll(".stage-container > section:not(.hidden)").length>0&&((t=document.querySelector("body"))==null||t.classList.add("hasStage"))}trackScrollDirection(){const t=window.scrollY||document.documentElement.scrollTop;let e="none";t>this.currentScrollTop?e="down":t<this.currentScrollTop&&(e="up"),this.scrollDirection=e,this.currentScrollTop=t}replaceTitleForDetailViews(){if(this.pageTitle&&this.detailPageContent){let t=this.detailPageContent.classList.contains("news-single")?"Aktuelle Meldungen":"Veranstaltungen";const e=this.detailPageContent.querySelector(".event-name .headline, .news-name .headline");if(t){const i=document.createElement("p");i.className=this.pageTitle.className,i.innerHTML=t,this.pageTitle.replaceWith(i),this.pageTitle=i,e&&e.classList.add("hidden-sm","hidden-md","hidden-lg"),this.adjustPageTitleHeight();const n=document.querySelector(".wrapper");n&&n.dataset.layout==="2"?this.pageTitle.style.marginBottom="-20px":this.pageTitle.style.marginBottom=""}}}adjustPageTitleHeight(){let t=!1;if(!(this.folgeseitenType!==1||this.detailPageContent)&&(document.querySelector(".tmpl-startpage")||(this.el.classList.add("bwHeader--flexible"),t=!0),this.maincontent&&t)){let e=this.el.offsetHeight;this.headerFixed&&(e=80),Lt("md")?this.maincontent.style.paddingTop="":this.headerFixed?this.maincontent.style.paddingTop="":this.maincontent.style.paddingTop=`${e}px`}}scaleSitetitleFont(){if(!this.siteTitle)return;const t=this.siteTitle.querySelector(`.${this.siteTitlePrefix}Headline`);if(t){const e=t.querySelector("a");if(e){const i=e.textContent;if(!i)return;const n=i.split(" "),o=e.offsetHeight,r=parseInt(window.getComputedStyle(e).lineHeight.replace("px","")),a=o>=2*r,l=i.length;if((a||l>30)&&(this.siteTitle.classList.add(`${this.siteTitlePrefix}--shrinked`),n.length>1&&e.querySelector(".fluid-break")===null&&e.querySelector("br")===null)){const h=n.pop();n.push(`<br class="fluid-break" />${h}`),e.innerHTML=n.join(" ")}}}}showSiteTitle(){this.siteTitle&&this.siteTitle.classList.add("shown")}setFixedHeader(){let t=window.scrollY||document.documentElement.scrollTop||0;t<1?this.headerFixed===!0&&(this.siteWrapper.classList.remove("belowFold"),this.el.classList.remove("belowFold"),this.siteTitle&&this.siteTitle.classList.remove("belowFold"),this.subsiteNavigation&&this.subsiteNavigation.classList.remove("belowFold"),this.headerFixed=!1):t>65&&(this.headerFixed===!1&&(this.siteWrapper.classList.add("belowFold"),this.el.classList.add("belowFold"),this.siteTitle&&this.siteTitle.classList.add("belowFold"),this.subsiteNavigation&&this.subsiteNavigation.classList.add("belowFold"),this.headerFixed=!0),this.siteTitle&&(this.siteTitle.style.cssText=""))}}class Ct extends c{constructor(t){super(t),this.isFixed=!1,this.header=document.querySelector(".bwHeader"),this.navContainer=this.el.querySelector(".bfSubpageBar__listContainer"),this.navList=this.el.querySelector(".bfSubpageBar__list"),this.navItems=this.el.querySelectorAll(".bfSubpageBar__listItem"),this.navLinks=this.el.querySelectorAll(".bfSubpageBar__listLink"),this.prevLinkClass=".bfSubpageBar__prev",this.nextLinkClass=".bfSubpageBar__next",this.scrollMarginTop=40,this.isKeyboardNavigating=!1,this.onScrollDebounced=S(()=>{this.stickToFixedHeader()},150),this.onResize=S(()=>{this.stickToFixedHeader(),this.updateActiveLink(),this.updateNavVisibility()},150),this.navLinks&&(this.sections=Array.from(this.navLinks).map(e=>document.querySelector(e.getAttribute("href"))).filter(Boolean)),this.stickToFixedHeader(),this.addListeners({bindItemClick:{type:"click",selector:".bfSubpageBar__listLink"},bindPrevIconClick:{type:"click",selector:this.prevLinkClass},bindNextIconClick:{type:"click",selector:this.nextLinkClass}}),u(window,A,this.onResize.bind(this)),u(window,"scroll",this.onScrollDebounced.bind(this)),u(window,"scroll",this.onScroll.bind(this)),document.addEventListener("keydown",e=>{e.key==="Tab"&&(this.isKeyboardNavigating=!0)}),document.addEventListener("mousedown",()=>{this.isKeyboardNavigating=!1}),this.initSubpageBar()}stickToFixedHeader(){kt("md")&&this.header&&document.querySelector(".body.hasBurgermenu")===null&&(this.header.classList.contains("belowFold")?(this.el.classList.add("belowFold"),this.isFixed=!0):(this.el.classList.remove("belowFold"),this.isFixed=!1))}initSubpageBar(){this.updateActiveLink(),this.updateNavVisibility(),this.allowSubpageToTab(),this.el.querySelectorAll(`${this.prevLinkClass}, ${this.nextLinkClass}`).forEach(t=>{t.setAttribute("tabindex","-1")})}allowSubpageToTab(){document.querySelectorAll(".bfSubpageBar__listItem a").forEach(e
1=>{e.addEventListener("focus",()=>{e.scrollIntoView({behavior:"smooth",block:"nearest",inline:"center"}),this.navigationItemIsVisible(e)})})}setActiveSection(){var r;if(!this.sections)return;let t=window.innerHeight/2,e=null,i=null,n=1/0;for(const a of this.sections){const l=a.getBoundingClientRect();if(l.top>=0&&l.top<window.innerHeight){e=a;break}const h=l.top+l.height/2,d=Math.abs(t-h);d<n&&(i=a,n=d)}let o=e||i;o&&o!==this.activeSection&&((r=this.activeSection)==null||r.classList.remove("active"),this.activeSection=o,this.activeSection.classList.add("active"))}updateActiveLink(t){var i,n;this.setActiveSection();let e=this.el.querySelector(`a[href="#${this.navLinks[0].id}"]`);if(this.activeSection&&(e=this.el.querySelector(`a[href="#${this.activeSection.id}"]`)),e||(e=this.navLinks[0]),t){e=t;const o=t.getAttribute("href"),r=document.querySelector(`${o}`);r&&(this.activeSection=r)}if(e){this.activeLink=e,(i=e.parentElement)==null||i.classList.add("current"),e.setAttribute("tabindex","0"),e.setAttribute("aria-current","location");for(const o of this.navLinks)o!==e&&((n=o.parentElement)==null||n.classList.remove("current"))}this.scrollNavList()}scrollNavList(t){if(t||(t=this.activeLink),!t||!this.navList||!this.navContainer)return;const e=this.navList.offsetWidth,i=this.navContainer.offsetWidth;if(e<=i)return;const n=t.getBoundingClientRect(),o=this.navContainer.getBoundingClientRect(),r=n.left,a=n.right,l=o.left,h=o.right;let d=this.currentOffset||0;a>h?d-=a-h:r<l&&(d+=l-r),d=Math.max(Math.min(0,d),i-e),this.navList.style.transition="transform 0.3s ease-out",this.navList.style.transform=`translateX(${d}px)`,this.currentOffset=d}updateNavVisibility(){this.toggleButtons()}toggleButtons(){var e,i,n,o;if(!this.navList||!this.navContainer)return;const t=Array.from(this.navList.children);t[0].classList.contains("current")?(e=this.el.querySelector(this.prevLinkClass))==null||e.classList.add("hidden"):(i=this.el.querySelector(this.prevLinkClass))==null||i.classList.remove("hidden"),t[t.length-1].classList.contains("current")?((n=this.el.querySelector(this.nextLinkClass))==null||n.classList.add("hidden"),this.navContainer.classList.remove("add-hidden-items")):((o=this.el.querySelector(this.nextLinkClass))==null||o.classList.remove("hidden"),this.navContainer.classList.remove("has-hidden-items"))}navigationItemIsVisible(t){if(!this.navContainer||!this.navList)return;const e=this.navContainer.getBoundingClientRect(),i=window.getComputedStyle(this.navList).transform,n=i!=="none"&&parseFloat(i.split(",")[4])||0,o=t.getBoundingClientRect(),r=o.left,a=o.right,l=r>0&&r>=n+this.navContainer.offsetLeft,h=a<=e.right;return l&&h}bindItemClick(t){t.preventDefault();const i=t.target.getAttribute("href"),n=document.querySelector(`${i}`);n&&this.scrollToSection(n)}bindPrevIconClick(){var n,o,r;const t=(o=(n=this.activeLink)==null?void 0:n.parentElement)==null?void 0:o.previousElementSibling,e=(r=t==null?void 0:t.querySelector("a"))==null?void 0:r.getAttribute("href"),i=document.querySelector(`${e}`);i&&this.scrollToSection(i)}bindNextIconClick(){var n,o,r;const t=(o=(n=this.activeLink)==null?void 0:n.parentElement)==null?void 0:o.nextElementSibling,e=(r=t==null?void 0:t.querySelector("a"))==null?void 0:r.getAttribute("href"),i=document.querySelector(`${e}`);i&&this.scrollToSection(i)}scrollToSection(t){const e=t.getAttribute("id");Array.from(this.navItems).length===0||!e||(this.scrollToElement(t),this.updateNavVisibility(),this.activeSection=t)}scrollToElement(t,e=500){if(!t)return;const i=t.getBoundingClientRect(),n=window.scrollY||document.documentElement.scrollTop;let o=this.scrollMarginTop;this.header&&(o+=this.header.offsetHeight);const r=n+i.top-o,a=performance.now();function l(h){const d=h-a,y=Math.min(d/e,1),Q=y<.5?2*y*y:1-Math.pow(-2*y+2,2)/2;window.scrollTo({top:n+(r-n)*Q,behavior:"auto"}),y<1&&requestAnimationFrame(l)}requestAnimationFrame(l)}onScroll(){this.updateActiveLink(),this.updateNavVisibility()}}class Pt extends c{constructor(t){super(t)}}class Et extends c{constructor(t){super(t)}}class It extends c{constructor(t){super(t)}}class Bt extends c{constructor(t){super(t),this.openButton=this.el.querySelector(".btn-share"),this.sharePopup=document.querySelector(".social-media-container"),this.sharePopup&&(this.closeButton=this.sharePopup.querySelector(".btn-close")),this.bindButtons()}bindButtons(){this.openButton&&u(this.openButton,"click",this.openSharePopup.bind(this)),this.closeButton&&u(this.closeButton,"click",this.closeSharePopup.bind(this))}openSharePopup(){if(this.sharePopup){this.sharePopup.classList.add("open");const e=this.sharePopup.querySelectorAll('a[href], button:not([disabled]), [tabindex]:not
1([tabindex="-1"])'),i=e[0],n=e[e.length-1],o=r=>{r.key==="Tab"&&(r.shiftKey?document.activeElement===i&&(r.preventDefault(),n.focus()):document.activeElement===n&&(r.preventDefault(),i.focus()))};this.sharePopup.addEventListener("keydown",o),i==null||i.focus()}}closeSharePopup(){this.sharePopup&&this.sharePopup.classList.remove("open")}}class _t extends c{}class Mt extends c{}class At extends c{}class qt extends c{}class Ht extends c{}class Ft extends c{constructor(){super(),this.adjustImageWrapHeight(),window.addEventListener("resize",()=>this.adjustImageWrapHeight())}adjustImageWrapHeight(){document.querySelectorAll(".news-image-wrap").forEach(e=>{const i=e.querySelector(".news-img");i&&(e.style.height=`${i.offsetHeight+40}px`)})}}class Dt extends c{constructor(){super(),this.adjustImageWrapHeight(),window.addEventListener("resize",()=>this.adjustImageWrapHeight())}adjustImageWrapHeight(){document.querySelectorAll(".event-image-wrap").forEach(e=>{const i=e.querySelector(".event-img");i&&(e.style.height=`${i.offsetHeight+40}px`)})}}class Ot extends c{constructor(t){super(t),this.markIconSliderOnlyContainers()}markIconSliderOnlyContainers(){const t=this.find(".container");if(!t)return;const{children:e}=t;e.length===1&&e[0].classList.contains("bfIconSlider")&&this.el.classList.add("bfContainer--noPadding")}}class Rt extends c{constructor(t){super(t),jQuery(this.el).find(".lightbox").magnificPopup({type:"image",removalDelay:250,mainClass:"mfp-fade"})}}class Nt extends c{}class $t extends c{}class Wt extends c{}class Vt extends c{constructor(t){super(t),this.folgeseitenType=0,this.openImage=function(e,i){jQuery(e).modal(),jQuery(e).find(".slick").slick("slickGoTo",i),jQuery(document).on("click",function(n){const o=jQuery(".modal:visible");o.length&&jQuery(n.target).hasClass("modal-slick-container-center")&&o.modal("hide")})},this.setGallery(),this.bindGalleryOpener()}setGallery(){jQuery('.bfGallery__items[data-slider-enabled="1"]').not(".slick-initialized").each(function(){const e=jQuery(this);e.slick({variableWidth:!0,responsive:[{breakpoint:991,settings:{adaptiveHeight:!0}}]}),e.find(".slick-next").off("click").on("click",()=>{const i=e.slick("slickCurrentSlide");e.slick("slickGoTo",i+4)}),e.find(".slick-prev").off("click").on("click",()=>{const i=e.slick("slickCurrentSlide");e.slick("slickGoTo",i-4)})})}bindGalleryOpener(){jQuery(".gallery-open-image").on("click",t=>{t.preventDefault();let e=jQuery(t.target).closest(".gallery-open-image"),i=e.parents(".image-container").index(),n=e.attr("href");n&&this.openImage(n,i)})}}class jt extends c{}const Xt=40;class zt extends c{constructor(t){super(t),this.viewport=this.el.querySelector(".bfCards__slider"),this.track=this.el.querySelector(".bfCards__items"),this.items=this.track?Array.from(this.track.children):[],this.prevButton=this.el.querySelector(".bfCards__navButton--prev"),this.nextButton=this.el.querySelector(".bfCards__navButton--next"),this.trackFill=this.el.querySelector(".bfCards__navTrackFill"),this.statusEl=this.el.querySelector(".bfCards__status"),this.perRow=1,this.page=0,this.offset=0,this.dragging=!1,this.dragMoved=!1,this.dragStartX=0,this.dragBaseOffset=0,this.offDragMove=null,this.offDragEnd=null,this.onPointerDown=e=>{var i;if(!(!this.track||!this.el.classList.contains("bfCards--sliderActive"))&&!(e.pointerType==="mouse"&&e.button!==0)){this.dragging=!0,this.dragMoved=!1,this.dragStartX=e.clientX,this.dragBaseOffset=-this.offset,this.track.style.transition="none";try{(i=this.viewport)==null||i.setPointerCapture(e.pointerId)}catch{}this.offDragMove=u(window,"pointermove",this.onPointerMove),this.offDragEnd=u(window,"pointerup pointercancel",this.onPointerEnd)}},this.onPointerMove=e=>{if(!this.dragging||!this.track)return;const i=e.clientX-this.dragStartX;Math.abs(i)>5&&(this.dragMoved=!0);const n=this.getMaxOffset(),o=Math.min(0,Math.max(-n,this.dragBaseOffset+i));this.track.style.transform=`translateX(${o}px)`},this.onPointerEnd=e=>{var n,o;if(!this.dragging)return;this.dragging=!1,(n=this.offDragMove)==null||n.call(this),(o=this.offDragEnd)==null||o.call(this);const i=e.clientX-this.dragStartX;i<=-40?this.goToPage(this.page+1):i>=Xt?this.goToPage(this.page-1):this.goToPage(this.page)},this.onItemKeydown=e=>{var l,h;if(e.key!=="Tab"||!this.el.classList.contains("bfCards--sliderActive"))return;const i=this.buildPageMap(),n=i[this.page]||[];if(n.length===0)return;const o=e.target,r=n[0],a=n[n.length-1];if(!e.shiftKey&&o===this.getItemLink(a)&&this.page<i.length-1)e.preventDefault(),this.goToPage(this.page+1),(l=this.getItemLink(this.buildPageMap()[this.page][0]))==null||l.focus();else if(e.shiftKey&&o===this.getItemLink(r)&&this.page>0){e.preventDefault(),this.goToPage(this.page-1);const d=this.buildPageMap()[this.page];(h=this.getItemLink(d[d.length-1]))==null||h.focus()}},this.onTrackClick=e=>{this.dragMoved&&(e.preventDefault(),e.stopPropagation(),this.dragMoved=!1)},!(!this.viewport||!this.track||this.items.length===0)&&(this.addListeners({bindPrevClick:{type:"click",
1selector:".bfCards__navButton--prev"},bindNextClick:{type:"click",selector:".bfCards__navButton--next"}}),this.addListener("keydown",this.onItemKeydown,{target:this.track}),this.addListener("pointerdown",this.onPointerDown,{target:this.viewport}),this.addListener("click",this.onTrackClick,{target:this.track}),this.addListener("dragstart",e=>e.preventDefault(),{target:this.viewport}),this.update())}getPerRow(){const t=I(),e=this.el.classList.contains("bfCards--teaser")?W:V;return t>=X?3:t>=e?2:1}prefersReducedMotion(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}getItemSlots(t){return t.classList.contains("bfCard--featuredSlot")&&I()>=j?2:1}buildPageMap(){const t=[];let e=[],i=0;return this.items.forEach((n,o)=>{const r=this.getItemSlots(n);e.length>0&&i+r>this.perRow&&(t.push(e),e=[],i=0),e.push(o),i+=r}),e.length>0&&t.push(e),t}getPageStartOffset(t,e){var a;if(!this.track||t<=0)return 0;const i=(a=e[t])==null?void 0:a[0],n=i!==void 0?this.items[i]:null;if(!n)return 0;const o=this.track.getBoundingClientRect();return n.getBoundingClientRect().left-o.left}getMaxOffset(){return!this.track||!this.viewport?0:Math.max(0,this.track.scrollWidth-this.viewport.clientWidth)}update(){if(!this.track)return;this.perRow=this.getPerRow();const t=this.buildPageMap(),e=t.length>1;if(this.el.classList.toggle("bfCards--sliderActive",e),!e){this.page=0,this.track.style.transition="none",this.track.style.transform="",this.updateItemVisibility(!1,t);return}this.goToPage(Math.min(this.page,t.length-1),!1)}goToPage(t,e=!0){if(!this.track)return;const i=this.buildPageMap(),n=i.length;this.page=Math.max(0,Math.min(t,n-1)),this.offset=Math.min(this.getPageStartOffset(this.page,i),this.getMaxOffset()),this.track.style.transition=e&&!this.prefersReducedMotion()?"transform 0.3s ease-out":"none",this.track.style.transform=`translateX(-${this.offset}px)`,this.updateItemVisibility(!0,i),this.updateNav(n)}updateItemVisibility(t,e){const i=new Set(t?e[this.page]||[]:[]);this.items.forEach((n,o)=>{const r=!t||i.has(o);r?n.removeAttribute("aria-hidden"):n.setAttribute("aria-hidden","true"),this.getFocusables(n).forEach(a=>{r?a.removeAttribute("tabindex"):a.setAttribute("tabindex","-1")})})}getFocusables(t){const e=Array.from(t.querySelectorAll("a, button"));return t.matches("a, button")?[t,...e]:e}getItemLink(t){return this.getFocusables(this.items[t])[0]||null}updateNav(t){this.prevButton&&(this.prevButton.disabled=this.page<=0),this.nextButton&&(this.nextButton.disabled=this.page>=t-1),this.trackFill&&(this.trackFill.style.width=`${1/t*100}%`,this.trackFill.style.left=`${this.page/t*100}%`),this.statusEl&&(this.statusEl.textContent=`Seite ${this.page+1} von ${t}`)}bindPrevClick(){this.goToPage(this.page-1)}bindNextClick(){this.goToPage(this.page+1)}onMeasure(){this.update()}}class Qt extends c{}class Gt extends c{}class Ut extends c{}class Yt extends c{constructor(t){super(t),this.backgroundElement=this.el.querySelector(".bfBanner__image"),this.hasParallax=this.el.classList.contains("bfBanner--parallax"),this.el.classList.contains("bfBanner--parallax")&&(this.onTimeout(),this.addEventListeners())}onTimeout(){setTimeout(()=>{this.onScroll()},0)}addEventListeners(){window.addEventListener("scroll",this.onScroll.bind(this)),window.addEventListener("resize",this.onScroll.bind(this))}onScroll(){if(this.hasParallax&&this.el&&this.backgroundElement){const t=this.el.offsetTop,e=window.pageYOffset,i=this.el.offsetHeight,n=t+i,o=parseInt(this.backgroundElement.dataset.imageHeight||"0")/parseInt(this.backgroundElement.dataset.imageWidth||"0"),r=this.backgroundElement.offsetWidth*o;if(e<n){let l=(t-e)/3*-1;const h=0,d=r-i;l=Math.min(h,l),l=Math.max(-d,l),this.backgroundElement.style.backgroundPositionY=`${l}px`}}}}class Kt extends c{}class Jt extends c{}class Zt extends c{constructor(t){super(t),this.stage=document.querySelector(".stage-container .bfStage"),this.hideDetailStage(),this.overrideAnchorLinkScrollPosition()}hideDetailStage(){if(!this.stage)return;this.find(".news-single, .event-detail, .bwEvent-registration")&&this.stage.classList.add("hidden")}overrideAnchorLinkScrollPosition(){document.querySelectorAll('.maincontent a[href*="#"]').forEach(e
1=>{if(e.classList.length>0&&!e.classList.contains("internal-link"))return;const i=document.querySelector(e.hash);i&&e.addEventListener("click",n=>{var h;const o=Math.ceil(i.getBoundingClientRect().top),r=30,a=((h=document.querySelector("header"))==null?void 0:h.clientHeight)??0,l=o+window.pageYOffset-r-a;return n.preventDefault(),window.scrollTo({top:l,behavior:"smooth"}),history.pushState(null,"",e.hash),!1})})}}class te extends c{}class ee extends c{constructor(t){super(t)}}const ie=Object.freeze(Object.defineProperty({__proto__:null,Accordion:Rt,Banner:Yt,Breadcrumb:Et,Burgermenu:_t,Card:Qt,Cards:zt,Contact:Gt,Contactarea:Mt,Container:Ot,DetailActions:Bt,Downloadlist:Wt,Events:Dt,Footer:Pt,Gallery:Vt,Header:Tt,Iconslider:jt,Image:qt,Imgtext:Ht,Linklist:$t,Listgroup:Nt,News:Ft,Pagination:It,Quotation:Ut,Stage:Jt,SubpageBar:Ct,Teasergroup:At,Video:Kt,Website:ee,Worship:te,Wrapper:Zt},Symbol.toStringTag,{value:"Module"}));async function se(){const s=document.querySelector(".bfWrapper");if(!s||s.dataset.layout!=="0")return;let t;try{const n=await fetch("/liturgical-color.json",{credentials:"omit"});if(!n.ok)return;t=await n.json()}catch{return}if(typeof t.color!="string")return;const{color:e,hex:i}=t;s.dataset.liturgicalColor!==e&&(s.dataset.liturgicalColor&&s.classList.remove(`liturgical-${s.dataset.liturgicalColor}`),s.classList.add(`liturgical-${e}`),s.dataset.liturgicalColor=e,i&&document.documentElement.style.setProperty("--liturgical-color",i))}se();window.addEventListener("load",()=>{ct(ie)});

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.