PageSourceSearch

https://www.vanderbloemen.com/wp-content/themes/vanderbloemen-theme/public/js/app.cec170.js

js vanderbloemen.com collected 2026-10-02 04:24:16 UTC 4,486 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_roots_bud_sage=self.webpackChunk_roots_bud_sage||[]).push([[143],{
1"./styles/app.scss":function(){},jquery:function(e){e.exports=window.jQuery},
1"./scripts/app.js":function(e,t,s){var n=e=>{window.requestAnimationFrame((async function t(){document.body?await e():window.requestAnimationFrame(t)}))},a=s("jquery"),o=s("jquery");function c(e){const t=[...document.querySelectorAll("table")],s=()=>{t.forEach((t=>{const s=t.closest(".js-table-wrap");if(!s)return;const n=s.parentElement;e&&t.scrollWidth>n.clientWidth?s.classList.add("js-table-has-after"):s.classList.remove("js-table-has-after")}))};s();const n=t.map((t=>{const s=t.closest(".js-table-wrap");if(!s)return()=>{};const n=(e=>()=>{e.classList.toggle("js-table-has-scroll",e.scrollLeft>0)})(s);return e?s.addEventListener("scroll",n):(s.removeEventListener("scroll",n),s.classList.remove("js-table-has-scroll")),()=>s.removeEventListener("scroll",n)}));e||n.forEach((e=>e())),window.addEventListener("resize",s)}n((async()=>{a(document).on("click",".close-search, .btn-search a, .btn-search-mobile",(function(e){e.preventDefault();const t=a(".search-bar");t.toggle(),a(this).is(".btn-search a, .btn-search-mobile")&&t.find(".search-field").trigger("focus")})),o(".menu-item-has-children > a").on("click",(function(e){e.preventDefault();o(this).parent("li").toggleClass("active").siblings(".active").removeClass("active")})),o(document).on("click",(function(e){o(e.target).closest(".sub-menu, .nav-primary li > a, .search-bar, .btn-search, .nav-mobile li > a, .mobile-controls, .btn-search-mobile").length||(o(".menu-item.active").removeClass("active"),o(".search-bar").hide(),o(".nav-mobile").hide())})),o(".has-mega-menu").length&&(o(".mega-menu-holder .mega-menu").each((function(){const e=o(this).attr("id");o(`#${e}`).appendTo(`.${e}`)})),o(".has-mega-menu > a").on("click",(function(e){e.preventDefault();o(this).parent("li").toggleClass("active").siblings(".active").removeClass("active")}))),o(".mobile-nav-trigger").on("click",(function(e){e.preventDefault(),o(".nav-mobile").toggle()})),o(".nav-mobile-close").on("click",(function(e){e.preventDefault(),o(".nav-mobile").hide()})),o(".job-posting-feed .job-location-feed a").removeAttr("href"),o(".case-studies-feed .taxonomy-sector a").removeAttr("href"),o(".resources-feed .taxonomy-category a").removeAttr("href"),o(".job-location-feed").each((function(){!o(this).is(":empty")&&o(this).find(".wp-block-post-terms").length||o(this).hide()})),o(".wp-block-call-to-action .social-media").each((function(){o(this).find("a").length||o(this).hide()})),o(".single-job .e-content:not(:has(.wp-block-group))").addClass("only-classic-inner-elements"),o(".single-post .e-content:not(:has(.wp-block-group))").addClass("only-classic-inner-elements"),o(".single-case-study .e-content:not(:has(.wp-block-group))").addClass("only-classic-inner-elements"),o(".gfield_required.gfield_required_text").text("*");new URLSearchParams(window.location.search).forEach(((e,t)=>{const s=t.toLowerCase(),n=s.replace(/-/g,"_"),a=s.replace(/_/g,"-");if(s&&e){const t=document.querySelector(`[data-field-target="${a}"], [data-field-target="${n}"]`);if(t){if("SELECT"===t.tagName){const s=t.querySelector(`option[value="${e}"]`);if(s)s.selected=!0;else{const s=Array.from(t.options).find((t=>t.text.toLowerCase()===e.toLowerCase()));s&&(s.selected=!0)}}else"checkbox"===t.type||"radio"===t.type?t.value===e&&(t.checked=!0):t.value=e;o(t).trigger("change")}}}));const e=document.querySelector(".rating-block"),t=e?.querySelectorAll(".rating-block__btn")??[],s=document.querySelector(".rating-form"),n=document.querySelector(".rating-badges"),c=document.querySelectorAll(".js-back"),i=document.querySelector(".js-show-rating-form");function r(){s.classList.contains("js-d-none")||s.classList.add("js-d-none"),n.classList.contains("js-d-none")||n.classList.add("js-d-none"),e.classList.remove("js-d-none")}function l(){this.dataset.count<=3?s.classList.remove("js-d-none"):n.classList.remove("js-d-none"),e.classList.add("js-d-none")}t.length>0&&t.forEach((e=>{e.addEventListener("click",l)})),c.length>0&&c.forEach((e=>{e.addEventListener("click",r)})),i&&i.addEventListener("click",(function(){s.classList.remove("js-d-none"),n.classList.add("js-d-none")}))}));const i=window.matchMedia("(max-width:1279px)");i.addEventListener("change",(e=>c(e.matches))),c(i.matches)}
1},function(e){var t=function(t){return e(e.s=t)};t("./scripts/app.js"),t("./styles/app.scss")}]);

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.