PageSourceSearch

https://www.dot-see.com/modules/navigation.js?id=cb990770f04851ec

js dot-see.com collected 2026-10-04 13:27:13 UTC 7,785 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkgrowcreateu9_web=self.webpackChunkgrowcreateu9_web||[]).push([[583],{843:(e,t,o)=>{o.r(t),o.d(t,{default:()=>l});var n,i=o(314);function r(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function a(e,t,o){return t&&r(e.prototype,t),o&&r(e,o),Object.defineProperty(e,"prototype",{writable:!1}),e}function s(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}const l=a((function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),s(this,"menuTransition",!1),s(this,"toggle",document.querySelector(".js-navigation-toggle")),s(this,"header",document.querySelector(".js-header")),s(this,"navScrollTogglePoint",0),s(this,"navHeight",0),s(this,"hoverTimeout",null),s(this,"hoverTimeoutTarget",null),s(this,"resetMobileNav",(function(){document.querySelectorAll("a.js-toggle-submenu.active").forEach((function(e){e.classList.remove("active"),(0,i.Cq)(e,"js-sub-menu-container").forEach((function(e){(0,i.Ov)(e.querySelector(".js-sub-menu"),!1,220)}))}))})),s(this,"closeNav",(function(){document.querySelector("body").classList.remove("nav-open"),n.toggle.classList.remove("active"),n.toggle.setAttribute("aria-expanded","false"),n.resetMobileNav()})),s(this,"openNav",(function(){document.querySelector("body").classList.add("nav-open"),n.toggle.classList.add("active"),n.toggle.setAttribute("aria-expanded","true")})),s(this,"stickyHeader",(function(){var e=window.scrollY;e>n.NavScrollTogglePoint?n.header.classList.add("header--scrolled"):n.header.classList.remove("header--scrolled"),(0,i.Xu)(n.toggle)||(e>n.NavScrollTogglePoint?n.header.style.paddingBottom=n.NavHeight+"px":n.header.style.paddingBottom=0)})),s(this,"setupStickyHeader",(function(){n.NavScrollTogglePoint=10;var e=document.querySelector(".js-navigation");n.NavHeight=e.offsetHeight,window.addEventListener("resize",(function(){var t=n.header.classList.contains("header--scrolled");t&&n.header.classList.remove("header--scrolled"),n.NavScrollTogglePoint=10,n.NavHeight=e.offsetHeight,t&&n.header.classList.add("header--scrolled");var o=window.scrollY;(0,i.Xu)(n.toggle)?n.header.style.paddingBottom=0:o>n.NavScrollTogglePoint?n.header.style.paddingBottom=n.NavHeight+"px":n.header.style.paddingBottom=0})),window.addEventListener("scroll",n.stickyHeader),n.stickyHeader()})),s(this,"openItem",(function(e){window.outerWidth>991&&(e.classList.add("hover"),n.hoverTimeout&&window.clearTimeout(n.hoverTimeout),n.hoverTimeoutTarget&&e!==n.hoverTimeoutTarget&&n.hoverTimeoutTarget.classList.remove("hover"))})),s(this,"closeItem",(function(e){window.outerWidth>991&&(n.hoverTimeoutTarget=e,n.hoverTimeout=window.setTimeout((function(){e.classList.remove("hover")}),150))})),s(this,"setupNavigation",(function(){n.toggle.addEventListener("click",(function(){document.querySelector("body").classList.contains("nav-open")?n.closeNav():n.openNav()})),document.querySelectorAll("a.js-toggle-submenu").forEach((function(e){e.addEventListener("click",(function(e){if(e.stopPropagation(),(0,i.Xu)(n.toggle)){var t=!1;if((0,i.$5)(e.currentTarget,2).classList.contains("js-top-level")){var o=(0,i.$5)(e.currentTarget,1);(0,i.Cq)(o,"nav-item").forEach((function(e){e.querySelectorAll(".js-sub-menu-container").forEach((function(e){e.style.height="auto"}))})),t=!0}if(e.preventDefault(),document.querySelectorAll("a.js-toggle-submenu.active").forEach((function(t){t!==e.currentTarget&&(t.classList.remove("active"),(0,i.Cq)(t,"js-sub-menu-container").forEach((function(e){(0,i.Ov)(e.querySelector(".js-sub-menu"),!1,220)})))})),(0,i.Cq)(e.currentTarget,"js-sub-menu-container").forEach((function(e){(0,i._J)(e.querySelector(".js-sub-menu"),220)})),e.currentTarget.classList.toggle("active"),!t){var r=(0,i.$5)(e.currentTarget,2);r.style.height="auto",window.setTimeout((function(){r.style.height=r.offsetHeight+"px"}),221)}}}))})),document.querySelectorAll("li.js-nav-item-has-children").forEach((function(e){e.addEventListener("click",(function(e){if(e.stopPropagation(),e.currentTarget.classList.contains("active")){var t=(0,i.$5)(e.currentTarget,1);(0,i.$5)(e.currentTarget,3).style.height=t.offsetHeight}else(0,i.$5)(e.currentTarget,3).style.height="auto"})),e.addEventListener("mouseenter",(function(e){n.openItem(e.target)})),e.addEventListener("focusin",(function(e){n.openItem(e.target.closest(".
1js-nav-item-has-children"))})),e.addEventListener("mouseleave",(function(e){n.closeItem(e.target)})),e.addEventListener("focusout",(function(e){var t=e.target.closest(".js-nav-item-has-children");t.querySelectorAll(":focus").length||n.closeItem(t)}))})),window.addEventListener("click",(function(){n.closeNav()})),document.querySelector("#header").addEventListener("click",(function(e){(0,i.$5)(e.currentTarget,1).classList.contains("js-toggle-submenu")||e.stopPropagation()})),window.addEventListener("resize",(function(){(0,i.Xu)(n.toggle)?document.querySelectorAll(".nav-item").forEach((function(e){e.classList.remove("active")})):(n.closeNav(),document.querySelectorAll(".js-sub-menu").forEach((function(e){e.style.display=null,e.style.height="auto"})),document.querySelectorAll(".js-toggle-submenu").forEach((function(e){e.classList.remove("active")})))})),n.setupStickyHeader()})),(n=this).setupNavigation()}))},314:(e,t,o)=>{function n(e,t){var o=[];if(!e.parentNode)return o;for(var n=e.parentNode.firstElementChild;n;)1===n.nodeType&&n!==e&&(t&&n.classList.contains(t)||!t)&&o.push(n),n=n.nextElementSibling;return o}function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;if(e.parentElement){for(var o=e,n=0;n<t;n++){var i=o.parentElement;1===i.nodeType&&(o=i)}return o}}function r(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:500;if(e)if(t){e.style.removeProperty("display");var n=window.getComputedStyle(e).display;"none"===n&&(n="block"),e.style.display=n;var i=e.offsetHeight;e.style.overflow="hidden",e.style.height=0,e.style.transitionProperty="height",e.style.transitionDuration=o+"ms",window.setTimeout((function(){e.style.height=i+"px"}),0)}else e.style.transitionProperty="height",e.style.transitionDuration=o+"ms",e.style.height=0,e.style.overflow="hidden",window.setTimeout((function(){e.style.display="none",e.style.removeProperty("height"),e.style.removeProperty("overflow"),e.style.removeProperty("transition-duration"),e.style.removeProperty("transition-property")}),o)}function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500;if(e)return"none"===window.getComputedStyle(e).display?r(e,!0,t):r(e,!1,t)}function s(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)}function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:600;e.style.opacity=0,e.style.display="";var o=+new Date,n=function n(){e.style.opacity=+e.style.opacity+(new Date-o)/t,o=+new Date,+e.style.opacity<1&&(window.requestAnimationFrame&&requestAnimationFrame(n)||setTimeout(n,16))};n()}function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:600;e.style.opacity=1;var o=+new Date,n=function n(){e.style.opacity=+e.style.opacity-(new Date-o)/t,o=+new Date,+e.style.opacity>0?window.requestAnimationFrame&&requestAnimationFrame(n)||setTimeout(n,16):e.style.display="none"};n()}function u(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=Date.now()+t;requestAnimationFrame(i);var i=function t(){var i=(n-Date.now())/16.6,r=e.getBoundingClientRect().top-o;r<=0||(console.log(r),i<=1?animate.scrollTop+=r:(animate.scrollTop+=Math.max(1,r/i),requestAnimationFrame(t)))}}o.d(t,{$5:()=>i,Cq:()=>n,DI:()=>c,Ov:()=>r,Uo:()=>l,Xu:()=>s,_J:()=>a,hB:()=>u})}}]);

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.