PageSourceSearch

https://whatsappbusiness.com/wp-content/themes/wab-theme/dist/js/m…/view-module.js?ver=e6b301e254a1317f0d35

js whatsappbusiness.com collected 2026-10-02 03:19:54 UTC 1,798 bytes, 1 lines download raw bytes

1import{getConfig as e,getContext as n,getElement as t,store as i}from"@wordpress/interactivity";const{childRegions:a=[],headroomOptions:o={},REGIONS:s}=e("tenup/site-header"),r=o?.offset?.down??300;let g=!1;const{state:l}=i("tenup/site-header",{actions:{toggleMobileNavigation(){const{expandedRegion:e}=l,{ref:n}=t(),i=!e;i&&(l.triggerElement=n),l.expandedRegion=i?s.MOBILE_NAVIGATION:null}},callbacks:{manageHeaderPin(){const{headroomInstance:e}=l;e&&(l.expandedRegion?(e.pin(),e.freeze(),window.scrollY>r&&(l.isCompact=!0)):(e.unfreeze(),c()),g||(g=!0,window.addEventListener("scroll",c,{passive:!0}),c()))}},state:{isCompact:!1,get isMegaMenuExpanded(){const e=n("tenup/navigation-megamenu");if(!e?.menuSlug)return!1;const{expandedRegion:t}=l;return t===e.menuSlug||!!t?.startsWith(`${e.menuSlug}--`)},get isMobileNavigationExpanded(){if(!l.isMobileNavigation)return!0;const e=n("tenup/navigation");if(!e.collapseOnMobile||!e.isInsideSiteHeader)return!0;const{expandedRegion:t}=l;return"mobile-navigation"===t||a.some(e=>t===e||t?.startsWith(`${e}--`))}}});function c(){if(l.headroomInstance?.frozen)return;const e=window.scrollY;!l.isCompact&&e>r?l.isCompact=!0:l.isCompact&&e<50&&(l.isCompact=!1)}i("tenup/navigation",{state:{get isSubmenuExpanded(){const e=n("tenup/navigation"),t=n("tenup/navigation-submenu"),{state:a}=i("tenup/navigation"),o=e.useSiteHeaderState?l:a,{expandedRegion:s}=o;return s===t.region||!!s?.startsWith(`${t.region}--`)}},callbacks:{manageScrollLock(){const e=n("tenup/navigation");if(!e.collapseOnMobile||!e.isInsideSiteHeader)return;const{ref:a}=t(),o=a?.closest(".wp-block-tenup-navigation__navigation-container"),s=o||a,{actions:r,state:g}=i("tenup/site-header");g.isMobileNavigationExpanded&&g.isMobileNavigation?r.disablePageScroll(s):r.enablePageScroll(s)}}});

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.