PageSourceSearch

https://www.reichmuthco.ch/wp-content/themes/reichmuth/assets/dist…?id=b33866154d7796195f72823c42d2cc5f

js reichmuthco.ch collected 2026-10-04 11:19:48 UTC 40,011 bytes, 1 lines download raw bytes

1(self.webpackChunkwk_theme=self.webpackChunkwk_theme||[]).push([[522],{646:function(){var e,t="[data-filter-taxonomy]",n="[data-taxonomy]:not([data-category-selector])",r="[data-filtered-posts]";if(0!==document.querySelectorAll(t).length){var o=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"block";if(e.style.opacity=0,e.style.display=n,t){var r,o=0,a=function(){e.style.opacity=o+=.04,o>=1&&(o=1,cancelAnimationFrame(r))},i=function e(){r=requestAnimationFrame(e),a()};i()}else e.style.opacity=1},a=function(e,t){var n=Array.from(document.querySelectorAll(e)),r=t.value;"all"===r?n.forEach((function(e){o(e)})):(n.filter((function(e){return!e.dataset.bereich.split(",").map((function(e){return e.trim()})).includes(r)})).forEach((function(e){!function(e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"none";if(arguments.length>1&&void 0!==arguments[1]&&!arguments[1])e.style.opacity=0,e.style.display=t;else{var n,r=e.style.opacity,o=function(){e.style.opacity=r-=.04,r<=0&&(r=0,e.style.display=t,cancelAnimationFrame(n))};(function e(){n=requestAnimationFrame(e),o()})()}}(e,!1)})),n.filter((function(e){return e.dataset.bereich.split(",").map((function(e){return e.trim()})).includes(r)})).forEach((function(e){o(e)})))};document.querySelectorAll(n).forEach((function(e){e.addEventListener("click",(function(o){o.preventDefault(),function(e){var r=e.target,o=r.closest(t);!r.classList.contains("category-list__selector--active")&&o&&(o.querySelectorAll(n).forEach((function(e){e.classList.remove("category-list__selector--active")})),r.classList.add("category-list__selector--active"))}(o),a(r,e)}))}));(e=document.querySelector(".category-list__selector.category-list__selector--active"))&&a(r,e)}},726:function(){function e(e){return function(e){if(Array.isArray(e))return e}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,n){if(!e)return;if("string"==typeof e)return t(e,n);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return t(e,n)}(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}document.addEventListener("DOMContentLoaded",(function(){var t,n=document.querySelectorAll(".event-infos"),r=(t="selected-event-id",new URLSearchParams(window.location.search).get(t));n.forEach((function(t){var n=t.querySelector(".event-select");if(n){var o=n.querySelectorAll(".event-select__button"),a=t.querySelectorAll(".event-info-box"),i=document.getElementById("event-placeholder"),s=null,l=function(e,t){e.setAttribute("aria-hidden",t)},c=function(e,t){e.disabled=t},u=function(e,t){e.setAttribute("aria-expanded",t),e.querySelector(".event-select__state--selected").classList.toggle("hide",!t),e.querySelector(".event-select__state:not(.event-select__state--selected)").classList.toggle("hide",t)},d=function(e,t){e.querySelector(".register-button__text-register").classList.toggle("hide",!t),e.querySelector(".register-button__text-cancel").classList.toggle("hide",t)},f=function(){a.forEach((function(e){return l(e,"true")})),o.forEach((function(e){e.disabled||e.querySelector(".event-select__state--booked")||u(e,!1)}))},v=function(e){if(f(),-1===e)l(i,"false"),i.classList.add("inactive"),s=null;else{l(i,"true");var t=document.getElementById("event-".concat(e));t&&l(t,"false"),u(o[e],!0),i.classList.remove("inactive"),s=e}},p=document.getElementById("event-register-button"),m=document.getElementById("event-redirect-form").querySelectorAll("input");o.forEach((function(n,o){if(!n.disabled){for(var a=[],h=0;h<n.attributes.length;h++){var g=n.attributes[h];g.name.startsWith("data-event-")&&a.push("".concat(g.name,"=").concat(g.value))}n.addEventListener("click",(function(){a.forEach((function(t){var n=e(t.split("=")),r=n[0],o=n.slice(1).join("=");m.forEach((function(e){e.name===r&&(e.value=o)}))})),n.classList.contains("event-select__button--cancel")?null===s&&"false"===n.getAttribute("aria-expanded")?(i.classList.add("inactive"),u(n,!0),c(p,!1),d(p,!1)):"true"===n.getAttribute("aria-expanded")?(i.classList.remove("inactive"),u(n,!1),c(p,!0),d(p,!0)):(v(-1),u(n,!0),c(p,!1),d(p,!1)):s===o?(f(),l(i,"false"),i.classList.remove("inactive"),s=null,n.setAttribute("aria-expanded",!1),c(p,!0),d(p,!0)):(v(o),n.setAttribute("aria-expanded",!0),c(p,!1),d(p,!0))})),r&&n.getAttribute("data-event-id")===r&&(n.click(),v(o),setTimeout((function(){"abmeldu
1ng"!==r&&l(i,"true"),window.scrollTo({top:t.offsetTop-80,behavior:"smooth"})}),100))}})),l(i,"false")}}))}))},404:function(){(0,window.jQuery)(document).on("gform_confirmation_loaded",(function(e,t){var n=document.getElementById("gform_confirmation_message_"+t).getBoundingClientRect().top+window.pageYOffset-window.innerHeight/2+120;window.scrollTo({top:n,behavior:"smooth"})}))},890:function(){!function(e){var t=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame,n=e(window),r=n.scrollTop(),o=n.scrollTop(),a=e("body"),i=!1,s=function(){i=!0,scrollOffset=e(window).scrollTop(),animationTrigger=.5*e(window).height()};t&&function e(){var r=n.scrollTop();o!==r?(o=r,s(),t(e)):t(e)}();var l=function(){var t=e(this).scrollTop();Math.abs(r-t)<=5||(scrollOffset>animationTrigger&&(t>r||t<e("header.header").height())?a.hasClass("header-small")||a.addClass("header-small"):t+e(window).height()<e(document).height()&&a.hasClass("header-small")&&a.removeClass("header-small"))};setInterval((function(){i&&(l(),i=!1),r=n.scrollTop()}),250),e(document).ready((function(){s()}))}(window.jQuery)},689:function(e,t,n){"use strict";n(348);var r=n(265),o=n(174),a=void 0;function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c=function(e,t,n,i,l){var c,u=s(s({},{desktopMinWidth:932,menuToggle:"#menu-toggle"}),l),d=u.desktopMinWidth,f=document.querySelector(u.menuToggle),v=document.querySelector(".header");(0,o.Z)((function(){window.innerWidth>d&&(e.classList.remove("active"),v.classList.remove("active"),f.classList.remove("menu-toggle--active"),document.getElementById("mobile-navigation-overlay").classList.remove("active"),document.getElementById("js-menu-toggle").classList.remove("is-active"),(0,r.enablePageScroll)(document.body))}));for(var p=function(){return!(Math.max(document.documentElement.clientWidth,window.innerWidth||0)<d)},m=function(r){if(p()){clearTimeout(c);for(var o=[],a=r.target.parentElement;!a.isEqualNode(e);)a.classList.contains("sub-menu")&&o.push(a),a=a.parentElement;for(;!a.isEqualNode(t);)a.classList.contains("sub-menu")&&o.push(a),a=a.parentElement;for(;!a.isEqualNode(n);)a.classList.contains("sub-menu")&&o.push(a),a=a.parentElement;for(;!a.isEqualNode(i);)a.classList.contains("sub-menu")&&o.push(a),a=a.parentElement;for(var s=r.target.querySelectorAll(".sub-menu"),l=0;l<s.length;l+=1)o.push(s[l]);for(var u=e.querySelectorAll(".open"),d=0;d<u.length;d+=1)-1===o.indexOf(u[d])&&u[d].classList.remove("open");for(var f=t.querySelectorAll(".open"),v=0;v<f.length;v+=1)-1===o.indexOf(f[v])&&f[v].classList.remove("open");for(var m=n.querySelectorAll(".open"),h=0;h<m.length;h+=1)-1===o.indexOf(m[h])&&m[h].classList.remove("open");for(var g=i.querySelectorAll(".open"),y=0;y<g.length;y+=1)-1===o.indexOf(g[y])&&g[y].classList.remove("open");r.target.querySelector(".sub-menu")&&r.target.querySelector(".sub-menu").classList.add("open")}},h=function(r){var o=r.target;p()&&(c=setTimeout((function(){for(var r=o.parentElement;!r.isEqualNode(e);)r.classList.remove("open"),r=r.parentElement;for(;!r.isEqualNode(t);)r.classList.remove("open"),r=r.parentElement;for(;!r.isEqualNode(n);)r.classList.remove("open"),r=r.parentElement;for(;!r.isEqualNode(i);)r.classList.remove("open"),r=r.parentElement;o.querySelector(".open")&&o.querySelector(".open").classList.remove("open")}),750))},g=function(r){for(var o=null,a=r.target.parentElement;!a.isEqualNode(e);){if(a.classList.contains("menu-item")){o=a;break}a=a.parentElement}for(;!a.isEqualNode(t);){if(a.classList.contains("menu-item")){o=a;break}a=a.parentElement}for(;!a.isEqualNode(n);){if(a.classList.contains("menu-item")){o=a;break}a=a.parentElement}for(;!a.isEqualNode(i);){if(a.classList.contains("menu-item")){o=a;break}a=a.parentElement}o.querySelector(".sub-menu").classList.toggle("open"),p()||o.classList.toggle("active"),r.stopPropagation()},y=e.querySelectorAll(".menu-item-has-children"),b=0;b<y.length;b+=1){var w=y[b];w.addEventListener("mouseover",m),w.addEventListener("mouseleave",h);var E=w.querySelector(".js-menu-caret");E&&E.addEventListener("click",g)}for(var L=t.querySelectorAll(".menu-item-has-children"),_=0;_<L.length;_+=1){var S=L[_];S.addEventListener("mouseover",m),S.addEventListener("mouseleave",h);var A=S.querySelector(".js-menu-caret");A&&A.addEventListener("click",g)}for(var q=n.querySelectorAll(".menu-item-has-children"),O=0;O<q.length;O+=1){var j=q[O];j.addEventListener("mouseover",m),j.addEventListener("mouseleave",h);var P=j.querySelector(".js-menu-caret");P&&P.addEventListener("click",g)}for(var k,x,C=i.querySelectorAll(".menu-item-has-children"),N=0;N<C.length;N+=1){var T=C[N];T.addEventListener("mouseover",m),T.addEventListener("mouseleave",h);var I=T.querySelector(".js-menu-caret");I&&I.addEventListener("click",g)}if(f.addEventListener("click",(function(){f.classList.contains("menu-toggle--active")?(f.classList.remove("menu-toggle--active"),f.setAttribute("aria-expanded","fal
1se"),e.classList.remove("active"),t.classList.remove("active"),n.classList.remove("active"),i.classList.remove("active"),v.classList.remove("active"),document.getElementById("mobile-navigation-overlay").classList.remove("active"),document.getElementById("js-menu-toggle").classList.remove("is-active"),(0,r.enablePageScroll)(document.body),f.dispatchEvent(new Event("focus"))):(f.classList.add("menu-toggle--active"),f.setAttribute("aria-expanded","true"),e.classList.add("active"),t.classList.add("active"),n.classList.add("active"),i.classList.add("active"),v.classList.add("active"),document.getElementById("mobile-navigation-overlay").classList.toggle("active"),document.getElementById("js-menu-toggle").classList.toggle("is-active"),(0,r.disablePageScroll)(document.body))})),"ontouchstart"in window){var B=function(e,t){for(var n=e.querySelectorAll(".".concat(t)),r=0;r<n.length;r+=1)n[r].classList.remove(t)},D=function(r){for(var o=r.parentElement,a=!1;null!==o;)o.nodeType===Node.ELEMENT_NODE&&o.isEqualNode(e)&&(a=!0),o.nodeType===Node.ELEMENT_NODE&&o.isEqualNode(t)&&(a=!0),o.nodeType===Node.ELEMENT_NODE&&o.isEqualNode(n)&&(a=!0),o.nodeType===Node.ELEMENT_NODE&&o.isEqualNode(i)&&(a=!0);return a};x=function(r){e!==r.target&&!D(r.target)&&p()&&(B(e,"open"),B(e,"tapped"),B(e,"active")),t!==r.target&&!D(r.target)&&p()&&(B(t,"open"),B(t,"tapped"),B(t,"active")),n!==r.target&&!D(r.target)&&p()&&(B(n,"open"),B(n,"tapped"),B(n,"active")),i!==r.target&&!D(r.target)&&p()&&(B(i,"open"),B(i,"tapped"),B(i,"active")),document.removeEventListener("ontouchstart",x,!1)},k=function(r){if(!p())return!1;var o,s=a.parentElement;if(s.classList.contains("tapped"))s.classList.remove("tapped"),B(e,"open"),B(t,"open"),B(n,"open"),B(i,"open");else{r.preventDefault();var l=[];for(o=s;!o.isEqualNode(e);)o.classList.contains("tapped")&&l.push(o),o=o.parentElement;for(;!o.isEqualNode(t);)o.classList.contains("tapped")&&l.push(o),o=o.parentElement;for(;!o.isEqualNode(n);)o.classList.contains("tapped")&&l.push(o),o=o.parentElement;for(;!o.isEqualNode(i);)o.classList.contains("tapped")&&l.push(o),o=o.parentElement;for(var c=e.querySelectorAll(".tapped"),u=0;u<c.length;u+=1)-1===l.indexOf(c[u])&&c[u].classList.remove("tapped");for(var d=t.querySelectorAll(".tapped"),f=0;f<d.length;f+=1)-1===l.indexOf(d[f])&&d[f].classList.remove("tapped");for(var v=n.querySelectorAll(".tapped"),m=0;m<v.length;m+=1)-1===l.indexOf(v[m])&&v[m].classList.remove("tapped");for(var h=i.querySelectorAll(".tapped"),g=0;g<h.length;g+=1)-1===l.indexOf(h[g])&&h[g].classList.remove("tapped");s.classList.add("tapped");var y=[];for(o=s;!o.isEqualNode(e);)o.classList.contains("open")&&y.push(o),o=o.parentElement;for(;!o.isEqualNode(t);)o.classList.contains("open")&&y.push(o),o=o.parentElement;for(;!o.isEqualNode(n);)o.classList.contains("open")&&y.push(o),o=o.parentElement;for(;!o.isEqualNode(i);)o.classList.contains("open")&&y.push(o),o=o.parentElement;for(var b=e.querySelectorAll(".open"),w=0;w<b.length;w+=1)-1===y.indexOf(b[w])&&b[w].classList.remove("open");for(var E=t.querySelectorAll(".open"),L=0;L<E.length;L+=1)-1===y.indexOf(E[L])&&E[L].classList.remove("open");for(var _=n.querySelectorAll(".open"),S=0;S<_.length;S+=1)-1===y.indexOf(_[S])&&_[S].classList.remove("open");for(var A=i.querySelectorAll(".open"),q=0;q<A.length;q+=1)-1===y.indexOf(A[q])&&A[q].classList.remove("open");for(s.querySelector(".sub-menu")&&s.querySelector(".sub-menu").classList.add("open"),o=a.parentElement;!o.isEqualNode(e);)o.classList.contains("sub-menu")&&o.classList.add("open"),o=o.parentElement;for(;!o.isEqualNode(t);)o.classList.contains("sub-menu")&&o.classList.add("open"),o=o.parentElement;for(;!o.isEqualNode(n);)o.classList.contains("sub-menu")&&o.classList.add("open"),o=o.parentElement;for(;!o.isEqualNode(i);)o.classList.contains("sub-menu")&&o.classList.add("open"),o=o.parentElement;document.addEventListener("touchstart",x,{passive:!0})}return!1};for(var R=e.querySelectorAll(".menu-item-has-children > a"),F=0;F<R.length;F+=1)R[F].addEventListener("touchstart",k,{passive:!0});for(var M=t.querySelectorAll(".menu-item-has-children > a"),Z=0;Z<M.length;Z+=1)M[Z].addEventListener("touchstart",k,{passive:!0});for(var V=n.querySelectorAll(".menu-item-has-children > a"),U=0;U<V.length;U+=1)V[U].addEventListener("touchstart",k,{passive:!0});for(var Q=i.querySelectorAll(".menu-item-has-children > a"),W=0;W<Q.length;W+=1)Q[W].addEventListener("touchstart",k,{passive:!0})}return a},u=(n(474),n(921),n(646),n(890),n(247));function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?d(Object(n),!0).forEach((function(t){v(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p(e){return function(e){if(Array.isArray(e))return e}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return m(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return m(e,t)}(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}!function(e){var t=e(".timeline");t.length&&t.each((function(t,n){var r=!1,o="timeline-entry",a="slideInBottom",i=e(n).find(".".concat(o));e.each(i,(function(t,n){n.getBoundingClientRect().top>.8*window.innerHeight?e(n).addClass("hidden"):e(n).addClass(a)}));var s=function(t){e.each(i,(function(n,r){e(r).hasClass("hidden")&&r.getBoundingClientRect().top<=.8*window.innerHeight&&(e(r).removeClass("hidden"),e(r).addClass(t))})),r=!1};e(document).scroll((function(){r||(r=!0,window.requestAnimationFrame?window.requestAnimationFrame((function(){return s(a)})):setTimeout((function(){return s(a)}),250))}));var l=e(window).height()/2,c=function(){var t=e(n).find(".".concat(o,"__marker")),r=0;e.each(t,(function(e,n){t[e+1]&&(r+=t[e+1].getBoundingClientRect().top-n.getBoundingClientRect().top)}));var a=e(n).find("div[class$=__line]"),i=p(t.get()),s=i[0],l=(i.slice(1),e(s).position().top+e(s).height()/2);a.css({height:r,top:l})},u=function(){var t=e(n).find(".".concat(o,"__marker")),r=p(t.get());r[0];r.slice(1).length&&e.each(t,(function(t,n){var r=n.getBoundingClientRect().top,a=e(n).parents(".".concat(o))[0];r<=l?e(a).hasClass("is-active")||e(a).addClass("is-active"):e(a).hasClass("is-active")&&e(a).removeClass("is-active")}))},d=function(){var t=e(n).find(".".concat(o,"__marker")),r=e(n).find("div[class*=__bar]")[0],a=r.getBoundingClientRect().top,i=p(t.toArray()),s=i[0],c=i.slice(1),u=l-s.getBoundingClientRect().top;if(c.length){var d=c.slice(-1).pop().getBoundingClientRect().top;a<=l&&d>=l&&e(r).css({height:u}),a>=l&&e(r).css({height:0}),d<=l&&e(r).css({height:"100%"})}};e(document).ready((function(){var t=setInterval((function(){"complete"==document.readyState&&(c(),d(),u(),e(document).scroll((function(){d(),u()})),clearInterval(t))}),1e3)})),e(window).resize((function(){c(),u(),d()}))}));var n={duration:600,distance:"30px",easing:"cubic-bezier(0.250, 0.460, 0.450, 0.940)",viewFactor:1,viewOffset:{top:30,bottom:30},opacity:0,mobile:!1,reset:!1},r=new u.Z;r.reveal(".timeline-entry.has-animation:nth-child(odd) .timeline-entry__image-wrapper",f(f({},n),{},{origin:"left",delay:300})),r.reveal(".timeline-entry.has-animation:nth-child(even) .timeline-entry__content-wrapper",f(f({},n),{},{origin:"left"})),r.reveal(".timeline-entry.has-animation:nth-child(odd) .timeline-entry__content-wrapper",f(f({},n),{},{origin:"right"})),r.reveal(".timeline-entry.has-animation:nth-child(even) .timeline-entry__image-wrapper",f(f({},n),{},{origin:"right",delay:300}))}(window.jQuery);var h=n(172),g=n(997),y=n(649),b=n(186),w=n(584);h.Z.use([g.Z,y.Z,b.Z,w.Z]),function(e){var t=new h.Z(".post-slider",{slidesPerView:1,slidesPerGroup:1,spaceBetween:30,navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},breakpoints:{640:{slidesPerView:2,slidesPerGroup:2,spaceBetween:15},830:{slidesPerView:2,slidesPerGroup:2,spaceBetween:30}},pagination:{el:".swiper-pagination",type:"bullets",clickable:!0},speed:800,loop:!1});t.on("reachEnd",(function(){e(".swiper-button-prev").addClass("no-next-slide")})),t.on("slidePrevTransitionStart",(function(){e(".swiper-button-prev").hasClass("no-next-slide")&&e(".swiper-button-prev").removeClass("no-next-slide")}));new h.Z(".logo-slider__slider",{slidesPerView:1,slidesPerGroup:1,spaceBetween:30,centeredSlides:!0,centeredSlidesB
1ounds:!0,navigation:{nextEl:".swiper-button--next",prevEl:".swiper-button--prev"},breakpoints:{300:{slidesPerView:1,slidesPerGroup:1,width:270},640:{slidesPerView:1,slidesPerGroup:2,width:270},900:{slidesPerView:1,width:270,slidesPerGroup:3},1200:{slidesPerView:1,slidesPerGroup:4,width:270}},speed:800,loop:!1}),new h.Z(".hero-header__slider",{slidesPerView:1,spaceBetween:0,effect:"fade",autoplay:{delay:5e3},fadeEffect:{crossFade:!1},navigation:{nextEl:".swiper-button--next",prevEl:".swiper-button--prev"},speed:2500,loop:!0});var n=e(".header-slider__slider");n.length&&n.each((function(t,n){var r=e(n).data("loop");new h.Z(e(n)[0],{slidesPerView:1,spaceBetween:0,watchOverflow:!0,navigation:{nextEl:".swiper-button--next",prevEl:".swiper-button--prev"},speed:1200,loop:r})}))}(window.jQuery);n(564);function E(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var L={callback:function(e){},distance:50,container:jQuery(document)},_=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),t.data=Object.assign({page:1,postsPerPage:6,type:"button"},t.data),this.options=t,this.loading=!1,this.hasNext=!0,this.prevScrollPos=this.getScrollPos(),this.scroller={options:Object.assign(L,this.options)},this.handleScroll=this.handleScroll.bind(this)}var t,n,r;return t=e,n=[{key:"setFilters",value:function(e){this.options.data.filters=e}},{key:"resetFilters",value:function(){this.options.data.filters={}}},{key:"infiniteScroll",value:function(){var e=this;"scroll"===this.options.type?(window.addEventListener("scroll",(function(t){return e.handleScroll(e.scroller,t)}),{passive:!0}),document.addEventListener("touchmove",(function(t){return e.handleScroll(e.scroller,t)}))):this.options.button&&this.options.button.addEventListener("click",(function(){return e.load()}))}},{key:"load",value:function(){var e=this;this.loading||(this.loading=!0,this.scroller.options.container.addClass("post-grid--is-loading"),this.options.callback(this.options.data,(function(t){e.options.data.page++,e.loading=!1,e.hasNext=t.hasNext,e.scroller.options.container.removeClass("post-grid--is-loading")})))}},{key:"reset",value:function(){this.loading=!1,this.hasNext=!0,this.options.data.page=0}},{key:"getScrollPos",value:function(){return window.pageYOffset}},{key:"handleScroll",value:function(e,t){if(!this.loading&&!1!==this.hasNext){var n=this.getScrollPos();if(n!==this.prevScrollPos){var r=e.options.container;n>=(r.is(document)?0:r.offset().top)+r.outerHeight()-window.innerHeight&&this.load(),this.prevScrollPos=n}}}}],n&&E(t.prototype,n),r&&E(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();function S(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function A(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?S(Object(n),!0).forEach((function(t){q(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):S(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function q(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}!function(e){var t=window.wkScriptVars,n=t.restUrl,r=t.themeUri,o="".concat(r,"/assets/dist/images/loader.svg"),a=e("html, body"),i=e("[data-post-list]"),s=e("[data-category-selector]"),l=i.attr("data-posts-per-page")?i.attr("data-posts-per-page"):8,c=i.attr("data-posts-per-load")?i.attr("data-posts-per-load"):6,u=i.attr("data-taxonomy")?i.attr("data-taxonomy"):"category",d=e(".js-button-appender"),f=[];"true"===i.attr("data-more-posts-exist")?d.show():d.hide();var v={data:{postsPerPage:l,postsPerLoad:c,postType:i.attr("data-post-type"),taxonomy:u,term:f},container:i,type:d.length>0?"button":"scroll",button:d.length>0?d.get(0):null,callback:function(t,r){e(i).append('\n            <div id="infinity-loading-animation" class="post-grid__loading-wrapper">\n                <img src="'.concat(o,'" class="post-grid__loading-animation">\n            </div>')),e.ajax({url:"".concat(n,"wk-filters/v1/load_posts"),method:"POST",data:A({},t),dataType:"json"}).done((function(t){if(e("#infinity-loading-animation").remove(),t.hasNext?d.show():d.hide(),""!==t.content){var n=e(t.content);i.append(n)}r(t)}))}},p=null;i.length>0&&(p=new _(v)).infiniteScroll();var m=function(){i.html(""),p.setFilters(f),p.reset(),p.load()};s.on("change",(function(){f=[e(this).val()],m()})),e("[data-category-selector]").on("click",(function(){e(this).blur();var t=e(this).val();e(".category-list__selector--active").removeClass("category-list__selector--active"),e(this).addClass("category-list__selector--active"),"all"===t?f=[]:-1===f.indexOf(t)&&(e(".category-list__selector--active").removeClass("category-list__selector--active"),f=[t],e(this).addClass("category-list__selector--active")),m()}));var h=e(".post-grid");if(window.location.hash&&h.length>0){var g=window.location.hash.substring(1);e("[data-category-selector][value="+g+"]").trigger("click"),a.animate({scrollTop:e(".post-grid").offset().top-e(".header").height()-30},600)}}(window.jQuery);var O=n(448);!function(e){var t=document.querySelectorAll(".interactive-image-modal"),n=(document.querySelectorAll(".interactive-image__button"),document.querySelector(".header")),o={awaitOpenAnimation:!0,awaitCloseAnimation:!0,disableScroll:!1,onShow:function(){(0,r.disablePageScroll)(),n.classList.add("header--modal-open")},onClose:function(){n.classList.remove("header--modal-open"),(0,r.enablePageScroll)()}};t.length&&(O.Z.init(o),t.forEach((function(e){e.getAttribute("id")})));var a=function(e,t){document.cookie=e+"="+t+";path=/"},i=function(e){for(var t=e+"=",n=decodeURIComponent(document.cookie).split(";"),r=0;r<n.length;r++){for(var o=n[r];" "===o.charAt(0);)o=o.substring(1);if(0===o.indexOf(t))return o.substring(t.length,o.length)}return!1},s={openTrigger:"data-micromodal-open",disableScroll:!1,onShow:function(){(0,r.disablePageScroll)()},onClose:function(){(0,r.enablePageScroll)()}};e(document).ready((function(){e(".js-modal-inline").detach().appendTo("body"),O.Z.init(s);var t=e("[data-autotrigger]"),n=e(".modal-default");n.length&&(n.each((function(){e(this);var t=e(this).attr("id");e("[data-micromodal-close]").on("click",(function(){a("autoTriggerPopUp","true"),O.Z.close(t,s),(0,r.enablePageScroll)()}))})),t.length&&(i("autoTriggerPopUp")||t.each((function(){var t=e(this).attr("id");O.Z.show(t,s)}))));var o=e(".modal-infra"),l=e(".modal-infra").attr("form-id");o.length&&(t.length&&(i("infraDisclaimer")||t.each((function(){var t=e(this).attr("id");O.Z.show(t,s)}))),o.each((function(){var t=e(this),n=e(this).attr("id");e("[data-micromodal-close]").on("click",(function(){a("infraDisclaimer","true"),O.Z.close(n,s),(0,r.enablePageScroll)()}
1)),e(document).on("gform_confirmation_loaded",(function(e,n){n==l&&(t.find(".modal__content").show(),t.find(".modal__footer").show(),t.find(".modal__form").hide())}))})))}))}(window.jQuery);var j;n(404),n(601),n(101);(j=window.jQuery)(".openAll .accordion__item").beefup({trigger:".accordion__header",content:".accordion__body"}),j(".openSingle .accordion__item").beefup({trigger:".accordion__header",content:".accordion__body",openSingle:!0}),function(e){var t;t=(0,window.jQuery)(window).width()>1024?300:100,(new u.Z).reveal(".page-cta",{duration:300,distance:"0",easing:"cubic-bezier(0.250, 0.460, 0.450, 0.940)",origin:"bottom",delay:0,viewFactor:1,viewOffset:{top:t},opacity:0,mobile:!0,reset:!0})}();n(726);var P=n(757),k=n.n(P);function x(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,a=[],i=!0,s=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);i=!0);}catch(e){s=!0,o=e}finally{try{i||null==n.return||n.return()}finally{if(s)throw o}}return a}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return C(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return C(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function C(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function N(e,t,n,r,o,a,i){try{var s=e[a](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}var T={REST_API_ENDPOINT:"/wp-json/wp/v2/canton/",ELEMENT_IDS:["foundation-form","foundation-map","foundation-overlay","foundation-overlay-backdrop","foundation-overlay-content","foundation-overlay-close","foundation-tool-bounds","foundation-tool-hint","foundation-tool-start"],RADIO_ANSWER_VALUE:["nein","no"]},I=function(){var e,t=(e=k().mark((function e(){var t,n,r,o,a,i,s,l,c,u,d,f,v,p,m,h,g,y,b,w,E,L,_,S,A,q,O,j,P,C,N,I,B,D,R,F,M,Z,V;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=T.ELEMENT_IDS.map((function(e){return document.getElementById(e)})),n=x(t,9),r=n[0],o=n[1],a=n[2],i=n[3],s=n[4],l=n[5],c=n[6],u=n[7],d=n[8],f=window.wkScriptVars,v=f.foun
1dationAnswer,p=f.foundationQuestion,m=f.foundationSubmit,h=f.foundationNext,r&&o&&a&&i&&s&&l&&c&&u&&d){e.next=4;break}return e.abrupt("return");case 4:return g=[],y=u.cloneNode(!0),b=r.getAttribute("data-form-id")?parseInt(r.getAttribute("data-form-id")):0,w=0,E="",L=null,e.next=12,fetch("".concat(T.REST_API_ENDPOINT,"?per_page=100"));case 12:return _=e.sent,e.next=15,_.json();case 15:S=e.sent,A=function(e){r.classList.add("selected"),o.classList.add("interactive"),S.forEach((function(t){var n=q(t);if(n){var r=o.querySelector("#".concat(t.slug));if(r){var a=!!e||n.canton_answer!==e;n.canton_exception&&(a=!e||n.canton_answer!==e),""===n.canton_popup_content&&(a=!0);var i=g.findIndex((function(e){return e.canton.slug===t.slug})),s=-1!==i;a?s?g[i].page>=w&&(g.splice(i,1),r.classList.add("active")):r.classList.add("active"):(r.classList.remove("active"),s||g.push({canton:t,slug:t.slug,page:w}))}}}))},q=function(e){var t,n=null==e||null===(t=e.acf)||void 0===t?void 0:t.canton_answers;return n&&n[w]||null},O=function(){return document.getElementById("gform_page_".concat(b,"_").concat(w+1))},j=function(){var e,t=O();if(t){var n=t.querySelector(".gfield_description");E=null!==(e=null==n?void 0:n.textContent)&&void 0!==e?e:""}},P=function(){r.classList.remove("selected"),r.querySelectorAll([".gform-theme-button",".gform_button"]).forEach((function(e){var t=document.createElement("button");Array.from(e.attributes).forEach((function(e){t.setAttribute(e.name,e.value)})),t.innerText=e.value,e.replaceWith(t)})),u&&u.remove(),r.querySelectorAll(".gform-page-footer").forEach((function(e){var t=e.parentElement.querySelector(".gfield_description"),n=y.cloneNode(!0);n.removeAttribute("id"),t||n.classList.add("hidden"),e.insertAdjacentElement("beforebegin",n)}))},C=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(""!==e){var n="<strong>".concat(p||"Frage an Kantone",": </strong>").concat(E,"</br></br>"),r="<strong>".concat(v||"Antwort"," ").concat(t,": </strong>").concat(e);s.innerHTML=n+r,a.classList.add("active"),requestAnimationFrame((function(){I(),a.classList.add("animate"),i.classList.add("active")}))}},N=function(){a.classList.remove("active"),a.classList.remove("animate"),i.classList.remove("active"),L=null},I=function(){if(L){var e=L.getBoundingClientRect(),t=o.getBoundingClientRect(),n=c.getBoundingClientRect(),r=getComputedStyle(o),i=t.height-parseFloat(r.paddingBottom),s=function(){a.style.setProperty("--overlay-top","".concat(l,"%")),a.style.setProperty("--overlay-left","".concat(u,"%")),a.style.setProperty("--overlay-translate-top","".concat(d,"%")),a.style.setProperty("--overlay-translate-left","".concat(f,"%")),a.style.setProperty("--overlay-max-height","".concat(o.parentElement.offsetHeight,"px"))},l=Math.floor((e.top-t.top+e.height/8)/i*100),u=Math.floor((e.left-t.left+e.width/2)/t.width*100),d=l<25?-1*(50-l):-1*l,f=-50;s();var v=a.getBoundingClientRect();v.left,n.left,v.right,n.right,v.top,n.top,v.left<n.left?(u=0,f=0):v.right>n.right&&(u=100,f=-100),v.top<n.top&&(l=0,d=0),s()}},B=function(){o.querySelectorAll(".canton").forEach((function(e){return e.classList.add("disabled")})),S.forEach((function(e){var t=q(e),n=o.querySelector("#".concat(e.slug));n&&n.classList.toggle("disabled",""===(null==t?void 0:t.canton_popup_content))}))},D=function(){o.classList.remove("interactive");var e=O();if(e){var t=e.querySelector('input[type="radio"]:checked');t&&A(R(t.value))}},R=function(e){var t=e.toLowerCase().trim();return T.RADIO_ANSWER_VALUE.includes(t)},F=function(){var e=r.querySelectorAll(".gform_page"),t=0;0!==e.length&&(r.style.setProperty("--form-page-height","".concat(t,"px")),e.forEach((function(e){var n=!1;"none"===e.style.display&&(e.style.display="block",n=!0);var r=e.scrollHeight;r>t&&(t=r),n&&(e.style.display="none")})),r.style.setProperty("--form-page-height","".concat(t,"px")))},M=function(){var e=O();if(e){var t=r.querySelectorAll(".gform_page"),n=Array.from(t).splice(w+1),o=n.filter((function(e){return"visible"===e.getAttribute("data-conditional-logic")})),a=n.filter((function(e){return"hidden"===e.getAttribute("data-conditional-logic")})),i=0===a.length?'button[type="submit"]':".gform_next_button",s=e.querySelector(i);s&&(0===o.length?s.innerText=m||"Abschliessen":0===a.length&&(s.innerText=h||"Weiter"))}},l.addEventListener("click",N),Z=function(){r.addEventListener("change",(function(e){"radio"===e.target.type&&A(R(e.target.value))})),r.addEventListener("click",N)},o.addEventListener("click",(function(e){var t;a.classList.contains("active")&&N();var n=e.target.closest(".canton");if(n){var r=S.find((function(e){return e.slug===n.id}));if(r){var o=q(r);o&&(L=n,C(null==o?void 0:o.canton_popup_content,null==r||null===(t=r.title)||void 0===t?void 0:t.rendered))}}})),document.addEventListener("gform/post_render",(function(e){var t,n=null==e||null===(t=e.detail)||void 0===t?void 0:t.currentPage;n&&(w=n-1,P(),D(),j(),B())})),d.addEventListener("click",(function(){c.classList.add("init"),r.classList.add("visible")})),window.addEventListener("resize",(function(){return requestAnimationFrame(I)})),window.addEventListener("resize",(function(){return requestAnimationFrame(F)})),V={attributes:!0,childList:!0,subtree:!0},new MutationObserver((function(e,t){e.some((function(e){return"childList"===e.type})),e.some((function(e){return"BUTTON"===e.target.tagName}))||M()})).observe(r,V),Z(),j(),P(),B(),F();case 45:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(r,o){var a=e.apply(t,n);function i(e){N(a,r,o,i,s,"next",e)}function s(e){N(a,r,o,i,s,"throw",e)}i(void 0)}))});return function(){return t.apply(this,arguments)}}();I(),function(e){var t=e("html, body");e("#scroll-down").on("click",(function(n){var r=e(".hero-header").outerHeight();n.preventDefault(),t.animate({scrollTop:r},500,"linear")})),e(".post-tease").each((function(){var t=e(this).find(".arrow-link");e(this).find("a:not(.category-tag)").on("mouseover",(function(){t.addClass("hovered")})),e(this).find("a:not(.category-tag)").on("mouseleave",(function(){t.removeClass("hovered")}))})),c(document.getElementById("primary-navigation"),document.getElementById("secondary-navigation"),document.getElementById("tertiary-navigation"),document.getElementById("infrastru
1cture-navigation"),{desktopMinWidth:9999,menuToggle:".js-menu-toggle"});var n=e(".sub-menu"),r=e(".js-menu-caret");n.hover((function(){e(this).parent().addClass("hovered")}),(function(){e(this).parent().removeClass("hovered")})),r.hover((function(){e(this).parent().addClass("hovered")}),(function(){e(this).parent().removeClass("hovered")}))}(window.jQuery)},601:function(){var e;(e=window.jQuery)((function(){var t=e("#primary-navigation"),n=e("#secondary-navigation"),r=e("#tertiary-navigation"),o=e("#show-primary-nav"),a=e("#show-secondary-nav"),i=e("#show-tertiary-nav");function s(){a.attr("aria-selected","false"),a.removeClass("active"),n.hide(),n.attr("aria-hidden","true"),i.attr("aria-selected","false"),i.removeClass("active"),r.hide(),r.attr("aria-hidden","true"),o.attr("aria-selected","true"),o.addClass("active"),t.attr("aria-hidden","false"),t.show(),o.addClass("active")}function l(){o.attr("aria-selected","false"),o.removeClass("active"),t.hide(),t.attr("aria-hidden","true"),i.attr("aria-selected","false"),i.removeClass("active"),r.hide(),r.attr("aria-hidden","true"),a.attr("aria-selected","true"),a.addClass("active"),n.attr("aria-hidden","false"),n.show(),a.addClass("active")}function c(){o.attr("aria-selected","false"),o.removeClass("active"),t.hide(),t.attr("aria-hidden","true"),a.attr("aria-selected","false"),a.removeClass("active"),n.hide(),n.attr("aria-hidden","true"),i.attr("aria-selected","true"),i.addClass("active"),r.attr("aria-hidden","false"),r.show(),i.addClass("active")}e("#secondary-indicator").hasClass("active")?(l(),e(".js-menu-toggle").on("click",(function(){setTimeout((function(){l()}),300)}))):e("#tertiary-indicator").hasClass("active")?(c(),e(".js-menu-toggle").on("click",(function(){setTimeout((function(){c()}),300)}))):(s(),e(".js-menu-toggle").on("click",(function(){setTimeout((function(){s()}),300)}))),o.on("click",(function(){s()})),a.on("click",(function(){l()})),i.on("click",(function(){c()}))}))},921:function(){function e(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,a=[],i=!0,s=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);i=!0);}catch(e){s=!0,o=e}finally{try{i||null==n.return||n.return()}finally{if(s)throw o}}return a}(e,n)||function(e,n){if(!e)return;if("string"==typeof e)return t(e,n);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return t(e,n)}(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var n={tabsNav:document.querySelector(".tabs__nav"),tabsNavItems:document.querySelectorAll(".tabs__nav-item"),panels:document.querySelectorAll(".tabs__panel")},r=function(){for(var e=0,t=0;t<n.tabsNavItems.length;t++)if(n.tabsNavItems[t].classList.contains("js-active")){e=t;break}return e},o=function(e){var t=n.tabsNavItems[e];return[t.offsetWidth-1,t.offsetLeft]},a=function(e,t,n){e.style.width="".concat(t,"px"),e.style.transform="translateX(".concat(n,"px)")},i=function(e){return n.panels[e]},s=function(e){n.panels.forEach((function(e){e.classList.remove("js-active"),e.style.display="none"})),n.panels[e].style.display="block",n.panels[e].classList.add("js-active")};window.addEventListener("load",(function(){var t,l=r(),c=e(o(l),2),u=c[0],d=c[1],f=((t=document.createElement("div")).classList.add("tabs__nav-decoration"),t.classList.add("js-decoration"),n.tabsNav.append(t),t);a(f,u,d),i(l),s(l)})),n.tabsNav.addEventListener("click",(function(t){var l;if(t.target.classList.contains("tabs__nav-item")){var c=t.target,u=Array.from(n.tabsNavItems).indexOf(c);l=c,n.tabsNavItems.forEach((function(e){e.classList.remove("js-active")})),l.classList.add("js-active");var d=r(),f=e(o(d),2),v=f[0],p=f[1],m=document.querySelector(".js-decoration");a(m,v,p),i(u),s(u)}}))}},function(e){e.O(0,[941],(function(){return t=689,e(e.s=t);var t}));e.O()}]);

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.