PageSourceSearch

https://boombycindyjoseph.com/cdn/shop/t/146/assets/filters-action.js?v=168991390046605076031742493755

js boombycindyjoseph.com collected 2026-10-02 16:39:56 UTC 13,045 bytes, 2 lines download raw bytes

1(function($){$(".close_popup").click(function(){event.preventDefault(),$(".wrapper-popup").hide()});function testLink(link,param){return param?/\?/.test(link)?"&c="+param:"?c="+param:link}$.fn.changeUrls=function(collectionData2){$(this).each(function(){var self=$(this),href=self.attr("href");/[?&]c=/.test(href)||(href+=testLink(href,collectionData2),self.attr("href",href))})};function getRightEncodeURI(uri){return encodeURIComponent(uri).replace(new RegExp("%20","g"),"+")}function updateBrandList(collectionData2){collectionData2&&($("a",$("#brand-list")).changeUrls(collectionData2),$("a",$("#tags-list")).changeUrls(collectionData2),$("a",$("#pagination-block")).changeUrls(collectionData2))}function findInArray(array,value){if(!value)return-1;if(array.indexOf)return array.indexOf(value);for(var i=0;i<array.length;i++)if(array[i]===value)return i;return-1}function getRightPathName(search,replace){if(!replace)return location.pathname;var quryVars=location.pathname.split("/");quryVars.shift();var index=findInArray(quryVars,search);return index>-1&&(quryVars[index]=replace),"/"+quryVars.join("/")}var collection=$("#collection"),collectionData=null;collection.length&&(collectionData=getRightEncodeURI(collection.data("collection"))),updateBrandList(collectionData);var imageEvent=$.Event("image_load");$.fn.updateItemsOuterHeight=function(children,selector){var parent=$(this),maxH=0,itemH=0,list=children?parent.children(selector):parent.find(selector);return list.each(function(){itemH=$(this).outerHeight(),itemH>maxH&&(maxH=itemH)}).each(function(){$(this).height(maxH)}),this},$.fn.updateItemsHeight=function(item,lineClass){var parent=$(this),maxH=0,itemH=0;return parent.find(item+lineClass).each(function(){itemH=$(this).height(),itemH>maxH&&(maxH=itemH)}).each(function(){$(this).height(maxH)}),this},$.fn.updateListItem=function(item,children,imgSelector,without){var parentClass="image-line-parent",parentSelector="."+parentClass,parent=$(this).addClass(parentClass),listW=parent.width(),lineW=0,width=0,marginR=0,counter=1,itemClass="image-line-",maxH=0,itemH=0,items=[],itemsIndex=[],start=0,imagesCounter=[],imagesLoaded=[];imagesCounter[counter]=0,imagesLoaded[counter]=0;var itemsList=children?parent.children(item):$(item,parent);return itemsList.each(function(index,element){var self=$(element);self.hasClass(without)?width=0:children?width=self.outerWidth():width||(width=self.outerWidth()),marginR||(marginR=Number(self.css("margin-left").replace(/px/,""))),lineW+=width+marginR,lineW>listW&&imgSelector?(lineW=width+marginR,++counter,imagesCounter[counter]=0,imagesLoaded[counter]=0):lineW>listW&&!imgSelector&&(lineW=width+marginR,items.push(maxH),maxH=0,itemsIndex.push(index)),self.addClass(itemClass+counter);var image=self.find(imgSelector);imagesCounter[counter]+=image.length,imgSelector?image.length?image.on("image_load",function(){var self2=$(this),imageIndex=self2.data("line");imagesLoaded[imageIndex]+=1,imagesLoaded[imageIndex]==imagesCounter[imageIndex]&&($(document).data("loaded")==null||$(document).data("fonts_loaded")==null?$(document).on("fonts_load",function(){$(document).data("loaded")!=null&&$(document).data("fonts_loaded")!=null&&(self2.hasClass(parentSelector)?self2.updateItemsHeight(item,"."+itemClass+imageIndex):self2.closest(parentSelector).updateItemsHeight(item,"."+itemClass+imageIndex))}):self2.hasClass(parentSelector)?self2.updateItemsHeight(item,"."+itemClass+imageIndex):self2.closest(parentSelector).updateItemsHeight(item,"."+itemClass+imageIndex))}).data("line",counter):(itemH=$(this).height(),itemH>maxH&&(maxH=itemH)):(itemH=$(this).height(),itemH>maxH&&(maxH=itemH))}).each(function(index,element){var self=$(element);if(imgSelector){var image=self.find(imgSelector);image.length?image[0].complete?image.trigger(imageEvent):image.on("load",function(){$(this).trigger(imageEvent)}).on("error",function(){$(this).trigger(imageEvent)}):(maxH>0&&items.push(maxH),itemsIndex[start]<=index&&++start,self.height(items[start]))}}),imgSelector||(maxH>0&&items.push(maxH),itemsList.each(function(index,element){itemsIndex[start]<=index&&++start,$(element).height(items[start])})),this},$.fn.updateList=function(item,children,imgSelector,without){var self=$(this);if(self.length)self.length>1?self.each(function(){$(this).updateListItem(item,children,imgSelector,without)}):self.updateListItem(item,children,imgSelector,without);else return this;return this},$.fn.updateSeparators=function(){return $(this).hasClass("tab-class-hide")?this:($(this).find(".relaited-products").updateList("li",!0,".image img",!1),$(this).data("isUpdated",!0),this)},$(".product-tab-item").on("click",function(){var id=$(this).data("tab");$(".product-page-active").each(function(){$(this).removeClass("product-page-active").addClass("tab-class-hide")}),$("#product-tab-"+id).removeClass("tab-class-hide").addClass("product-page-active"),$(".product-tab-active").each(function(){$(this).removeClass("product-tab-active")}),$(this).addClass("product-tab-active")});var productWrap=$("#collection").find(".product-wrap");function getYouTubeFrmaId(url){return url?url.replace(/^\/\//,"").match(/(?:http(?:s)?:\/\/)?(?:www\.)?(?:youtu\.be\/|youtube\.com\/(?:(?:watch)?\?(?:.*&)?v(?:i)?=|(?:embed|v|vi|user)\/))([^\?&\"'>]+)/):null}function getRightFrame(data,width,height){if(!data)return"";var frame,isFrame=/^\<iframe[^\<\/]/.test(data);
1if(isFrame)frame=data;else{var video=getYouTubeFrmaId(data);video&&video[1]?frame="<iframe height='"+height+"' frameborder='0' width='"+width+"' allowfullscreen='true' src='http://www.youtube.com/embed/"+video[1]+"?autoplay=1&wmode=transparent&feature=oembed'></iframe>":frame="<iframe height='"+height+"' frameborder='0' width='"+width+"' allowfullscreen='true' src='"+data+"'></iframe>"}return frame}$.fn.createIframePopup=function(){var self=$(this),frame=getRightFrame(self.data("demo"),560,315);return $(".wrapper-popup").show(),$("<div class='collection-popup main-block-style-white frame-collection-popup'>"+frame+"<div class='close_popup'><a href='#' id='pop-close' id='pop-close' onclick='return false'></a></div></div>").appendTo("body").positionPopup(),this},$.fn.createTextPopup=function(){var self=$(this),frame=self.data("ingredients");return $(".wrapper-popup").show(),$("<div class='collection-popup main-block-style-white frame-collection-popup text-popup'>"+frame+"<div class='close_popup'><a href='#' id='pop-close' onclick='return false'></a></div></div>").appendTo("body").positionPopup(),this},$.fn.createPopup=function(){var product=$(this),imgSrc=product.find("img").data("big-img"),title=product.find(".full-product-name").html(),price=product.find(".product-price").html(),url=product.find(".details a").attr("href"),optionColor=product.data("optionid");return $(".wrapper-popup").show(),$(".collection-popup").remove(),$("<div class='collection-popup main-block-style-white'><div class='float-l'><a class='img' href='"+url+"'><img src='"+imgSrc+"'></a></div><div class='float-l'><h3 class='title'>"+title+"</h3><div class='product-price'>"+price+"</div><form class='form_to_cart' method='post' action='/cart/add'><input type='hidden' name='id' value='"+product.data("productid")+"' /><p class='zip-info'>In stock and ready for delivery to Zip code</p><p><input type='text' name='quantity' value='1' class='tc item-quantity' /><label>Quantity</label></p><input type='hidden' id='product-select' name='id' value='"+optionColor+"' /><p><input type='submit' value='Add to cart' class='btn' /></p></form><p><a class='full_link' href='"+url+"'><span class='overlay'><span class='overlay-bold'>Click here</span> for details</span></a></p></div><div class='close_popup'><a href='#' id='pop-close' onclick='return false'></a></div></div>").appendTo("body").positionPopup(),this},$.fn.positionPopup=function(){var popupB=$(this),mPopupTop=$(window).scrollTop()+$(window).height()/2-popupB.outerHeight()/2-16;return popupB.css({top:mPopupTop>0?mPopupTop:16,"margin-left":-(popupB.width()/2)}),this},$.fn.createTooltip=function(){var product=$(this),imgSrc=product.find("img").data("big-img"),title=product.find(".full-product-name").html(),price=product.find(".product-price").html(),url=product.find(".details a").attr("href");$(".collection-tooltip",productWrap).remove();var toolTip=$("<div class='collection-tooltip main-block-style-white' data-productid='"+product.data("productid")+"' data-optionid='"+product.data("optionid")+"'><div class='image'><a class='img' href='"+url+"'><span class='img-loader'></span><img class='img-tag' src='"+imgSrc+"'><div class='align-helper'></div></a></div><div class='wrap-tooltip price'><div class='title product-name'>"+title+"</div>"+price+"</div><a class='link loupe' href='#'></a></div>").appendTo(productWrap),imgTag=toolTip.find(".img-tag");return imgTag[0].complete?imgTag.siblings(".img-loader").hide():imgTag.on("load",function(){$(this).siblings(".img-loader").hide()}),product.positionTooltip(toolTip),this},$.fn.positionTooltip=function(obj){var self=$(this),tPosX=self.offset().left-self.parents(".product-wrap").offset().left-35,pWrap=self.parents(".product-wrap");tPosX+220>pWrap.width()&&(tPosX=pWrap.width()-320);var tPosY=self.offset().top-pWrap.offset().top-60;return obj.css({position:"absolute",top:tPosY,left:tPosX}),this},$(".play-video").on("click",function(){$(this).createIframePopup(),$(".close_popup").click(function(){$(".wrapper-popup").hide(),$(".collection-popup").remove()})}),$(".watch-link").on("click",function(){$(this).closest(".alt-middle-block").find(".play-video").trigger("click")}),productWrap.mouseleave(function(){$(".collection-tooltip",$(this)).remove()});var $videoFrame=$("#video-frame"),$activeWrapper=$("#active-wrapper"),$thumbs=$("#thumbs");$(".product-video-show").on("click",function(){var $self=$(this);if($self.data("video")!=null){var selfText=$self.data("alt-title");if($self.data("alt-title",$self.text()).text(selfText),$self.hasClass("active-video"))$self.removeClass("active-video"),$videoFrame.hide().find("iframe").remove(),$activeWrapper.show(),$thumbs.show();else{$self.addClass("active-video");var frame=getRightFrame($self.data("video"),470,265);$activeWrapper.hide(),$thumbs.hide(),$videoFrame.append(frame).show()}}}),$(document).on("ready",function(){$(this).data("loaded",!0).trigger("fonts_load"),productWrap.on("click",".loupe",function(event2){event2.preventDefault();var product=$(this).closest(".collection-tooltip").data("productid");$("#product-"+product).createPopup()}).on("mouseleave",".collection-tooltip",function(){$(".collection-tooltip",productWrap).remove()}).find(".product").on("mouseover",function(){$(this).createTooltip()}),$(this).on("click",".close_popup",function(event2){event2.preventDefault(),$(".wrapper-popup").hide(),$(this).closest(".collection-
1popup").remove(),console.log("ciao! ")})}).on("fonts_load",function(){$(this).data("loaded")!=null&&$(this).data("fonts_loaded")!=null&&$(".top-nav").find(".dropdown-section").each(function(){var $self=$(this),parentW=$self.closest("li.dropdown").outerWidth();$self.css("margin-left",-($self.outerWidth()/2-parentW/2))})}),$(".footer-info-list").children(".centered").updateList("li",!0,"img","divider"),$(".rotator-content-featured.product-wrap-item").children("ul").updateList("li",!0,".image img",!1),$("#template.login").updateItemsOuterHeight(!0,".align-blocks",!1);function addImage(image,obj,src){obj.removeClass("get-wistia-img").attr("src",src).css("width",obj.data("width")).closest(".wistia-img-block").css("height",obj.height()).show(),image.hide()}function imageLoading(image,obj,src,imgUrl){obj.attr("src",src).each(function(){var $this=$(this);if($this[0].complete){addImage(image,obj,src);return}$this.on("load",function(){addImage(image,obj,src)}).on("error",function(){addImage(image,obj,imgUrl)})})}function wistiaLoadImage($self,url,$loadingImg,imgUrl){var frameId=url.match(/\/iframe\/([^'"]*)/);if(frameId)$.get("http://fast.wistia.net/oembed?url=http://home.wistia.com/medias/"+frameId[1],null,function(data,textStatus,jqXHR){try{imgUrl=data.thumbnail_url}catch(err){console.log(err),imageLoading($loadingImg,$self,imgUrl,imgUrl)}imageLoading($loadingImg,$self,imgUrl,imgUrl)});else return}function youtubeLoadImage($self,url,$loadingImg,imgUrl){var imageUrl="http://img.youtube.com/vi/"+url+"/0.jpg";imageLoading($loadingImg,$self,imageUrl,imgUrl)}$(".get-wistia-img").each(function(){var $self=$(this),url=$self.data("demo"),$loadingImg=$self.siblings(".get-wistia-load"),imgUrl=$self.data("default");if(url){var video=getYouTubeFrmaId(url);video&&video[1]?youtubeLoadImage($self,video[1],$loadingImg,imgUrl):/fast\.wistia\.net/.test(url)?wistiaLoadImage($self,url,$loadingImg,imgUrl):imageLoading($loadingImg,$self,imgUrl,imgUrl)}}),$(".ing-link").on("click",function(){$(this).createTextPopup(),$(".close_popup").click(function(){console.log("ciao! "),$(".wrapper-popup").hide(),$(".collection-popup").remove()})})})(jQuery);
2//# sourceMappingURL=/cdn/shop/t/146/assets/filters-action.js.map?v=168991390046605076031742493755

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.