"use strict";(globalThis.blocksyJsonP=globalThis.blocksyJsonP||[]).push([[643],{5643(n,t,o){o.r(t),o.d(t,{mount:function(){return r}});o(2151);var i=o(691),e=o(6555),a=o(9680);let s="idle",l=null;const r=function(n){if(n.hasListener)return;n.hasListener=!0,(0,a.e)()&&(0,e.MK)(ct_localizations.dynamic_styles.back_to_top).then(function(){});const t=function(){var n=document.querySelector(".ct-back-to-top");if(n)if(window.scrollY>300){if("loaded"===s&&n.classList.add("ct-show"),"idle"===s){s="loading";const t=function(){n.removeAttribute("hidden"),s="loaded",n.classList.add("ct-show")};(0,a.e)()?t():(0,e.MK)(ct_localizations.dynamic_styles.back_to_top).then(function(){t()})}}else n.classList.remove("ct-show")},o=function(){null!==l&&window.scrollY===l||(l=window.scrollY,t()),requestAnimationFrame(o)};requestAnimationFrame(o),t(),n.addEventListener("click",function(n){n.preventDefault();var t=window.scrollY,o=null;const e=function(n){o||(o=n);var i=n-o;var a,s,l,r=Math.max((a=i,s=t,l=-t,(a/=700/2)<1?l/2*a*a+s:-l/2*(--a*(a-2)-1)+s),0);scrollTo(0,r),i<700&&requestAnimationFrame(e)};i.areWeDealingWithSafari?requestAnimationFrame(e):scrollTo(0,0)})}},9680(n,t,o){o.d(t,{e:function(){return i}});const i=function(){return"undefined"!=typeof window&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||"MacIntel"===window.navigator.platform&&window.navigator.maxTouchPoints>1)}}}]);