PageSourceSearch

https://www.muellerimmo.com/wp-content/themes/onoffice-pure/build/js/app.js?ver=1791205997

js muellerimmo.com collected 2026-10-07 04:54:50 UTC 18,412 bytes, 1 lines download raw bytes

1($=jQuery)(document).ready(function(){0<$(".c-table").length&&$(".c-table").each(function(e,t){var o=$(this),i=o.find(".c-table__wrapper").outerWidth();o.outerWidth()<i?o.addClass("--is-scrollable"):o.removeClass("--is-scrollable")}),$(".c-main-nav__button").on("click tap",function(){menuOpenClose()}),$(document).on("keydown",function(e){$(".o-body.--main-nav-open").length&&"Escape"===e.key&&menuOpenClose()}),"undefined"!=typeof TomSelect&&TomSelect.define("oo_remove_button",function(e){let n=this;function a(e){var t=document.createElement("template");return t.innerHTML=e.trim(),t.content.firstChild}let o=Object.assign({label:"&times;",title:window.ooPureTheme.translations.removeThisItem||"Remove this item",className:"remove",append:!0,position:"before"},e);if(o.append){let i=t=>{var e;t.querySelector("."+o.className)||(e=a(`<button class="${o.className}" tabindex="-1" title="${e=o.title,e?(e+"").replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;"):""}"><span class="ts-item-remove-icon">${o.label}</span></button>`),"before"===o.position?t.prepend(e):t.appendChild(e),e.addEventListener("mousedown",e=>{e.preventDefault(),e.stopPropagation()}),e.addEventListener("click",e=>{!n.isLocked&&(e.preventDefault(),e.stopPropagation(),e=t.dataset.value)&&(n.removeItem(e),n.refreshOptions(!1))}))};n.on("initialize",()=>{let o=n.settings.render.item;n.settings.render.item=(e,t)=>{e=a(o.call(n,e,t));return i(e),e},n.control.querySelectorAll(".ts-item").forEach(e=>{i(e)})})}}),"undefined"!=typeof TomSelect&&TomSelect.define("oo_checkbox_options",function(e){let n=this,o=n.onOptionSelect,a=(n.settings.hideSelected=!1,Object.assign({className:"tomselect-checkbox",checkedClassNames:void 0,uncheckedClassNames:void 0},e));function s(e,t=!1){e&&(e.preventDefault(),t)&&e.stopPropagation()}function r(e,t){(e.checked=t)?(a.uncheckedClassNames&&e.classList.remove(...a.uncheckedClassNames),a.checkedClassNames&&e.classList.add(...a.checkedClassNames)):(a.checkedClassNames&&e.classList.remove(...a.checkedClassNames),a.uncheckedClassNames&&e.classList.add(...a.uncheckedClassNames))}function i(t){setTimeout(()=>{var e=t.querySelector("input."+a.className);e instanceof HTMLInputElement&&r(e,t.classList.contains("selected"))},1)}n.on("initialize",()=>{let i=n.settings.render.option;n.settings.render.option=(e,t)=>{t=i.call(n,e,t),(o=document.createElement("template")).innerHTML=t.trim();var t=o.content.firstChild,o=document.createElement("input"),e=(o.type="checkbox",o.tabIndex="-1",o.ariaHidden=!0,o.classList.add(a.className),o.addEventListener("click",e=>s(e)),null==(e=e[n.settings.valueField])?null:"boolean"==typeof e?e?"1":"0":e+"");return r(o,!(!e||!n.items.includes(e))),t.prepend(o),t}}),n.on("item_remove",e=>{e=n.getOption(e);e&&(e.classList.remove("selected"),i(e))}),n.on("item_add",e=>{e=n.getOption(e);e&&i(e)}),n.hook("instead","onOptionSelect",(e,t)=>{t.classList.contains("selected")?(t.classList.remove("selected"),n.removeItem(t.dataset.value),n.refreshOptions(),s(e,!0)):(o.call(n,e,t),i(t))})}),"undefined"!=typeof TomSelect&&$("select").length&&$("select").each(function(){var v=$(this),e=v.find("option"),o=v.hasClass("--multiple")||v.prop("multiple")||v.attr("name")&&v.attr("name").includes("[]"),e=(1===e.length&&(e=e[0])&&$(e).prop("selected",!0),{oo_remove_button:{className:"ts-item-remove",title:window.ooPureTheme.translations.removeThisItem||"Remove this item",position:"before"}}),t=(o&&(e.oo_checkbox_options={className:"o-control__input",checkedClassNames:["ts-checked"],uncheckedClassNames:["ts-unchecked"]}),v.hasClass("onofficeSortListSelector")&&(e.oo_remove_button.append=!1),v.length&&v[0].id,v.closest("dialog")[0]);let f=new TomSelect(v,{itemClass:"ts-item",createOnBlur:!1,create:!1,diacritics:!0,maxOptions:!1,dropdownParent:t?null:"body",sortField:null,plugins:e,onInitialize:function(){let e="";this.input.labels&&0<this.input.labels.length?e=this.input.labels[0].innerText:this.control_input.labels&&0<this.control_input.labels.length&&(e=this.control_input.labels[0].innerText),e&&this.dropdown_content.setAttribute("aria-label",e.trim()+" dropdown"),this.input.required&&this.control_input.setAttribute("aria-required","true"),this.control_input.removeAttribute("tabindex");var t=document.createElement("div");t.classList.add("ts-control-inner");let o=document.createElement("div");o.classList.add("ts-items"),this.items_wrapper=o,this.control.querySelectorAll(".ts-item").forEach(e
1=>{o.appendChild(e)}),t.appendChild(o),t.appendChild(this.control_input),this.control.appendChild(t);t={"--bg-light":"--theme-light","--bg-dark":"--theme-dark","--bg-primary":"--theme-primary","--bg-secondary":"--theme-secondary","--bg-footer":"--theme-footer","--bg-transparent":"--theme-transparent"};let i=this.wrapper;var n=Object.keys(t).find(e=>i.closest("."+e));n&&this.dropdown.classList.add(t[n])},onItemAdd:function(e,t){this.items_wrapper.appendChild(t)},render:{option:function(e,t){return o?'<div class="ts-dropdown__item o-control '+e.level+'" tabindex="0"><span class="ts-dropdown__label o-control__label"><span class="ts-dropdown__text o-control__text">'+t(e.text)+"</span></span></div>":'<div class="ts-dropdown__item" tabindex="0"><span class="ts-dropdown__label"><span class="ts-dropdown__text">'+t(e.text)+"</span></span></div>"},no_results:function(e,t){return`<div class="no-results">${window.ooPureTheme.translations.noResults||"No results"}</div>`}}});if(v.hasClass("--is-styled")){let m=v.find("option").toArray();if(m.length){let p=!1,h=e=>e&&(e=$(e).data("level")||"",parseInt((e+"").replace("level-",""),10))||0,t=t=>{var e=m.findIndex(e=>e.value===t.val());return-1===e?$():$(m.slice(e+1))};function g(e){e=e.getValue();return Array.isArray(e)?e:[e]}function y(e){let o=h(e.get(0)),i=[];return t(e).each((e,t)=>{if(!(h(t)>o))return!1;i.push(t.value)}),i}f.on("item_add",t=>{if(!p){p=!0;var i=v.find(`option[value="${t}"]`),n=new Set([t,...y(i)]),a=g(f);let o=new Set([...a,...n]);a=m.findIndex(e=>e.value===t);let e=h(i.get(0));for(let t=a-1;0<=t;t--){var s=m[t],r=h(s);if(r<e){var l=r,c=[];for(let e=t+1;e<m.length;e++){var d=m[e],u=h(d);if(u===l+1&&c.push(d.value),u<=l)break}if(0<c.length&&c.every(e=>o.has(e))&&o.add(s.value),0===(e=l))break}}f.setValue(Array.from(o),!0),p=!1}}),f.on("item_remove",i=>{if(!p){p=!0;var e=v.find(`option[value="${i}"]`),n=h(e.get(0));let o=new Set([i,...y(e)]);if(0<n){let t=n;for(let e=m.findIndex(e=>e.value===i)-1;0<=e;e--){var a=m[e],s=h(a);if(s<t&&(o.add(a.value),0===(t=s)))break}}e=g(f).filter(e=>!o.has(e));f.setValue(e),p=!1}})}else console.warn("No options found for styled select")}}),applyResponsiveTextShortening(),0<document.querySelectorAll(".c-accordion").length&&(document.querySelectorAll("details").forEach(o=>{o.addEventListener("toggle",()=>{var e=o.querySelector(".u-screen-reader-only.--open"),t=o.querySelector(".u-screen-reader-only.--close");o.open?(o.classList.add("--is-open"),e?.setAttribute("aria-hidden","true"),t?.setAttribute("aria-hidden","false")):(o.classList.remove("--is-open"),e?.setAttribute("aria-hidden","false"),t?.setAttribute("aria-hidden","true"))})}),document.querySelectorAll(".c-accordion-card.--is-map").forEach(t=>{new MutationObserver(e=>{e.forEach(e=>{if("class"===e.attributeName){e=t.querySelector("div.--is-open-street-map");if(e){let t=e.getAttribute("lid");e=window.maps.find(e=>e._leaflet_id==t);e&&e.invalidateSize(!0)}}})}).observe(t,{attributes:!0,attributeFilter:["class"]})})),0<$(".c-media__iframe, .c-media-text__iframe").length&&$('[class*="__video"]').each(function(){var e=$
1(this);let t=e.find('[class*="__iframe"]'),o=e.find('[class*="__thumbnail-wrapper"]');0<o.length&&o.on("click",function(e){o.hide(),t.attr("src",t.attr("data-src-thumbn-cons")).show(),t.focus()})});var e=document.querySelectorAll(".c-banner__video-wrapper");0<e.length&&e.forEach(e=>{var t=e.querySelector('[class*="__video"]'),o=e.offsetHeight,e=e.offsetWidth,i=Math.ceil(9*e/16),n=Math.ceil(16*e/9);o<i?(t.style.setProperty("--video-ratio-width",e+"px"),t.style.setProperty("--video-ratio-height",i+"px")):(t.style.setProperty("--video-ratio-width",n+"px"),t.style.setProperty("--video-ratio-height",o+"px"))}),0<$(".--is-masonry").length&&$(".c-seals.--is-masonry").each(function(){var e=$(this);this.addEventListener("load",function(){e.masonry("layout")},!0),e.masonry({gutter:8})});let a={entities:[],register(e,t){let o={splide:e,userPaused:!e.options.autoplay};this.entities.push(o);t=t.querySelector(".splide__toggle");t&&t.addEventListener("click",()=>{o.userPaused=!o.userPaused}),e.on("autoplay:play",()=>{document.body.classList.contains("glightbox-open")&&e.Components.Autoplay.pause()})},suspendAll(){this.entities.forEach(e=>{e=e.splide.Components.Autoplay;e&&e.pause()})},resumeAll(){this.entities.forEach(e=>{var t=e.splide.Components.Autoplay;t&&!e.userPaused&&t.play()})}},s=(window.addEventListener("lightboxOpened",()=>a.suspendAll()),window.addEventListener("lightboxClosed",()=>a.resumeAll()),[]);function o(){s.length&&s.forEach(e=>e.refresh())}$(".c-slider").each(function(){var e,o=$(this),i=new Splide(this),t=(i.on("mounted updated",function(){window.requestAnimationFrame(()=>{applyResponsiveTextShortening()})}),o.find('iframe[src*="youtube"], iframe[src*="vimeo"]').length&&(i.on("mounted",e=function(){sanitizeClonedYouTubeIframes(o[0])}),i.on("move",e),i.on("updated",e),i.on("refresh",e)),o.find(".c-slider__progress-bar"));t.length&&i.on("mounted move",function(){var e=i.Components.Controller.getEnd()+1;t.css("width",100*(i.index+1)/e+"%")}),i.on("overflow",function(e){i.options={drag:e,focusableNodes:"a, button, input, textarea, select:not([aria-hidden])"}});let n=debounce(()=>{i.refresh()},50);o.find("img").each(function(){var e;(e=this).complete&&0<e.naturalWidth||(e.addEventListener("load",n,{once:!0}),e.addEventListener("error",n,{once:!0}),"function"==typeof e.decode&&e.decode().then(n).catch(()=>{}))}),i.on("mounted",function(){n();var e=o.find(".splide__pagination"),t=e.find(".c-slider__autoslide-item");e.length&&t.length&&e.append(t),o.hasClass("--is-gallery-slider")&&a.register(i,o[0])}),i.mount(),o.hasClass("--is-properties-images-slider")&&s.push(i)}),o(),correctFirstElementPadding(),initHeaderNavResizeObserver();let t=document.querySelector(".c-back-to-top");function r(e,t){e.classList.remove("--listview","--tileview"),e.classList.add("--"+t)}t&&(t.onclick=()=>{window.scroll({top:0,behavior:"smooth"})},window.addEventListener("scroll",()=>{200<window.scrollY?t.classList.add("--visible"):t.classList.remove("--visible")}));let l=document.querySelectorAll(".c-property-list__switch"),n=(l&&l.forEach(e=>{e=e.querySelectorAll(".c-property-list__switch-radio");e&&e.forEach(t=>{t.addEventListener("change",()=>{let i=t.id.includes("view-list")?"view-list":"view-tile",n="view-list"==i?"listview":"tileview";l.forEach(o=>{o.querySelectorAll(".c-property-list__switch-radio").forEach(e=>{var t=o.querySelector(`label[for="${e.id}"]`);t&&("view-list"==i&&e.id.includes("view-list")||"view-tile"==i&&e.id.includes("view-tile")?(t.classList.add("--checked"),e.checked=!0,e.setAttribute("checked","checked")):(t.classList.remove("--checked"),e.checked=!1,e.removeAttribute("checked")))})});var e=document.querySelectorAll(".c-property-list.--switch-view");e&&(e.forEach(e=>{r(e,n);var t,o,i=e.querySelector(".c-property-list__switch-status");i&&(o=i.getAttribute("data-list-text"),t=i.getAttribute("data-tile-text"),i.textContent="listview"==n?o:t,i=e.querySelectorAll(".c-property-list__properties"),o=e.querySelectorAll(".c-property-card"),i.forEach(e=>{r(e,n)}),o.forEach(e=>{r(e,n)}))}),(e=new Date).setTime(e.getTime()+2592e6),document.cookie=`oo_theme_view_preference=${n}; expires=${e.toUTCString()}; path=/`,o())})})}),document.documentElement.lang||navigator.language);let h=window.matchMedia("(prefers-reduced-motion: reduce)").matches;e=document.querySelectorAll(".c-success-counter");
10<e.length&&e.forEach(e=>{let p=Math.min(1e3*(parseFloat(e.dataset.animationSpeed)||2),5e3);e.querySelectorAll(".c-success-counter-card").forEach(e=>{let u=e.querySelector(".c-success-counter-card__number");if(u){let o=parseFloat(e.dataset.start)||0,c=parseFloat(e.dataset.end)||0,d=(t=(t=(t=c).toString().split("."))[1]?t[1].length:0,new Intl.NumberFormat(n,{minimumFractionDigits:t,maximumFractionDigits:t}));var t;let i=new IntersectionObserver(e=>{e.forEach(e=>{if(e.isIntersecting){if(h)u.textContent=d.format(c);else{var a=u;var s=o;var t=c;var r=p;var l=d;let i=performance.now(),n=t-s;!function e(){var t=performance.now()-i,t=Math.min(t/r,1),o=s+n*(t*(2-t));a.textContent=l.format(o),t<1&&requestAnimationFrame(e)}()}i.unobserve(e.target)}})},{threshold:.1});i.observe(e)}})})});let masthead=document.getElementById("masthead"),ooLastHeight=(masthead&&window.addEventListener("scroll",()=>{masthead.classList.toggle("--fixed",0<window.scrollY)}),window.innerHeight),ooLastWidth=window.innerWidth,ooResizeTimeout;function getBreakpointPx(e,t){e=window.getComputedStyle(document.documentElement).getPropertyValue("--breakpoint-"+e).trim(),e=parseFloat(e);return Number.isFinite(e)?e:t}jQuery(window).on("resize",function(){clearTimeout(ooResizeTimeout),ooResizeTimeout=setTimeout(function(){var e=Math.abs(window.innerHeight-ooLastHeight),t=Math.abs(window.innerWidth-ooLastWidth);ooLastHeight=window.innerHeight,ooLastWidth=window.innerWidth,(100<e||50<t)&&($(".o-body.--main-nav-open").length&&menuOpenClose(),(e=window.innerWidth<=768)&&document.querySelectorAll("dialog.--is-open, dialog[open]").forEach(e=>{e.classList.remove("--is-open"),e instanceof HTMLDialogElement&&e.close(),document.body.classList.remove("--modal-open")}),e||document.querySelectorAll(".c-read-more.--is-open").forEach(e=>{var t=e.getAttribute("aria-controls"),t=document.getElementById(t),o=e.getAttribute("data-open-text");e.setAttribute("aria-expanded","false"),e.classList.remove("--is-open"),e.textContent=o,t&&(t.classList.remove("--is-open"),t.style.height="")}),correctFirstElementPadding(),applyResponsiveTextShortening())},200)});let ooDesktopNavBreakpoint=getBreakpointPx("xxl",1400),ooDesktopNavQuery=window.matchMedia(`(min-width: ${ooDesktopNavBreakpoint}px)`),doc=(ooDesktopNavQuery.addEventListener("change",function(){correctFirstElementPadding()}),document.documentElement);function menuOpenClose(){document.body.classList.toggle("--main-nav-open");var e=document.querySelector(".c-header"),t=e.querySelector(".c-main-nav"),o=e.querySelectorAll(".c-main-nav__item"),i=e.querySelector(".c-main-nav__button"),n=i.querySelector(".--open"),a=i.getAttribute("data-open-text"),s=i.querySelector(".--close"),r=i.getAttribute("data-close-text"),e=(e&&e.classList.toggle("--main-nav-open"),t&&t.classList.toggle("--is-open"),o.forEach(e=>e.classList.toggle("--is-open")),"true"===i.getAttribute("aria-expanded"));i.setAttribute("aria-expanded",!e),i.setAttribute("aria-label",e?a:r),n&&(n.style.display=e?"flex":"none"),s&&(s.style.display=e?"none":"flex")}let ooLastNavHeight=null;function initHeaderNavResizeObserver(){var e=document.querySelector(".c-header__nav");e&&"ResizeObserver"in window&&new ResizeObserver(e=>{e=Math.round(e[0].borderBoxSize?.[0]?.blockSize??e[0].contentRect.height);e!==ooLastNavHeight&&(ooLastNavHeight=e,correctFirstElementPadding())}).observe(e,{box:"border-box"})}function correctFirstElementPadding(){var e,t,o,i=document.documentElement,n=document.getElementsByClassName("c-header");0===n.length?(i.style.removeProperty("--header-height"),i.style.setProperty("--header-nav-height","0px"),i.classList.remove("oo-header-overlays")):(n=n[0],e=Math.round(n.offsetHeight),o=(t=document.querySelector(".c-header__nav-wrapper"))&&"absolute"===window.getComputedStyle(t).position,t&&o?(o=Math.round(t.offsetHeight),i.style.setProperty("--header-nav-height",o+"px")):i.style.setProperty("--header-nav-height","0px"),n.classList.contains("--transparent")?i.classList.add("oo-header-overlays"):i.classList.remove("oo-header-overlays"),i.style.setProperty("--header-height",e+"px"))}function applyResponsiveTextShortening(){function e(e,t,i){$(e).each(function(){var e,t=$(this),o=t.find(i),t=t.find(".c-read-more");0===o.length?t.hide():(o.addClass("--shorten"),(e=o.get(0))&&e.scrollHeight>e.clientHeight?(o.addClass("--shorten"),t.show().attr("aria-expanded","fal
1se").text(t.data("open-text")||"weiterlesen...")):(o.removeClass("--shorten"),t.hide()))})}e(".c-google-review-card",0,".c-google-review-card__text"),e(".c-review-card",0,".c-review-card__text"),e(".c-property-details__text",0,".c-property-details__text-content"),e(".c-team-card",0,".c-team-card__description")}function getSlide(e){return e.closest(".c-banner__slide")}function initVideoToggle(){$(".c-banner__video-playback-toggle").off("click").on("click",function(e){e.preventDefault();var e=$(this),t=getSlide(this),t=$(t).find("iframe");let i="false"===e.attr("aria-pressed");var o=e.data("label-play"),n=e.data("label-pause"),t=(t.each(function(){var e=this.src.includes("youtube"),t=this.src.includes("vimeo"),o=$(this).data("yt-player")||$(this).data("vimeo-player");if(o)try{e?i?o.pauseVideo():o.playVideo():t&&(i?o.pause():o.play())}catch(e){console.warn("Video control failed",e)}}),i?"true":"false"),o=i?o:n;e.attr("aria-pressed",t),e.attr("aria-label",o),e.find(".c-banner__sr-label").text(o)})}function onYouTubeIframeAPIReady(){$('iframe[src*="youtube"]').each(function(){if(!(0<$(this).closest(".splide__slide--clone").length||$(this).data("yt-player")))try{var e=new YT.Player(this,{events:{onReady:onPlayerReady}});$(this).data("yt-player",e)}catch(e){console.error("YouTube Player Error:",e)}})}function onPlayerReady(){}function debounce(t,o){let i;return function(...e){clearTimeout(i),i=setTimeout(()=>{t.apply(this,e)},o)}}function initVimeoPlayers(){$('iframe[src*="vimeo"]').each(function(){var e;0<$(this).closest(".splide__slide--clone").length||$(this).data("vimeo-player")||(e=new Vimeo.Player(this),$(this).data("vimeo-player",e))})}function sanitizeClonedYouTubeIframes(e){$(e).find('.splide__slide--clone iframe[src*="youtube"]').each(function(){var t=$(this),o=(t.attr("id")?.startsWith("widget")&&t.removeAttr("id"),this.attributes);for(let e=o.length-1;0<=e;e--){var i=o[e];i.name.startsWith("data-ytplayer")&&t.removeAttr(i.name)}})}jQuery(window).on("load",function(){initVideoToggle(),initVimeoPlayers(),sanitizeClonedYouTubeIframes(document)});

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.