PageSourceSearch

https://www.dot-see.com/modules/smoothAnchorScroll.js?id=19ee4ee3dd792fbc

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

1"use strict";(self.webpackChunkgrowcreateu9_web=self.webpackChunkgrowcreateu9_web||[]).push([[126],{314:(e,t,n)=>{function r(e,t){var n=[];if(!e.parentNode)return n;for(var r=e.parentNode.firstElementChild;r;)1===r.nodeType&&r!==e&&(t&&r.classList.contains(t)||!t)&&n.push(r),r=r.nextElementSibling;return n}function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;if(e.parentElement){for(var n=e,r=0;r<t;r++){var o=n.parentElement;1===o.nodeType&&(n=o)}return n}}function i(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:500;if(e)if(t){e.style.removeProperty("display");var r=window.getComputedStyle(e).display;"none"===r&&(r="block"),e.style.display=r;var o=e.offsetHeight;e.style.overflow="hidden",e.style.height=0,e.style.transitionProperty="height",e.style.transitionDuration=n+"ms",window.setTimeout((function(){e.style.height=o+"px"}),0)}else e.style.transitionProperty="height",e.style.transitionDuration=n+"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")}),n)}function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500;if(e)return"none"===window.getComputedStyle(e).display?i(e,!0,t):i(e,!1,t)}function l(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)}function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:600;e.style.opacity=0,e.style.display="";var n=+new Date,r=function r(){e.style.opacity=+e.style.opacity+(new Date-n)/t,n=+new Date,+e.style.opacity<1&&(window.requestAnimationFrame&&requestAnimationFrame(r)||setTimeout(r,16))};r()}function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:600;e.style.opacity=1;var n=+new Date,r=function r(){e.style.opacity=+e.style.opacity-(new Date-n)/t,n=+new Date,+e.style.opacity>0?window.requestAnimationFrame&&requestAnimationFrame(r)||setTimeout(r,16):e.style.display="none"};r()}function c(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=Date.now()+t;requestAnimationFrame(o);var o=function t(){var o=(r-Date.now())/16.6,i=e.getBoundingClientRect().top-n;i<=0||(console.log(i),o<=1?animate.scrollTop+=i:(animate.scrollTop+=Math.max(1,i/o),requestAnimationFrame(t)))}}n.d(t,{$5:()=>o,Cq:()=>r,DI:()=>u,Ov:()=>i,Uo:()=>s,Xu:()=>l,_J:()=>a,hB:()=>c})},658:(e,t,n)=>{n.r(t),n.d(t,{default:()=>c});var r,o=n(314);function i(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,l=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return l=e.done,e},e:function(e){s=!0,i=e},f:function(){try{l||null==n.return||n.return()}finally{if(s)throw i}}}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t,n){return t&&l(e.prototype,t),n&&l(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const c=s((function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),u(this,"anchors",document.querySelectorAll('a[href*="#"]:not([href="#"])')),u(this,"smoothAnchorScroll",(function(){var e,t=i(r.anchors);try{for(t.s();!(e=t.n()).done;){e.value.addEventListener("click",(function(){if(location.pathname.replace(/^\//,"")==this.pathname.replace(/^\//,"")&&location.hostname==this.hostname){var e=document.getElementById(this.hash.slice(1));if((e=e||document.querySelector("[name="+this.hash.slice(1)+"]")).length)return(0,o.hB)(e,1e3,-100),!1}}))}}catch(e){t.e(e)}finally{t.f()}})),(r=this).smoothAnchorScroll()}))}}]);

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.