PageSourceSearch

https://petra.by/bitrix/templates/aspro_max/js/tabs_history.min.js?16686795261438

js petra.by collected 2026-10-04 08:34:32 UTC 1,438 bytes, 2 lines download raw bytes

1function tabsHistory(){$("a.linked").on("shown.bs.tab",(function(e){var hashLink=$(this).attr("href").replace("#","");$(this).closest(".ordered-block").find(".tab-pane").removeClass("cur"),$("#"+hashLink).addClass("cur")})),$('a[data-toggle="tab"]:not(.linked)').on("shown.bs.tab",(function(e){var _this=$(e.target),parent=_this.parent();if(_this.attr("href")&&history.pushState({},"",_this.attr("href")),_this.closest(".product-item-detail-tabs-list").length&&$(".ordered-block .tabs").length){var content_offset=$(".ordered-block .tabs").offset(),tab_height=$(".product-item-detail-tabs-container-fixed").actual("outerHeight"),hfixed_height=$("#headerfixed").actual("outerHeight");$("html, body").animate({scrollTop:content_offset.top-88},400),"undefined"!=typeof initReviewsGallery&&initReviewsGallery(_this)}"#stores"===_this.attr("href")&&$(".stores_tab").length&&"undefined"!=typeof map&&(map.container.fitToViewport(),"undefined"==typeof clusterer||$(".stores_tab").find(".detail_items").is(":visible")||map.setBounds(clusterer.getBounds(),{zoomMargin:40})),"#reviews"===_this.attr("href")&&$(".tab-pane.reviews").length&&"undefined"!=typeof initReviewsGallery&&initReviewsGallery(_this),$(".nav.nav-tabs li").each((function(){var _this=$(this);_this.find(" > a.linked").length||(_this.removeClass("active"),_this.index()==parent.index()&&_this.addClass("active"))})),InitLazyLoad()}))}
2//# sourceMappingURL=tabs_history.min.js.map

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.