PageSourceSearch

https://stubetegaeng.ch/cdn/shop/t/2/assets/z__jsRecommendedProducts.js?v=57157900730003274731623671131

js stubetegaeng.ch collected 2026-10-07 00:11:42 UTC 2,984 bytes, 2 lines download raw bytes

1"use strict";Shopify.theme.jsRecommendedProducts={init:function($section){Shopify.theme.jsRecommendedProducts=$.extend(this,Shopify.theme.getSectionData($section));var $productRecommendations=$section.find(".product-recommendations"),$productRecommendationsContainer=$("[data-product-recommendations-container]"),$productRecommendationsBlock=$productRecommendationsContainer.closest(".block__recommended-products");if(this.show_product_recommendations===!1){$productRecommendationsBlock.hide();return}$(".recommended-products-section").show(),$productRecommendationsBlock.show();var productId=$productRecommendations[0].dataset.productId,limit=$productRecommendations[0].dataset.limit,sectionEnabled=$productRecommendations[0].dataset.enabled;if(this.show_custom_collection){this.showCustomCollection($section);return}var defaultLang=$("body").data("default-lang"),currentLang=$("body").data("current-lang"),shopURL=$("body").data("shop-url");defaultLang!=currentLang&&(shopURL="".concat(shopURL,"/").concat(currentLang));var requestUrl="".concat(shopURL,"/recommendations/products?section_id=product__recommendations&limit=").concat(limit,"&product_id=").concat(productId),request=new XMLHttpRequest;request.open("GET",requestUrl),request.onload=function(){if(request.status>=200&&request.status<300){if(!sectionEnabled){$productRecommendationsContainer.empty();return}var $recommendedProductsElement=$(request.response).find(".product-recommendations").html();$productRecommendationsContainer.html($recommendedProductsElement),$(".recommended-products-section").hide(),Shopify.theme.jsProduct.relatedProducts();var $product=$productRecommendationsContainer.find(".thumbnail");$product.length===0&&$productRecommendationsBlock.hide(),Currency.show_multiple_currencies&&Shopify.theme.currencyConverter.convertCurrencies()}},request.send()},setupRecommendedVideoPlayer:function($section){var videosInRecommendedProducts=$section.find("[data-product-recommendations-container] [data-html5-video] video, [data-product-recommendations-container] [data-youtube-video]").get();if(videosInRecommendedProducts.length>0)if(videosInRecommendedProductsPlayer=Plyr.setup(videosInRecommendedProducts,{controls:videoControls,fullscreen:{enabled:!0,fallback:!0,iosNative:!0},storage:{enabled:!1}}),videoPlayers!==null){var combinedArray=videoPlayers.concat(videosInRecommendedProductsPlayer);videoPlayers=combinedArray}else videoPlayers=videosInRecommendedProductsPlayer;Shopify.theme.jsVideo.setupListeners()},showCustomCollection:function($section){var $recommendedProductsElement=$section.find(".product-recommendations").html(),$productRecommendationsContainer=$("[data-product-recommendations-container]");$productRecommendationsContainer.html($recommendedProductsElement),$(".recommended-products-section").hide(),Shopify.theme.jsProduct.relatedProducts()},unload:function($section){}};
2//# sourceMappingURL=/cdn/shop/t/2/assets/z__jsRecommendedProducts.js.map?v=57157900730003274731623671131

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.