1/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */ 2(function($,Drupal,once,drupalSettings){var frame;var scrollTo=function(to,duration){var element=document.scrollingElement||document.documentElement,start=element.scrollTop,change=to-start,startTs=performance.now(),easeOutQuart=function(t,b,c,d){t/=d;t--;return -c*(t*t*t*t-1)+b;},animateScroll=function(ts){var currentTime=ts-startTs;element.scrollTop=parseInt(easeOutQuart(currentTime,start,change,duration));if(currentTime<duration)frame=requestAnimationFrame(animateScroll);else element.scrollTop=to;};requestAnimationFrame(animateScroll);};Drupal.behaviors.backtotop={attach:function(context,settings){let isMobile=window.matchMedia("only screen and (max-width: 760px)").matches;if(!(settings.back_to_top.back_to_top_prevent_on_mobile&&isMobile)){var exist=$('#backtotop').length;if(exist==0)$(once('backtotop','body'),context).each(function(){$('body').append("<nav aria-label='"+Drupal.t("Back to top")+"'><button id='backtotop' aria-label='"+Drupal.t("Back to top")+"'>"+settings.back_to_top.back_to_top_button_text+"</button></nav>");});}backToTop();$(document).on("scroll",function(){backToTop();});$(once('backtotop','#backtotop'),context).each(function(){$(this).on('click',function(){$("html, body").off("scroll.backtotop mousedown.backtotop DOMMouseScroll.backtotop mousewheel.backtotop keyup.backtotop");setTimeout(function(){$("html, body").on("scroll.backtotop mousedown.backtotop DOMMouseScroll.backtotop mousewheel.backtotop",function(){if(typeof frame!=='undefined')window.cancelAnimationFrame(frame);});$("html, body").on("keyup.backtotop",function(e){if(e.key==='Enter'||e.key===' '||e.keyCode===13||e.keyCode===32)return;if(typeof frame!=='undefined')window.cancelAnimationFrame(frame);});},0);var speed=settings.back_to_top.back_to_top_speed;if(speed==null)speed=1200;scrollTo(0,speed);});});function backToTop(){if($(window).scrollTop()>settings.back_to_top.back_to_top_button_trigger)$('#backtotop').fadeIn();else $('#backtotop').fadeOut();}}};})(jQuery,Drupal,once,drupalSettings);;
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.