PageSourceSearch

https://www.meinbuero.de/wp-content/themes/buero-24/dist/assets/script-54e42785.js

js meinbuero.de collected 2026-10-02 15:00:22 UTC 2,960 bytes, 1 lines download raw bytes

1import{b as w,g as x}from"./helpers-f1b9d39c.js";function A(t){const e=w(t);x(t),window.innerWidth>1365?S(e):I(e),C(e)}function S(t){const e=t.navigation,o=t.functionContent,i=t.functionImage;Array.from(e.children).forEach(c=>{c.addEventListener("click",function(){let n=e.querySelector('[data-active="true"]');if(this.dataset.active==="false"&&this!==n){const s=this.dataset.tabindex;E(t),u(s,e,o,i,this,n)}})})}function I(t){const e=t.navigation,o=t.functionContent,i=t.functionImage;t.prev.addEventListener("click",function(){const n=e.querySelector("[data-active = true]");if(n.dataset.tabindex==="0"){const r=Array.from(o.children);u(Number(r.length-1),e,o,i,null,n)}else u(Number(n.dataset.tabindex-1),e,o,i,null,n)}),t.next.addEventListener("click",function(){const n=e.querySelector("[data-active = true]"),r=Array.from(o.children);Number(n.dataset.tabindex)===Number(r.length)-1?u(0,e,o,i,null,n):u(Number(n.dataset.tabindex)+1,e,o,i,null,n)})}function u(t,e,o,i,a=null,c=null){const n=(c==null?void 0:c.dataset.tabindex)??"0",r=o.querySelector(`[data-tabindex="${n}"]`),s=i.querySelector(`[data-tabindex="${n}"]`);let d=o.querySelector('[data-tabindex="'+t+'"]'),f=i.querySelector('[data-tabindex="'+t+'"]');if(a||(a=e.querySelector('[data-tabindex="'+t+'"]')),a.dataset.active=!0,window.innerWidth<=1365){const b=Array.from(e.children);let h="-"+t+"00";b.forEach(y=>{const p={duration:600,iterations:1,fill:"forwards"};y.animate([{transform:`translateX(${h}%)`}],p)})}const l={duration:400,iterations:1,easing:"ease-out",fill:"forwards"},m=[{transform:"translateY(0%)",opacity:1},{transform:"translateY(-15%)",opacity:0}];r.dataset.active=!0,s.dataset.active=!0,c.dataset.active=!1;const g=s.animate(m,l);let v=null;setTimeout(()=>{v=r.animate(m,l)},200),setTimeout(()=>{r.dataset.active=!1,s.dataset.active=!1,d.dataset.active=!0,f.dataset.active=!0,g.reverse(),v.reverse()},800)}function C(t){var n,r;const e=t.navigation,o=t.functionContent,i=t.functionImage,a=q()||
1((n=window.location.hash)==null?void 0:n.substring(1));if(!a||a==="funktionen")return;const c=document.getElementById(a);if(c)if(c){const s=c.closest("wp-component");if(!s)return;if(s.attributes.name.value==="ThreeColFunctions"){const d=s.querySelector(".functions").getBoundingClientRect().top,f=parseInt(window.getComputedStyle(s.querySelector(".functions")).marginTop,10),l=(r=document.querySelector('wp-component[name="SubMenu"]'))==null?void 0:r.offsetHeight;u(Number(c.dataset.tabindex),e,o,i,c,e.querySelector('[data-active="true"]')),window.scrollTo({top:d-l-f})}}else console.warn(`Kein Element mit der ID "${a}" gefunden.`)}function q(){return new URLSearchParams(window.location.search).get("funktion")}function E(t){const e=Array.from(t.navigation.children),o=Array.from(t.functionContent.children),i=Array.from(t.functionImage.children);e.forEach(a=>{a.dataset.active=!1}),o.forEach(a=>{a.dataset.active=!1}),i.forEach(a=>{a.dataset.active=!1})}export{A as default};

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.