1showViewedItems=function(lastViewedTime,bShowMeasure,$viewedSlider){if($viewedSlider.length){var bCookieJson=$.cookie.json;$.cookie.json=!0;var arViewedLocal={},arViewedCookie={};try{if(void 0!==BX.localStorage){var localKey="MAX_VIEWED_ITEMS_"+BX.message("SITE_ID"),cookieParams={path:"/",expires:30};arViewedLocal=BX.localStorage.get(localKey)?BX.localStorage.get(localKey):{},arViewedCookie=$.cookie(localKey)?$.cookie(localKey):{};var empty='<div class="block-item bordered rounded3"><div class="item_wrap item block-item__wrapper"></div></div>';for(var itemKey in arViewedCookie)null==arViewedLocal[itemKey]&&($viewedSlider.find("div[data-id="+itemKey+"]").closest(".block-item").remove(),$viewedSlider.closest(".block-items").append(empty));for(var PRODUCT_ID in arViewedLocal){var $item=$viewedSlider.find("div[data-id="+PRODUCT_ID+"]");if($item.length){var item=arViewedLocal[PRODUCT_ID],picture=void 0!==$item.attr("data-picture")?JSON.parse($item.attr("data-picture")):{ID:!1,SRC:BX.message("SITE_TEMPLATE_PATH")+"/images/svg/noimage_product.svg",ALT:item.NAME,TITLE:item.NAME},bIsOffer=void 0!==item.IS_OFFER&&"Y"===item.IS_OFFER,bWithOffers=void 0!==item.WITH_OFFERS&&"Y"===item.WITH_OFFERS,bShowEmptyPrice="N"!==$viewedEmptyPriceText&&(!item.MIN_PRICE||"0"===item.MIN_PRICE.VALUE),hidePriceBlock="N"!==sMissingGoodsPriceDisplay||!item.MIN_PRICE||"0"!==item.MIN_PRICE.VALUE;$item.html('<div class="block-item__inner flexbox flexbox--row"><div class="block-item__image block-item__image--wh90"><a href="'+item.DETAIL_PAGE_URL+'" class="thumb"><img border="0" src="'+picture.SRC+'" alt="'+(picture.ALT.length?picture.ALT:item.NAME)+'" title="'+(picture.TITLE.length?picture.TITLE:item.NAME)+'" /></a></div><div class="block-item__info item_info"><div class="block-item__title"><a class="dark-color font_xs" href="'+item.DETAIL_PAGE_URL+'"><span>'+item.NAME+"</span></a></div>"+(hidePriceBlock?'<div class="block-item__cost cost prices clearfix font_sm">'+(bShowEmptyPrice?'<div class="price only_price">'+$viewedEmptyPriceText+"</div>":item.MIN_PRICE&&void 0!==item.MIN_PRICE.PRINT_DISCOUNT_VALUE?(item.MIN_PRICE.VALUE,item.MIN_PRICE.DISCOUNT_VALUE,'<div class="price only_price">'+(bWithOffers?BX.message("CATALOG_FROM_VIEWED")+" ":"")+item.MIN_PRICE.PRINT_DISCOUNT_VALUE+(bShowMeasure&&!bWithOffers&&item.CATALOG_MEASURE_NAME.length?"/"+item.CATALOG_MEASURE_NAME:"")+"</div>"):"")+"</div>":"")+("Y"===bShowBonusViewed?'<div class="bonus-system-block lb_bonus lb_bonus_viewed lb_ajax_'+item.PRODUCT_ID+'" data-item="'+item.PRODUCT_ID+'"></div>':"")+"</div></div>")}else{var ACTIVE_FROM=void 0!==arViewedLocal[PRODUCT_ID].ACTIVE_FROM?arViewedLocal[PRODUCT_ID].ACTIVE_FROM:void 0!==arViewedCookie[PRODUCT_ID]&&arViewedCookie[PRODUCT_ID][0];if(!ACTIVE_FROM||ACTIVE_FROM<lastViewedTime){var _arViewedLocal=BX.localStorage.get(localKey)?BX.localStorage.get(localKey):{},_arViewedCookie=$.cookie(localKey)?$.cookie(localKey):{};delete _arViewedLocal[PRODUCT_ID],delete _arViewedCookie[PRODUCT_ID],BX.localStorage.set(localKey,_arViewedLocal,2592e3),$.cookie(localKey,_arViewedCookie,cookieParams)}}}}$viewedSlider.find(">.item").each((function(){var PRODUCT_ID=void 0!==$(this).attr("data-id")&&$(this).attr("data-id");PRODUCT_ID&&void 0===arViewedLocal[PRODUCT_ID]&&$(this).removeClass("has-item").find(">.block-item__inner").remove()})),$viewedSlider.find(">.item.has-item").length||$viewedSlider.closest(".viewed-wrapper").remove()}catch(e){console.error(e)}finally{$.cookie.json=bCookieJson}}},void 0!==window.frameCacheVars&&BX.addCustomEvent("onFrameDataReceived",(function(json){InitOwlSlider()}));
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.