PageSourceSearch

https://www.koiramme.fi/wp-content/plugins/valu-site-features-maga…?ver=a5d259a97c506cd66e9e6f535fc77342

js koiramme.fi collected 2026-10-02 09:58:35 UTC 3,440 bytes, 1 lines download raw bytes

1(()=>{"use strict";const e=1024,t=new WeakMap,n=e=>{e&&!t.has(e)&&t.set(e,{parent:e.parentNode,nextSibling:e.nextSibling})},o=e=>{if(!e)return;const n=t.get(e);n&&n.parent&&n.parent.isConnected&&n.parent!==e&&(e.parentNode===n.parent&&e.nextSibling===n.nextSibling||n.parent.insertBefore(e,n.nextSibling))},i=()=>{const e=document.querySelector(".valu-pattern-header");return e?{root:e,mainRowContent:e.querySelector(".valu-pattern-header__main-row--content"),middleRowContent:e.querySelector(".valu-pattern-header__middle-row--content"),mobileNav:e.querySelector(".wp-block-navigation__responsive-container-content"),logo:e.querySelector(".mobile--move-to-header-top"),loginButtons:e.querySelector(".mobile--move-to-mobile-menu"),kennelliittoLink:e.querySelector(".mobile--move-to-mobile-menu--2"),search:e.querySelector(".mobile--move-to-mobile-menu-header--2")}:null};document.addEventListener("DOMContentLoaded",()=>{(()=>{const t=i();if(!t)return;let r;[t.logo,t.loginButtons,t.kennelliittoLink,t.search].forEach(n);let a=window.innerWidth;const s=()=>{const t=i();if(!t)return;const{root:n,mainRowContent:r,mobileNav:a,logo:s,loginButtons:l,kennelliittoLink:d}=t;n.classList.add("is-transitioning"),window.innerWidth<e?(s&&r&&s.parentNode!==r&&r.prepend(s),l&&a&&!a.contains(l)&&a.appendChild(l),d&&a&&d.parentNode!==a&&a.appendChild(d)):(o(s),o(l),o(d),o(t.search)),setTimeout(()=>{n.classList.remove("is-transitioning")},50)};s(),window.addEventListener("resize",()=>{const t=window.innerWidth,n=a>=e&&t<e||a<e&&t>=e;clearTimeout(r),n?(a=t,s()):Math.abs(t-a)>50&&(r=setTimeout(()=>{a=t,s()},250))},{passive:!0})})(),(()=>{let t=null;new MutationObserver(n=>{n.forEach(n=>{"class"===n.attributeName&&(document.documentElement.classList.contains("has-modal-open")?t||(()=>{const e=i();if(!e)return;const{mobileNav:n,logo:o,search:r}=e;n&&(t=document.createElement("div"),t.className="mobile-menu-moved-items-wrapper",n.prepend(t),o&&t.appendChild(o),r&&t.appendChild(r))})():t&&(()=>{const n=i();if(!n)return;const{root:r,mainRowContent:a,logo:s,search:l}=n,d=window.innerWidth<e;s&&(d&&a&&s.parentNode!==a?a.prepend(s):d||o(s)),l&&o(l),t?.parentNode&&t.remove(),t=null})())})}).observe(document.documentElement,{attributes:!0,attributeFilter:["class"]})})(),(()=>{const t=document.querySelector(".valu-pattern-header");if(!t)return;const n=t.querySelector(".wp-block-navigation__responsive-container-open"),o=t.querySelector(".mobile--move-to-mobile-menu-header--2 button"),i=t.querySelector(".mobile--move-to-header-top a");if(!n||!o)return;const r=()=>window.innerWidth<e,a=()=>{n.setAttribute("tabindex",window.innerWidth<e?"0":"-1")};a(),window.addEventListener("resize",a,{passive:!0}),i?.addEventListener("keydown",e=>{"Tab"===e.key&&!e.shiftKey&&r()&&(e.preventDefault(),o.focus())}),o.addEventListener("keydown",e=>{"Tab"===e.key&&r()&&(document.documentElement.classList.contains("has-modal-open")||(e.shiftKey?i&&(e.preventDefault(),i.focus()):(e.preventDefault(),n.focus())))}),n.addEventListener("keydown",e=>{if("Tab"===e.key&&r()&&!document.documentElement.classList.contains("has-modal-open"))if(e.preventDefault(),e.shiftKey)o.focus();else{const e=Array.from(document.querySelectorAll('a[href], button:not([disabled]), input, select, textarea, [tabindex]:not([tabindex="-1"])')).find(e=>null!==e.offsetParent&&!t.contains(e)&&!!(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING));e?.focus()}})})()})})();

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.