PageSourceSearch

https://www.btcom.kz/wp-content/themes/Avada/assets/min/js/general…==7.16.1.pagespeed.jc.Hl0ag90rcr.js

js btcom.kz collected 2026-10-01 15:45:23 UTC 6,253 bytes, 4 lines download raw bytes

1var mod_pagespeed_Ar0THsXDa3 = "function avadaUpdateToTopPostion(){var o=avadaToTopVars.totop_position.split(\"_\");o=2===o.length?\"to-top-\"+o[0]+\" to-top-\"+o[1]:\"to-top-\"+o[0],jQuery(\".to-top-container\").attr(\"class\",\"to-top-container\"),jQuery(\".to-top-container\").addClass(o)}jQuery(document).ready((function(){var o=0,t=jQuery(\"html\").hasClass(\"ua-edge\")||jQuery(\"html\").hasClass(\"ua-safari-12\")||jQuery(\"html\").hasClass(\"ua-safari-11\")||jQuery(\"html\").hasClass(\"ua-safari-10\")?\"body\":\"html\";jQuery(\".fusion-top-top-link\").on(\"click\",(function(o){o.preventDefault();const e=jQuery(document).height()-jQuery(window).height(),n=jQuery(document).scrollTop()/e;(cssua.ua.mobile&&-1!==avadaToTopVars.status_totop.indexOf(\"mobile\")||!cssua.ua.mobile)&&(jQuery(t).on(\"scroll wheel mousedown keydown touchstart\",(function(){jQuery(t).stop()})),jQuery(t).animate({scrollTop:0},1500-500*n,\"easeInOutExpo\",(function(){jQuery(t).off(\"scroll mousedown wheel keydown touchstart\")})))})),jQuery(window).on(\"scroll\",(function(){var t=jQuery(this).scrollTop();200<t&&(t>=o||1!==parseInt(avadaToTopVars.totop_scroll_down_only))?jQuery(\".fusion-top-top-link\").addClass(\"fusion-to-top-active\"):jQuery(\".fusion-top-top-link\").removeClass(\"fusion-to-top-active\"),o=t})),jQuery(window).on(\"updateToTopPostion\",avadaUpdateToTopPostion)})),jQuery(document).ready((function(){jQuery.fn.toTopScrollProgress=function(){var o,t=jQuery(this);getMaxScroll=function(){return jQuery(document).height()-jQuery(window).height()},getWidthPercentage=function(){const t=jQuery(window).scrollTop();let e=Math.ceil(t/o*100);return 100<e?100:e},setWidthPercentage=function(){t.css(\"stroke-dashoffset\",166-166*getWidthPercentage()/100+\"px\")},o=getMaxScroll(),jQuery(document).on(\"scroll\",setWidthPercentage),jQuery(window).on(\"resize\",(function(){o=getMaxScroll(),setWi
1dthPercentage(),setTimeout((function(){o=getMaxScroll(),setWidthPercentage()}),700)}))},jQuery(\".awb-to-top-progress .awb-progress\").toTopScrollProgress()}));";
2var mod_pagespeed_f07Tn1wnBX = "function fusionDisableStickyHeader(){}function fusionInitStickyHeader(){}function getStickyHeaderHeight(i){return 0}function moveSideHeaderStylingDivs(){}function fusionSideHeaderScroll(){}";
3var mod_pagespeed_Qyqaou$lTC = "!function(t){\"use strict\";function s(t){return String(t).replace(/[\"\\\\]/g,\"\\\\$&\")}function e(s,i){this.processWithBind=t.proxy(this.process,this),this.$body=t(\"body\"),this.$scrollElement=t(s).is(\"body\")?t(window):t(s),this.options=t.extend({},e.DEFAULTS,i),this.selector=(this.options.target||\"\")+\" li > a\",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on(\"scroll.bs.scrollspy\",this.processWithBind),this.refresh(),this.process()}e.DEFAULTS={offset:10,currentItemClass:\"current-menu-item\"},e.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},e.prototype.refresh=function(){var s=this,e=\"offset\",i=0;\"undefined\"==typeof fusion||fusion.isWindow(this.$scrollElement[0])||(e=\"position\",i=this.$scrollElement.scrollTop()),this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),this.$body.find(this.selector).map((function(){var s=t(this),o=s.data(\"target\")||s.attr(\"href\"),r=/^#./.test(o)&&t(o);return r&&r.length&&r.is(\":visible\")&&[[r[e]().top+i,o]]||null})).sort((function(t,s){return t[0]-s[0]})).each((function(){s.offsets.push(this[0]),s.targets.push(this[1])}))},e.prototype.process=function(){var t,s,e,i=this.$scrollElement.scrollTop()+this.options.offset,o=this.getScrollHeight(),r=this.options.offset+o-this.$scrollElement.height(),l=this.activeTarget;if(this.scrollHeight!==o&&this.refresh(),t=this.offsets,(s=this.targets).length)if(i>=r)l!==(e=s[s.length-1])&&this.activate(e);else{if(l&&i<t[0])return this.activeTarget=null,void this.clear();for(e=t.length;e--;)l!==s[e]&&i>=t[e]&&(void 0===t[e+1]||i<=t[e+1])&&this.activate(s[e])}},e.prototype.activate=function(e){var i,o,r=this.options.currentItemClass,l=window.location.href.split(\"#\")[0],n=\"/\"===l.charAt(l.length-1)?l:l+\"/\",h=s(e);e&&(this.activeTarget=e,this.clear(),i=this.selector+'[data-target=\"'+h+'\"],'+this.selector+'[href=\"'+h+'\"],'+this.selector+'[href=\"'+s(n+e)+'\"]',(o=t(i).parents(\"li\").addClass(r)).parent(\".sub-menu\").length&&(o=o.closest(\"li.fusion-dropdown-menu\").addClass(r)),o.trigger(\"activate.bs.scrollspy\"),o&&t(this.selector).blur())},e.prototype.clear=function(){var s=this.options.currentItemClass;t(this.selector).parentsUntil(this.options.target,\".\"+s).removeClass(s),t(this.selector).parentsUntil(this.options.target,\".current-menu-parent\").removeClass(\"current-menu-parent\")},e.prototype.stopListening=function(){this.$scrollElement.off(\"scroll.bs.scrollspy\",this.processWithBind)},window.awbScrollSpy=e,t.fn.scrollspy=function(s){return this.each((function(){var i=t(this),o=i.data(\"bs.scrollspy\");o||(o=new e(this,\"object\"==typeof s&&s),i.data(\"bs.scrollspy\",o)),\"string\"==typeof s&&o[s]()}))},t.fn.scrollspy.Constructor=e,t(window).on(\"load.bs.scrollspy.data-api\",(function(){t('[data-spy=\"scroll\"]').each((function(){var s=t(this);s.scrollspy(s.data())}))}))}(jQuery);";
4var mod_pagespeed_$QCOqZDOzl = "function fusionGetScrollOffset(){var t,o=fusion.getAdminbarHeight(),e=\"function\"==typeof getStickyHeaderHeight?getStickyHeaderHeight():0,s=parseInt(o+e+1,10);return jQuery(\".fusion-tb-header\").length&&\"function\"==typeof fusionGetStickyOffset?(t=fusionGetStickyOffset())?t+1:o:s}jQuery(document).ready((function(){jQuery(\"body\").scrollspy({target:\".fusion-menu\",offset:fusionGetScrollOffset()}),jQuery(window).on(\"load fusion-sticky-change fusion-sticky-scroll-change\",(function(){\"object\"==typeof jQuery(\"body\").data()[\"bs.scrollspy\"]&&(jQuery(\"body\").data()[\"bs.scrollspy\"].options.offset=fusionGetScrollOffset())})),jQuery(window).on(\"fusion-sticky-transition-change\",(function(){setTimeout((function(){\"object\"==typeof jQuery(\"body\").data()[\"bs.scrollspy\"]&&(jQuery(\"body\").data()[\"bs.scrollspy\"].options.offset=fusionGetScrollOffset())}),300)}))}));";

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.