PageSourceSearch

https://woocommerce.com/wp-content/themes/woo/dist/dom-manipulatio…=b58a3deaff6bd364111c055a04eb005148a7033e

js woocommerce.com collected 2026-09-24 07:55:51 UTC 3,912 bytes, 1 lines download raw bytes

1"use strict";(globalThis.webpackChunkwoo_commerce_com=globalThis.webpackChunkwoo_commerce_com||[]).push([[4315],{4934(e,t,o){var c=o(2470),a=o(2697),s=o(8221),n=o.n(s);!function(){let e,t,o,s;const i=n()(g),r=n()(d);function l(){const o=document.querySelector(".blog-heading-modal");o.classList.add("show"),e.classList.add("no-scroll",o.classList.contains("show")),document.querySelector(".blog-heading-modal__close").focus(),window.addEventListener("resize",r),t.activate()}function d(){const o=document.querySelector(".blog-heading-modal");o.classList.remove("show"),e.classList.remove("no-scroll",o.classList.contains("show")),document.querySelector(".blog-heading__mobile-search-button").focus(),window.removeEventListener("resize",r),t&&t.deactivate()}function u(){const t=document.querySelector(".wccom-blog-categories__sub-nav"),a=document.querySelector(".wccom-blog-categories--featured-categories"),n=document.querySelector(".blog-heading--desktop-search"),r=document.querySelector(".wccom-blog-categories__all-categories i"),l=document.querySelector(".wccom-blog-categories__all-categories-button");if(t.classList.add("wccom-blog-categories__sub-nav--show"),r.classList.add("rotate"),e.classList.add("wccom-blog-overlay"),l.setAttribute("aria-expanded","true"),wp.a11y.speak((0,c.__)("Blog categories menu expanded","wccom")),window.addEventListener("resize",i),t.classList.contains("wccom-blog-categories__sub-nav--show")){const e=t.getBoundingClientRect(),c=16,i=window.innerHeight,r=t=>{const{bottom:o}=t.getBoundingClientRect(),a=i-o,s=e.height+c,n=Math.max(0,s-a);if(0<n){const e=window.matchMedia("(prefers-reduced-motion: reduce)")?.matches;window.scrollBy({top:n,behavior:e?"auto":"smooth"})}};a&&(r(a),o.activate()),n&&(r(n),s.activate())}}function g(){const t=document.querySelector(".wccom-blog-categories__sub-nav"),a=document.querySelector(".wccom-blog-categories__all-categories i"),n=document.querySelector(".wccom-blog-categories__all-categories-button");t.classList.remove("wccom-blog-categories__sub-nav--show"),a.classList.remove("rotate"),e.classList.remove("wccom-blog-overlay"),window.removeEventListener("resize",i),n.setAttribute("aria-expanded","false"),wp.a11y.speak((0,c.__)("Blog categories menu collapsed","wccom")),o&&o.deactivate(),s&&s.deactivate()}function m(){e=document.querySelector("body"),t=a.createFocusTrap(".blog-heading-modal",{escapeDeactivates:!0,onDeactivate:()=>{d()},clickOutsideDeactivates:!0}),s=a.createFocusTrap(".blog-heading-trap-focus",{escapeDeactivates:!0,onDeactivate:()=>{g()}}),o=a.createFocusTrap(".featured-categories-trap-focus",{escapeDeactivates:!0,onDeactivate:()=>{g()}}),document.querySelector(".wccom-blog-categories__all-categories-button").addEventListener("click",(function(){document.querySelector(".wccom-blog-categories__sub-nav").classList.contains("wccom-blog-categories__sub-nav--show")?g():(document.querySelector(".wccom-blog-categories__sub-nav").parentElement.classList.add("is-about-to-show"),setTimeout(u,0))})),document.querySelector(".wccom-blog-categories__sub-nav-overlay").addEventListener("click",g),document.querySelector(".blog-heading__mobile-search-button").addEventListener("click",l),document.querySelector(".wccom-comp-header ").addEventListener("click",d),document.querySelector(".blog-heading-modal__close").addEventListener("click",d),document.querySelector(".wccom-blog-categories__sub-nav").addEventListener("transitionend",(function(e){e.target.classList.remove("is-transitioning"),e.target.classList.contains("wccom-blog-categories__sub-nav--show")||e.target.parentElement.classList.remove("is-about-to-show")})),document.querySelector(".wccom-blog-categories__sub-nav").addEventListener("transitionstart",(function(e){e.target.classList.add("is-transitioning")}))}"loading"!==document.readyState?m():document.addEventListener("DOMContentLoaded",m)}()}},e=>{e.O(0,[2397],(()=>e(e.s=4934))),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.