PageSourceSearch

https://www.primitivehomedecors.com/cdn/shop/t/9/assets/bc-sf-filter.js?v=82128417152741040151605588624

js primitivehomedecors.com collected 2026-09-26 21:28:17 UTC 20,677 bytes, 2 lines download raw bytes

1var bcSfFilterSettings={general:{limit:bcSfFilterConfig.custom.products_per_page,loadProductFirst:!0,styleScrollToTop:"style2",numberFilterTree:2}},bcSfFilterTemplate={saleLabel:'<div class="on-sale">'+bcSfFilterConfig.label.sale+"</div>",soldOutLabel:'<div class="sold-out">'+bcSfFilterConfig.label.sold_out+"</div>",productGridItemHtml:'<div class="col-md-'+bcSfFilterConfig.custom.grid_item_width+' col-xs-6 element mb30"><div class="main_box"><div class="box_1">{{itemSaleLabel}}{{itemSoldOutLabel}}<div class="product-image"><a href="{{itemUrl}}"><img src="{{itemThumbUrl}}" alt="{{itemTitle}}"></a></div></div><div class="desc"><h5><a href="{{itemUrl}}">{{itemTitle}}</a></h5>{{itemProductType}}<div class="price">{{itemPrice}}</div></div></div></div>',productListItemHtml:'<div class="collection-list"><div class="main_box"><div class="box_1"><div class="col-sm-4"><div class="list-image"><a href="{{itemUrl}}"><img src="{{itemThumbUrl}}" alt="{{itemTitle}}" class="img-responsive"></a></div></div><div class="col-sm-8"><div class="product-details">{{itemSaleLabel}}{{itemSoldOutLabel}}<h2><a href="{{itemUrl}}">{{itemTitle}}</a></h2>{{itemProductType}}<p>{{itemDescription}}</p><div class="price">{{itemPrice}}</div>{{itemAction}}</div></div></div></div></div>',previousActiveHtml:'<a href="{{itemUrl}}" class="prev"><span class="fa fa-chevron-left"></span>Previous</a>',previousDisabledHtml:'<a href="" class="prev disabled"><span class="fa fa-chevron-left"></span>Previous</a>',nextActiveHtml:'<a href="{{itemUrl}}" title="Next \xBB" class="next">Next<span class="fa fa-chevron-right"></span></a>',nextDisabledHtml:'<a href="" title="Next \xBB" class="next disabled">Next<span class="fa fa-chevron-right"></span></a>',pageItemHtml:'<li><a href="{{itemUrl}}" title="">{{itemTitle}}</a></li>',pageItemSelectedHtml:'<li class="active"><a>{{itemTitle}}</a></li>',pageItemRemainHtml:"<li><a href>{{itemTitle}}</a></li>",paginateHtml:"{{previous}}<ul>{{pageItems}}</ul>{{next}}",sortingHtml:"<span>"+bcSfFilterConfig.label.sorting+':</span><div class="select_box sel_2"><select name="sortBy" id="sortBy" class="form-control">{{sortingItems}}</select></div>'};BCSfFilter.prototype.buildProductGridItem=function(data){var images=data.images_info,soldOut=!data.available,onSale=data.compare_at_price_min>data.price_min,priceVaries=data.price_min!=data.price_max,firstVariant=data.variants[0];if(getParam("variant")!==null&&getParam("variant")!=""){var paramVariant=data.variants.filter(function(e){return e.id==getParam("variant")});typeof paramVariant[0]!="undefined"&&(firstVariant=paramVariant[0])}else for(var i=0;i<data.variants.length;i++)if(data.variants[i].available){firstVariant=data.variants[i];break}var itemHtml=bcSfFilterTemplate.productGridItemHtml,itemSaleLabel=onSale?bcSfFilterTemplate.saleLabel:"";itemHtml=itemHtml.replace(/{{itemSaleLabel}}/g,itemSaleLabel);var itemSoldOutLabel=soldOut?bcSfFilterTemplate.soldOutLabel:"";itemHtml=itemHtml.replace(/{{itemSoldOutLabel}}/g,itemSoldOutLabel);var itemThumbUrl=images.length>0?this.optimizeImage(images[0].src,"800x"):bcSfFilterConfig.general.no_image_url;itemHtml=itemHtml.replace(/{{itemThumbUrl}}/g,itemThumbUrl);var itemPriceHtml="";priceVaries&&(itemPriceHtml+=bcSfFilterConfig.label.from_price+" "),itemPriceHtml+=this.formatMoney(data.price_min,this.moneyFormat),onSale&&(itemPriceHtml+='<span class="compare-price">'+this.formatMoney(data.compare_at_price_min,this.moneyFormat)+"</span>"),itemHtml=itemHtml.replace(/{{itemPrice}}/g,itemPriceHtml);var itemProductTypeHtml=bcSfFilterConfig.custom.show_grid_type?"<p>"+data.product_type+"</p>":"";return itemHtml=itemHtml.replace(/{{itemProductType}}/g,itemProductTypeHtml),itemHtml=itemHtml.replace(/{{itemId}}/g,data.id),itemHtml=itemHtml.replace(/{{itemHtml}}/g,data.handle),itemHtml=itemHtml.replace(/{{itemTitle}}/g,data.title),itemHtml=itemHtml.replace(/{{itemUrl}}/g,this.buildProductItemUrl(data)),itemHtml},BCSfFilter.prototype.buildProductListItem=function(data){var images=data.images_info,soldOut=!data.available,onSale=data.compare_at_price_min>data.price_min,priceVaries=data.price_min!=data.price_max,firstVariant=data.variants[0];if(getParam("variant")!==null&&getParam("variant")!=""){var paramVariant=data.variants.filter(function(e){return e.id==getParam("variant")});typeof paramVariant[0]!="undefined"&&(firstVariant=paramVariant[0])}else for(var i=0;i<data.variants.length;i++)if(data.variants[i].available){firstVariant=data.variants[i];break}var itemHtml=bcSfFilterTemplate.productListItemHtml,firstVariant=data.variants[0];if(getParam("variant")!==null&&getParam("variant")!=""){var paramVariant=data.variants.filter(function(e){return e.id==getParam("variant")});typeof paramVariant[0]!="undefined"&&(firstVariant=paramVariant[0])}var itemSaleLabel=onSale?bcSfFilterTemplate.saleLabel:"";itemHtml=itemHtml.replace(/{{itemSaleLabel}}/g,itemSaleLabel);var itemSoldOutLabel=soldOut?bcSfFilterTemplate.itemSoldOutLabel:"";itemHtml=itemHtml.replace(/{{itemSoldOutLabel}}/g,itemSoldOutLabel);var itemThumbUrl=images.length>0?this.optimizeImage(images[0].src):bcSfFilterConfig.general.no_image_url;itemHtml=itemHtml.replace(/{{itemThumbUrl}}/g,itemThumbUrl);var itemProductTypeHtml=bcSfFilterConfig.custom.show_grid_type?"<p>"+data.product_type+"</p>":"";itemHtml=itemHtml.replace(/{{itemProductType}}/g,itemProductTypeHtml);var itemDescription=jQ("<p>"+data.body_html+"</p>").text();itemDescription=itemDescription.split(" ").length>31?itemDescription.split(" ").splice(0,31).join(" ")+"...":itemDescription.split(" ").splice(0,31).join(" "),itemHtml=itemHtml.replace(/{{itemDescription}}/g,itemDescription);var itemPriceHtml="";priceVaries&&(itemPriceHtml+=bcSfFilterConfig.label.from_price+" "),itemPriceHtml+=this.formatMoney(data.price_min,this.moneyFormat),onSale&&(itemPriceHtml+='<sp
1an class="compare-price">'+this.formatMoney(data.compare_at_price_min,this.moneyFormat)+"</span>"),itemHtml=itemHtml.replace(/{{itemPrice}}/g,itemPriceHtml);var itemActionHtml='<form method="post" action="/cart/add">';return itemActionHtml+='<input type="hidden" name="id" value="'+firstVariant.id+'" />',!soldOut&&data.variants.length==1?(itemActionHtml+='<input type="submit" value="'+bcSfFilterConfig.label.add_to_cart+'" class="btn_c" />',itemActionHtml+='<a href="{{itemUrl}}" class="btn_c info_btn">'+bcSfFilterConfig.label.more_info+"</a>"):itemActionHtml+='<a href="{{itemUrl}}" class="btn_c">'+bcSfFilterConfig.label.more_info+"</a>",itemActionHtml+="</form>",itemHtml=itemHtml.replace(/{{itemAction}}/g,itemActionHtml),itemHtml=itemHtml.replace(/{{itemId}}/g,data.id),itemHtml=itemHtml.replace(/{{itemHandle}}/g,data.handle),itemHtml=itemHtml.replace(/{{itemTitle}}/g,data.title),itemHtml=itemHtml.replace(/{{itemUrl}}/g,this.buildProductItemUrl(data)),itemHtml},BCSfFilter.prototype.buildPagination=function(totalProduct){var currentPage=parseInt(this.queryParams.page),totalPage=Math.ceil(totalProduct/this.queryParams.limit);if(totalPage==1)return jQ(this.selector.pagination).html(""),!1;if(this.getSettingValue("general.paginationType")=="default"){var paginationHtml=bcSfFilterTemplate.paginateHtml,previousHtml=currentPage>1?bcSfFilterTemplate.previousActiveHtml:bcSfFilterTemplate.previousDisabledHtml;previousHtml=previousHtml.replace(/{{itemUrl}}/g,this.buildToolbarLink("page",currentPage,currentPage-1)),paginationHtml=paginationHtml.replace(/{{previous}}/g,previousHtml);var nextHtml=currentPage<totalPage?bcSfFilterTemplate.nextActiveHtml:bcSfFilterTemplate.nextDisabledHtml;nextHtml=nextHtml.replace(/{{itemUrl}}/g,this.buildToolbarLink("page",currentPage,currentPage+1)),paginationHtml=paginationHtml.replace(/{{next}}/g,nextHtml);for(var beforeCurrentPageArr=[],iBefore=currentPage-1;iBefore>currentPage-3&&iBefore>0;iBefore--)beforeCurrentPageArr.unshift(iBefore);currentPage-4>0&&beforeCurrentPageArr.unshift("..."),currentPage-4>=0&&beforeCurrentPageArr.unshift(1),beforeCurrentPageArr.push(currentPage);for(var afterCurrentPageArr=[],iAfter=currentPage+1;iAfter<currentPage+3&&iAfter<=totalPage;iAfter++)afterCurrentPageArr.push(iAfter);currentPage+3<totalPage&&afterCurrentPageArr.push("..."),currentPage+3<=totalPage&&afterCurrentPageArr.push(totalPage);for(var pageItemsHtml="",pageArr=beforeCurrentPageArr.concat(afterCurrentPageArr),iPage=0;iPage<pageArr.length;iPage++)pageArr[iPage]=="..."?pageItemsHtml+=bcSfFilterTemplate.pageItemRemainHtml:pageItemsHtml+=pageArr[iPage]==currentPage?bcSfFilterTemplate.pageItemSelectedHtml:bcSfFilterTemplate.pageItemHtml,pageItemsHtml=pageItemsHtml.replace(/{{itemTitle}}/g,pageArr[iPage]),pageItemsHtml=pageItemsHtml.replace(/{{itemUrl}}/g,this.buildToolbarLink("page",currentPage,pageArr[iPage]));paginationHtml=paginationHtml.replace(/{{pageItems}}/g,pageItemsHtml),jQ(this.selector.pagination).html(paginationHtml)}},BCSfFilter.prototype.buildFilterSorting=function(){if(bcSfFilterTemplate.hasOwnProperty("sortingHtml")){jQ(this.selector.topSorting).html("");var sortingArr=this.getSortingList();if(sortingArr){var sortingItemsHtml="";for(var k in sortingArr)sortingItemsHtml+='<option value="'+k+'">'+sortingArr[k]+"</option>";var html=bcSfFilterTemplate.sortingHtml.replace(/{{sortingItems}}/g,sortingItemsHtml);jQ(this.selector.topSorting).html(html),jQ(this.selector.topSorting+" select").val(this.queryParams.sort)}}},BCSfFilter.prototype.buildFilterDisplayType=function(){var itemHtml='<a href="'+this.buildToolbarLink("display","list","grid")+'" title="Grid view" class="btn btn-default change-view ml5 mr5 bc-sf-filter-display-grid" data-view="grid"><i class="fa fa-lg fa-th"></i></a>';itemHtml+='<a href="'+this.buildToolbarLink("display","grid","list")+'" title="List view" class="btn btn-default change-view mr5 bc-sf-filter-display-list" data-view="list"><i class="fa fa-lg fa-list"></i></a>',jQ(this.selector.topDisplayType).html(itemHtml),jQ(this.selector.topDisplayType).find(".bc-sf-filter-display-list").removeClass("active-filter"),jQ(this.selector.topDisplayType).find(".bc-sf-filter-display-grid").removeClass("active-filter"),this.queryParams.display=="list"?jQ(this.selector.topDisplayType).find(".bc-sf-filter-display-list").addClass("active-filter"):this.queryParams.display=="grid"&&jQ(this.selector.topDisplayType).find(".bc-sf-filter-display-grid").addClass("active-filter")},BCSfFilter.prototype.buildExtrasProductList=function(data){$(".main_box").matchHeight(),this.queryParams.display=="list"?(jQ(this.getSelector("products")).removeClass("collection-grid"),jQ(this.getSelector("products")).addClass("row")):(jQ(this.getSelector("products")).addClass("collection-grid"),jQ(this.getSelector("products")).removeClass("row")),$('form[action*="/cart/add"]').submit(function(e){e.preventDefault(),$(e.target).find("input[type=image], input.submit-add-to-cart").attr("disabled",!0).addClass("disabled"),Shopify.addItemFromForm(e.target)})},BCSfFilter.prototype.buildAdditionalElements=function(data,eventType){},BCSfFilter.prototype.buildFilterTreeMobileButtonEvent=function(){var _this=this;
1jQ(this.selector.filterTreeMobileButton).unbind("click"),jQ(this.selector.filterTreeMobileButton).on("click",function(){jQ("#bc-sf-filter-tree2").slideToggle(),_this.buildFilterScrollbar()})};function buildDefaultLink(a,b){var c=window.location.href.split("?")[0];return c+="?"+a+"="+b}BCSfFilter.prototype.buildDefaultElements=function(a){if(bcSfFilterConfig.general.hasOwnProperty("collection_count")&&jQ("#bc-sf-filter-bottom-pagination").length>0){var b=bcSfFilterConfig.general.collection_count,c=parseInt(this.queryParams.page),d=Math.ceil(b/this.queryParams.limit);if(d==1)return jQ(this.selector.pagination).html(""),!1;if(this.getSettingValue("general.paginationType")=="default"){var e=bcSfFilterTemplate.paginateHtml,f="";f=c>1?bcSfFilterTemplate.hasOwnProperty("previousActiveHtml")?bcSfFilterTemplate.previousActiveHtml:bcSfFilterTemplate.previousHtml:bcSfFilterTemplate.hasOwnProperty("previousDisabledHtml")?bcSfFilterTemplate.previousDisabledHtml:"",f=f.replace(/{{itemUrl}}/g,buildDefaultLink("page",c-1)),e=e.replace(/{{previous}}/g,f);var g="";g=c<d?bcSfFilterTemplate.hasOwnProperty("nextActiveHtml")?bcSfFilterTemplate.nextActiveHtml:bcSfFilterTemplate.nextHtml:bcSfFilterTemplate.hasOwnProperty("nextDisabledHtml")?bcSfFilterTemplate.nextDisabledHtml:"",g=g.replace(/{{itemUrl}}/g,buildDefaultLink("page",c+1)),e=e.replace(/{{next}}/g,g);for(var h=[],i=c-1;i>c-3&&i>0;i--)h.unshift(i);c-4>0&&h.unshift("..."),c-4>=0&&h.unshift(1),h.push(c);for(var j=[],k=c+1;k<c+3&&k<=d;k++)j.push(k);c+3<d&&j.push("..."),c+3<=d&&j.push(d);for(var l="",m=h.concat(j),n=0;n<m.length;n++)m[n]=="..."?l+=bcSfFilterTemplate.pageItemRemainHtml:l+=m[n]==c?bcSfFilterTemplate.pageItemSelectedHtml:bcSfFilterTemplate.pageItemHtml,l=l.replace(/{{itemTitle}}/g,m[n]),l=l.replace(/{{itemUrl}}/g,buildDefaultLink("page",m[n]));e=e.replace(/{{pageItems}}/g,l),jQ(this.selector.pagination).html(e)}}if(bcSfFilterTemplate.hasOwnProperty("sortingHtml")&&jQ(this.selector.topSorting).length>0){jQ(this.selector.topSorting).html("");var o=this.getSortingList();if(o){var p="";for(var q in o)p+='<option value="'+q+'">'+o[q]+"</option>";var r=bcSfFilterTemplate.sortingHtml.replace(/{{sortingItems}}/g,p);jQ(this.selector.topSorting).html(r);var s=this.queryParams.sort_by!==void 0?this.queryParams.sort_by:this.defaultSorting;jQ(this.selector.topSorting+" select").val(s),jQ(this.selector.topSorting+" select").change(function(a2){window.location.href=buildDefaultLink("sort_by",jQ(this).val())})}}},BCSfFilter.prototype.prepareProductData=function(data){for(var countData=data.length,k=0;k<countData;k++){data[k].images=data[k].images_info,data[k].images.length>0?data[k].featured_image=data[k].images[0]:data[k].featured_image={src:bcSfFilterConfig.general.no_image_url,width:"",height:"",aspect_ratio:0},data[k].url="/products/"+data[k].handle;for(var optionsArr=[],countOptionsWithValues=data[k].options_with_values.length,i=0;i<countOptionsWithValues;i++)optionsArr.push(data[k].options_with_values[i].name);if(data[k].options=optionsArr,typeof bcSfFilterConfig.general.currencies!="undefined"&&bcSfFilterConfig.general.currencies.length>1){var updateMultiCurrencyPrice2=function(oldPrice,newPrice){return typeof newPrice!="undefined"?newPrice:oldPrice},updateMultiCurrencyPrice=updateMultiCurrencyPrice2,currentCurrency=bcSfFilterConfig.general.current_currency.toLowerCase().trim();data[k].price_min=updateMultiCurrencyPrice2(data[k].price_min,data[k]["price_min_"+currentCurrency]),data[k].price_max=updateMultiCurrencyPrice2(data[k].price_max,data[k]["price_max_"+currentCurrency]),data[k].compare_at_price_min=updateMultiCurrencyPrice2(data[k].compare_at_price_min,data[k]["compare_at_price_min_"+currentCurrency]),data[k].compare_at_price_max=updateMultiCurrencyPrice2(data[k].compare_at_price_max,data[k]["compare_at_price_max_"+currentCurrency])}data[k].price_min*=100,data[k].price_max*=100,data[k].compare_at_price_min*=100,data[k].compare_at_price_max*=100,data[k].price=data[k].price_min,data[k].compare_at_price=data[k].compare_at_price_min,data[k].price_varies=data[k].price_min!=data[k].price_max;var firstVariant=data[k].variants[0];if(getParam("variant")!==null&&getParam("variant")!=""){var paramVariant=data.variants.filter(function(e){return e.id==getParam("variant")});typeof paramVariant[0]!="undefined"&&(firstVariant=paramVariant[0])}else for(var countVariants=data[k].variants.length,i=0;i<countVariants;i++)if(data[k].variants[i].available){firstVariant=data[k].variants[i];break}data[k].selected_or_first_available_variant=firstVariant;
1for(var countVariants=data[k].variants.length,i=0;i<countVariants;i++){var variantOptionArr=[],count=1,variant=data[k].variants[i],variantOptions=variant.merged_options;if(Array.isArray(variantOptions)){for(var countVariantOptions=variantOptions.length,j=0;j<countVariantOptions;j++){var temp=variantOptions[j].split(":");data[k].variants[i]["option"+(parseInt(j)+1)]=temp[1],data[k].variants[i]["option_"+temp[0]]=temp[1],variantOptionArr.push(temp[1])}data[k].variants[i].options=variantOptionArr}data[k].variants[i].compare_at_price=parseFloat(data[k].variants[i].compare_at_price)*100,data[k].variants[i].price=parseFloat(data[k].variants[i].price)*100}data[k].description=data[k].content=data[k].body_html}return data},BCSfFilter.prototype.addFilterTreeItem=function(e,r,t,i){e=jQ.parseHTML(e),i=i!==void 0?i:this.getSelector("filterTree"),r!==void 0&&r=="before"?jQ(i+t).prepend(e):jQ(i+t).append(e)};function getFilePath(fileName,ext,version){var self=bcsffilter,ext=typeof ext!="undefined"?ext:"png",version=typeof version!="undefined"?version:"1",prIndex=self.fileUrl.lastIndexOf("?");if(prIndex>0)var filePath=self.fileUrl.substring(0,prIndex);else var filePath=self.fileUrl;return filePath+=fileName+"."+ext+"?v="+version,filePath}BCSfFilter.prototype.getFilterData=function(eventType,errorCount){function BCSend(eventType2,errorCount2){var self=bcsffilter,errorCount2=typeof errorCount2!="undefined"?errorCount2:0;self.showLoading(),typeof self.buildPlaceholderProductList=="function"&&self.buildPlaceholderProductList(eventType2),self.beforeGetFilterData(eventType2),self.prepareRequestParam
1s(eventType2),self.queryParams.callback="BCSfFilterCallback",self.queryParams.event_type=eventType2;var url=self.isSearchPage()?self.getApiUrl("search"):self.getApiUrl("filter"),script=document.createElement("script");script.type="text/javascript";var timestamp=new Date().getTime();script.src=url+"?t="+timestamp+"&"+jQ.param(self.queryParams),script.id="bc-sf-filter-script",script.async=!0;var resendAPITimer,resendAPIDuration;resendAPIDuration=2e3,script.addEventListener("error",function(e){typeof document.getElementById(script.id).remove=="function"?document.getElementById(script.id).remove():document.getElementById(script.id).outerHTML="",errorCount2<3?(errorCount2++,resendAPITimer&&clearTimeout(resendAPITimer),resendAPITimer=setTimeout(self.getFilterData("resend",errorCount2),resendAPIDuration)):self.buildDefaultElements(eventType2)}),document.getElementsByTagName("head")[0].appendChild(script),script.onload=function(){typeof document.getElementById(script.id).remove=="function"?document.getElementById(script.id).remove():document.getElementById(script.id).outerHTML=""}}this.requestFilter(BCSend,eventType,errorCount)},BCSfFilter.prototype.requestFilter=function(sendFunc,eventType,errorCount){sendFunc(eventType,errorCount)},BCSfFilter.prototype.buildFilterOptionItem=function(html,iLabel,iValue,fOType,fOId,fOLabel,fODisplayType,fOSelectType,fOItemValue,fOData){var keepValuesStatic=fOData.hasOwnProperty("keepValuesStatic")?fOData.keepValuesStatic:!1;if(fOType=="review_ratings"&&this.getSettingValue("general.ratingSelectionStyle")=="text")var title=this.getReviewRatingsLabel(fOItemValue.from);else var title=this.customizeFilterOptionLabel(iLabel,fOData.prefix,fOType);if(keepValuesStatic===!0)var productNumber=null;else var productNumber=fOItemValue.hasOwnProperty("doc_count")?fOItemValue.doc_count:0;html=html.replace(/{{itemLabel}}/g,this.buildFilterOptionLabel(iLabel,productNumber,fOData)),html=html.replace(/{{itemLink}}/g,this.buildFilterOptionLink(fOId,iValue,fOType,fODisplayType,fOSelectType,keepValuesStatic)),html=html.replace(/{{itemValue}}/g,encodeURIParamValue(iValue)),html=html.replace(/{{itemTitle}}/g,title),html=html.replace(/{{itemFunc}}/g,"onInteractWithFilterOptionValue(event, this, '"+fOType+"', '"+fODisplayType+"', '"+fOSelectType+"', '"+keepValuesStatic+"')"),html=this.checkFilterOptionSelected(fOId,iValue,fOType,fODisplayType)?html.replace(/{{itemSelected}}/g,"selected"):html.replace(/{{itemSelected}}/g,"");var htmlElement=jQ(html);return htmlElement.children().attr({"data-id":fOId,"data-value":encodeURIParamValue(iValue),"data-parent-label":fOLabel,"data-title":title,"data-count":productNumber}),fOType!="collection"&&htmlElement.children().attr("rel","nofollow"),fOType=="collection"&&htmlElement.children().attr("data-collection-scope",fOItemValue.key),jQ(htmlElement)[0].outerHTML},BCSfFilter.prototype.initFilter=function(){return this.isBadUrl()?void(window.location.href=window.location.pathname):(this.updateApiParams(!1),void this.getFilterData("init"))},BCSfFilter.prototype.isBadUrl=function(){try{var t=decodeURIComponent(window.location.search).split("&"),e=!1;if(t.length>0)for(var i=0;i<t.length;i++){var n=t[i],a=(n.match(/</g)||[]).length,r=(n.match(/>/g)||[]).length,o=(n.match(/alert\(/g)||[]).length,h=(n.match(/execCommand/g)||[]).length;if(a>0&&r>0||a>1||r>1||o||h){e=!0;break}}return e}catch(l){return!0}};
2//# sourceMappingURL=/cdn/shop/t/9/assets/bc-sf-filter.js.map?v=82128417152741040151605588624

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.