"use strict";(globalThis.blocksyJsonP=globalThis.blocksyJsonP||[]).push([[466],{466:function(n,t,o){o.r(t),o.d(t,{mount:function(){return c}});var s=o(601),e=o.n(s),r=o(577);const c=function(n){if(n.hasListener)return;n.hasListener=!0;const t=function(){var n=document.querySelector(".ct-back-to-top");n&&(window.scrollY>500?n.classList.add("ct-show"):n.classList.remove("ct-show"))};t(),e().on("ct:scroll:render-frame",(function(){t()})),n.addEventListener("click",(function(n){n.preventDefault();var t=window.scrollY,o=null;const s=function(n){o||(o=n);var e,r,c,i=n-o,a=Math.max((e=i,r=t,c=-t,(e/=350)<1?c/2*e*e+r:-c/2*(--e*(e-2)-1)+r),0);scrollTo(0,a),i<700&&requestAnimationFrame(s)};r.areWeDealingWithSafari?requestAnimationFrame(s):scrollTo(0,0)}))}}}]);
//# sourceMappingURL=466.41c76717f9171eac501f.js.map