PageSourceSearch

https://edistorialstore.com/cdn/shop/t/48/assets/boost-pfs-filter.js?v=64531066185295358631788710367

js edistorialstore.com collected 2026-10-07 23:23:17 UTC 8,318 bytes, 2 lines download raw bytes

1if(typeof boostPFSThemeConfig!="undefined")var boostPFSFilterConfig={general:{limit:boostPFSConfig.custom.products_per_page,loadProductFirst:!0,styleScrollToTop:"style2",numberFilterTree:2,showPlaceholderProductList:!0,placeholderProductPerRow:3},selector:{breadcrumb:".breadcrumb-nav",otpTopCartLink:'a[href="/cart"].site-header__cart'}};(function(){BoostPFS.inject(this),ProductGridItem.prototype.compileTemplate=function(data,index,totalProduct){data||(data=this.data),index||(index=this.index),totalProduct||(totalProduct=this.totalProduct);var images=data.images_info;console.log(data);var description=data.description,metafields=data.metafields;console.log(metafields);for(var key in metafields){if(metafields[key].key=="_ask_disp")var askDisp=metafields[key].value;if(metafields[key].key=="_price_hide")var priceHide=metafields[key].value;console.log(metafields[key].value+"\u3067\u3059")}var soldOut=!data.available,onSale=data.compare_at_price_min>data.price_min,priceVaries=data.price_min!=data.price_max,firstVariant=data.variants[0];if(Utils.getParam("variant")!==null&&Utils.getParam("variant")!=""){var paramVariant=data.variants.filter(function(e){return e.id==Utils.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=boostPFSTemplate.productGridItemHtml,itemSaleLabelHtml=onSale?boostPFSTemplate.saleLabelHtml:"";itemHtml=itemHtml.replace(/{{itemSaleLabel}}/g,itemSaleLabelHtml);var gridItemWidthClass="medium-up--one-third small--one-half";totalProduct==1&&(gridItemWidthClass="medium-up--one-third small--one-whole"),itemHtml=itemHtml.replace(/{{gridItemWidthClass}}/g,gridItemWidthClass);var itemImagesHtml="";if(images.length>0){var aspect_ratio=images[0].width/images[0].height;itemImagesHtml+='<a href="{{itemUrl}}" class="product__image-wrapper" style="padding-top:'+1/aspect_ratio*100+'%;" title="{{itemTitle}}">',itemImagesHtml+='<img class="product__image lazyload" src="'+Utils.getFeaturedImage(images,"150x150")+'" data-src="'+Utils.getFeaturedImage(images,"1x1").replace("_1x1.","_{width}x.")+'" data-widths="[180, 360, 540, 720, 900, 1080, 1296, 1512, 1728, 2048]" data-aspectratio="'+aspect_ratio+'" data-sizes="auto" alt="{{itemTitle}}" style="max-width: '+Math.round(600*aspect_ratio)+'px; max-height: 600px;">',itemImagesHtml+="</a>"}else itemImagesHtml+='<figure><a href="{{itemUrl}}" class=" supports-js product__image-wrapper" title="{{itemTitle}}"><img src="'+boostPFSAppConfig.general.no_image_url+'" alt="{{itemTitle}}"></figure></a>';itemHtml=itemHtml.replace(/{{itemImages}}/g,itemImagesHtml);var itemVendorHtml=boostPFSConfig.custom.vendor_enable?boostPFSTemplate.vendorHtml.replace(/{{itemVendorLabel}}/g,data.vendor):"";itemHtml=itemHtml.replace(/{{itemVendor}}/g,itemVendorHtml);var itemPriceHtml="";priceHide!="true"?askDisp=="true"?itemPriceHtml+="ASK":(onSale?(itemPriceHtml+='<span class="visually-hidden">'+boostPFSConfig.label.regular_price+"</span>",itemPriceHtml+=" <s>"+Utils.formatMoney(data.compare_at_price_min,Globals.moneyFormat)+"</s>",priceVaries?itemPriceHtml+=boostPFSConfig.label.sale_from_price.replace(/{{ price }}/g,Utils.formatMoney(data.price_min,Globals.moneyFormat)):(itemPriceHtml+='<strong class="visually-hidden">'+boostPFSConfig.label.sale_price+"</strong>",itemPriceHtml+=Utils.formatMoney(data.price_min,Globals.moneyFormat))):(itemPriceHtml+='<span class="product-price">',priceVaries?itemPriceHtml+=boostPFSConfig.label.from_price.replace(/{{ price }}/g,Utils.formatMoney(data.price_min,Globals.moneyFormat)):(itemPriceHtml+='<span class="visually-hidden">'+boostPFSConfig.label.regular_price+"</span>",itemPriceHtml+=Utils.formatMoney(data.price_min,Globals.moneyFormat))),itemPriceHtml+="</span>",soldOut&&(itemPriceHtml+=' <strong class="sold-out-text">'+boostPFSConfig.label.sold_out+"</strong>")):itemPriceHtml+="",itemHtml=itemHtml.replace(/{{itemPrice}}/g,itemPriceHtml);var itemDescriptionHtml="";return console.log(description),description&&(itemDescriptionHtml="<p>{{itemDescription}}</p>"),itemHtml=itemHtml.replace(/{{itemDescription}}/g,itemDescriptionHtml),(typeof Integration=="undefined"||!Integration.hascompileTemplate("reviews"))&&(itemHtml=itemHtml.replace(/{{itemReviews}}/g,"")),itemHtml=itemHtml.replace(/{{itemId}}/g,data.id),itemHtml=itemHtml.replace(/{{itemTitle}}/g,data.title),itemHtml=itemHtml.replace(/{{itemDescription}}/g,data.description),itemHtml=itemHtml.replace(/{{askDisp}}/g,askDisp),itemHtml=itemHtml.replace(/{{priceHide}}/g,priceHide),itemHtml=itemHtml.replace(/{{itemUrl}}/g,Utils.buildProductItemUrl(data)),itemHtml=itemHtml.replace(/{{itemPrice}}/g,Utils.buildProductItemUrl(data)),itemHtml},ProductPaginationDefault.prototype.compileTemplate=function(totalProduct){totalProduct||(totalProduct=this.totalProduct);var currentPage=parseInt(Globals.queryParams.page),totalPage=Math.ceil(totalProduct/Globals.queryParams.limit);if(totalPage>1){var paginationHtml=boostPFSTemplate.paginateHtml,previousHtml=currentPage>1?boostPFSTemplate.previousHtml:"";previousHtml=previousHtml.replace(/{{itemUrl}}/g,Utils.buildToolbarLink("page",currentPage,currentPage-1)),paginationHtml=paginationHtml.replace(/{{previous}}/g,previousHtml);var nextHtml=currentPage<totalPage?boostPFSTemplate.nextHtml:"";nextHtml=nextHtml.replace(/{{itemUrl}}/g,Utils.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;
1iPage++)pageArr[iPage]=="..."?pageItemsHtml+=boostPFSTemplate.pageItemRemainHtml:pageItemsHtml+=pageArr[iPage]==currentPage?boostPFSTemplate.pageItemSelectedHtml:boostPFSTemplate.pageItemHtml,pageItemsHtml=pageItemsHtml.replace(/{{itemTitle}}/g,pageArr[iPage]),pageItemsHtml=pageItemsHtml.replace(/{{itemUrl}}/g,Utils.buildToolbarLink("page",currentPage,pageArr[iPage]));return paginationHtml=paginationHtml.replace(/{{pageItems}}/g,pageItemsHtml),paginationHtml}return""},ProductSorting.prototype.compileTemplate=function(){var html="";if(boostPFSTemplate.hasOwnProperty("sortingHtml")){var sortingArr=Utils.getSortingList();if(sortingArr){var sortingItemsHtml="";for(var k in sortingArr)sortingItemsHtml+='<option value="'+k+'">'+sortingArr[k]+"</option>";html=boostPFSTemplate.sortingHtml.replace(/{{sortingItems}}/g,sortingItemsHtml),html=html.replace(/{{itemLabelActive}}/g,sortingArr[Globals.queryParams.sort])}}return html},Breadcrumb.prototype.compileTemplate=function(colData){colData||(colData=this.collectionData);var html="";if(boostPFSTemplate.hasOwnProperty("breadcrumbHtml")){var breadcrumbHtml=boostPFSTemplate.breadcrumbHtml,colInfo=colData.collection,currentCollectionHtml="";if(Array.isArray(boostPFSConfig.general.current_tags)&&boostPFSConfig.general.current_tags.length>0){currentCollectionHtml+='<span itemscope itemtype="http://data-vocabulary.org/Breadcrumb">',currentCollectionHtml+='<a href="{{ collection_url }}" itemprop="url"><span itemprop="title">'+colInfo.title+"</span></a>",currentCollectionHtml+='<span class="breadcrumb-nav__separator" aria-hidden="true">\u203A</span>',currentCollectionHtml+="</span>";var current_tags=boostPFSConfig.general.current_tags;currentCollectionHtml+=current_tags[0]}else currentCollectionHtml=colInfo.title;breadcrumbHtml=breadcrumbHtml.replace(/{{currentCollection}}/g,currentCollectionHtml),html=breadcrumbHtml}return html},ProductList.prototype.afterRender=function(data){data||(data=this.data)},FilterResult.prototype.afterRender=function(data){data||(data=this.data)}})();
2//# sourceMappingURL=/cdn/shop/t/48/assets/boost-pfs-filter.js.map?v=64531066185295358631788710367

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.