1jQuery(document).ready((function(){let e,i;function t(){if(jQuery(".fusion-woocommerce-quick-view-container").length)return;const e=jQuery("#awb-quick-view-template"),i=jQuery("#main > .fusion-row"),t=i.length?i.first():jQuery("body");if(e.length)return t.append(e.html()),void e.remove();t.append('<div class="fusion-woocommerce-quick-view-overlay"></div><div class="fusion-woocommerce-quick-view-container quick-view woocommerce"><div class="fusion-wqv-close"><button type="button"><span class="screen-reader-text">'+avadaWooCommerceVars.quick_view_close+'</span>×</button></div><div class="fusion-wqv-loader product"><h2 class="product_title entry-title">'+avadaWooCommerceVars.quick_view_title+'</h2><div class="fusion-price-rating"><div class="price"></div><div class="star-rating"></div></div><div class="fusion-slider-loading"></div></div><div class="fusion-wqv-preview-image"></div><div class="fusion-wqv-content"><div class="product"><div class="woocommerce-product-gallery"></div><div class="summary entry-summary scrollable"><div class="summary-content"></div></div></div></div></div>')}jQuery(".fusion-quick-view").length&&t(),jQuery("body").on("click",".fusion-quick-view",(function(o){t();const n=jQuery(".fusion-woocommerce-quick-view-overlay"),a=jQuery(".fusion-woocommerce-quick-view-container"),r=a.find(".fusion-wqv-preview-image"),d=a.find(".fusion-wqv-content"),s=a.find(".fusion-wqv-close"),u=a.find(".fusion-wqv-loader"),c=jQuery(this).data("product-id"),f=jQuery(this).closest(".product"),l=f.length?f:jQuery(this).closest(".fusion-carousel-item"),h=l.find(".wp-post-image"),p=l.find(".onsale"),m=l.find(".fusion-out-of-stock"),w=l.find(".fusion-price-rating").length?l.find(".fusion-price-rating"):l.find(".price").first(),v=parseInt(h.height(),10)/parseInt(h.width(),10);let y,g=l.find(".product-title").length?l.find(".product-title"):l.find(".fusion-rollover-title"),j={},Q=!1,_=!0,q="";o.preventDefault(),jQuery("body").addClass("fusion-wqv-open"),jQuery(".fusion-wqv-open").on("keydown",(function(e){27===e.keyCode&&jQuery(".fusion-wqv-close button").trigger("click")})),void 0!==c&&(0===g.length&&void 0!==jQuery(this).data("product-title")&&(g=jQuery("<p>"+jQuery(this).data("product-title")+"</p>")),d.empty(),u.find(".entry-title, .star-rating, .price").empty(),jQuery(".fusion-footer-parallax").length&&(jQuery("#main").css("z-index","auto"),"fixed"===jQuery(".fusion-footer-parallax").css("position")&&(jQuery(".fusion-footer-parallax").css("z-index","-1"),jQuery("#sliders-container").find('.tfs-slider[data-parallax="1"]').length&&jQuery("#sliders-container").css("z-index","auto"))),a.stop().fadeIn("200"),r.fadeIn("200").html(h.clone()),n.stop().fadeIn("400"),(p.length||m.length)&&(r.prepend('<div class="fusion-woo-badges-wrapper"></div>'),m.length&&(a.addClass("outofstock"),r.find(".fusion-woo-badges-wrapper").append(m.clone())),p.length&&r.find(".fusion-woo-badges-wrapper").append(p.clone())),l.find("> span, > a, > div").fadeTo("200","0"),l.addClass("fusion-faded-out"),0===h.length?(h=jQuery(o.currentTarget),void 0!==h.data("image-height")?(v=parseInt(h.data("image-height"),10)/parseInt(h.data("image-width"),10),j.startWidth=h.data("image-width"),j.startHeight=h.data("image-height")):(_=!1,j.startWidth=400,j.startHeight=400)):(j.startWidth=h.width(),j.startHeight=h.height()),j.startTop=h.offset().top-jQuery(window).scrollTop(),j.startLeft=h.offset().left,j.endWidth=400,1.77<1/v&&(j.endWidth=500),1.77<v&&(j.endWidth=300),j.endHeight=Math.floor(j.endWidth/j.startWidth*j.startHeight),j.endTop=Math.round((jQuery(window).height()-j.endHeight)/2),j.endLeft=Math.round((jQuery(window).width()-j.endWidth)/2),j.finalWidth=Math.round(j.endWidth+500),500>jQuery(window).width()-j.endWidth&&(j.finalWidth=Math.round(jQuery(window).width()-20)),j.finalLeft=Math.round((jQuery(window).width()-j.finalWidth)/2),a.css({top:j.startTop,left:j.startLeft,width:j.startWidth,height:j.startHeight,"background-color":avadaWooCommerceVars.shop_page_bg_color}),r.css({"max-width":j.startWidth>j.endWidth?"100%":j.endWidth,"max-height":j.startWidth>j.endWidth?"auto":j.endHeight}),r.find("img").removeAttr("style"),setTimeout((function(){a.animate({top:j.endTop+"px",left:j.endLeft+"px",width:j.endWidth+"px",height:j.endHeight+"px"},800,"easeInOutCubic",(function(){j.startWidth>j.endWidth&&r.css({"max-width":j.endWidth,"max-height":j.endHeight})}))}),200),setTimeout((function(){a.animate({left:j.finalLeft+"px",width:j.finalWidth+"px"},600,"easeInOutCubic",(function(){jQuery(this).addClass("complete"),jQuery(this).css("top",""),jQuery(this).css("left","")}))}),1e3),setTimeout((function(){s.fadeIn("300"),40>avadaWooCommerceVars.shop_page_bg_color_lightness&&s.find("button").addClass("light"),Q=!0,a.hasClass("fusion-quick-view-loaded")||(g.length&&(u.find(".entry-title").html(g.text()),parseFloat(avadaWooCommerceVars.post_title_font_size)<parseFloat(u.find(".entry-title").css("font-size"))&&u.find(".entry-title").css("font-size",parseFloat(avadaWooCommerceVars.post_title_font_size)+"px")),w.length&&(u.find(".star-rating").show(),w.hasClass("fusion-price-rating")?u.find(".fusion-price-rating").html(w.children().clone()):(u.find(".fusion-price-rating .price").html(w.clone()),l.find(".star-rating").length&&u.find(".fusion-price-rating .star-rating").html(l.find(".star-rating").first().html())),u.find(".star-rating").is(":empty")&&u.find(".star-rating").hide()),u.css("left","calc(100% - "+Math.round((j.finalWidth-j.endWidth)/2)+"px)"),u.stop().fadeTo("300","1"))}),1600),jQuery.post(avadaWooCommerceVars.ajaxurl,{action:"fusion_quick_view_load",nonce:avadaWooCommerceVars.quick_view_nonce||("undefined"!=typeof quickViewNonce?quickViewNonce:""),product:jQuery(this).data("product-id")},(function(t){"undefined"==typeof wc_add_to_cart_variation_params?t+='<script type="text/javascript">var wc_add_to_cart_variation_params = {};<\/script>':t+='<script type="text/javascript">var wc_add_to_cart_variation_params = '+JSON.stringify(wc_add_to_cart_variation_params)+";<\/script>",a.addClass("fusion-quick-view-loaded"),e=setInterval((function(){Q&&(a.addClass("fusion-animate-content fusion-quick-view-loaded"),a.find(".fusion-wqv-content").show(),setTimeout((function(){d.html(t),!_&&d.find(".woocommerce-product-gallery .wp-post-image").length&&(r.fadeIn("200").html(d.find(".woocommerce-product-gallery .wp-post-image").first().clone()),j.endHeight=r.find("img").height(),a.animate({height:j.endHeight+"px"},800,"easeInOutCubic")),d.find(".woocommerce-product-gallery").css("width",j.endWidth+"px"),d.find(".product").not(".bundled_product").css("max-height",j.endHeight+"px"),"undefined"!=typeof productBackgroun
1dColor&&(a.css("background-color",productBackgroundColor),40>productBackgroundColorLightness&&s.find("button").addClass("light")),"undefined"!=typeof productQuickViewSingleURL&&a.find(".woocommerce-review-link").length&&(q=a.find(".woocommerce-review-link").prop("hash"),a.find(".woocommerce-review-link").prop("href",productQuickViewSingleURL+q).addClass("avada-noscroll")),u.stop().fadeTo("300","0"),a.find(".entry-summary").animate({opacity:"1"},500,"easeInOutCubic",(function(){jQuery(this).scrollTop(0)})),a.find(".entry-summary").children().animate({"padding-top":"0"},500,"easeInOutCubic")}),400),setTimeout((function(){y=a.find(".fusion-button-view-details"),y.css("top",y.height()),y.animate({opacity:"1",top:"0"},200,"easeInOutCubic")}),700),setTimeout((function(){a.removeClass("fusion-animate-content"),jQuery("body").trigger("quick-view-displayed")}),900),setTimeout((function(){fusionInitPostFlexSlider(),jQuery(window).trigger("AddAvadaSelect"),"undefined"!=typeof wc_add_to_cart_variation_params&&jQuery(".variations_form").each((function(){jQuery(this).wc_variation_form()})),avadaAddQuantityBoxes()}),400),i=setInterval((function(){10>Math.abs(a.find(".flex-active-slide").width()-a.find(".fusion-wqv-preview-image").width())&&(a.find(".fusion-wqv-preview-image").fadeOut("400"),clearInterval(i))}),500),clearInterval(e))}),25)})))})),jQuery(document).on("click",".fusion-wqv-close button",(function(t){var o=jQuery(this).closest(".fusion-woocommerce-quick-view-container");o.removeClass("fusion-quick-view-loaded"),clearInterval(e),clearInterval(i),jQuery(".fusion-wqv-open").off("keydown"),jQuery("body").removeClass("fusion-wqv-open"),jQuery(".fusion-woocommerce-quick-view-overlay").fadeOut("400"),o.stop().animate({width:o.width()/2,height:o.height()/2,opacity:"0"},300,"easeInOutCubic",(function(){jQuery(this).hide(),jQuery(this).removeAttr("style"),jQuery(this).removeClass("complete"),jQuery(this).find(".fusion-wqv-preview-image").removeAttr("style"),jQuery(this).find(".entry-title").removeAttr("style"),jQuery(".fusion-footer-parallax").length&&(jQuery("#main").css("z-index",""),jQuery(".fusion-footer-parallax").css("z-index",""),jQuery("#sliders-container").css("z-index",""))})),o.find(".fusion-wqv-close").fadeOut("300"),jQuery(".fusion-faded-out").find("> span, > a, > div").fadeTo("300","1",(function(){jQuery(this).css("opacity","")})),jQuery(".fusion-faded-out").removeClass("fusion-faded-out")})),jQuery(document).on("click",".fusion-woocommerce-quick-view-overlay",(function(e){jQuery(".fusion-wqv-close button").trigger("click")})),jQuery(window).on("resize",(function(e){var i=jQuery(".fusion-woocommerce-quick-view-container"),t=i.find(".woocommerce-product-gallery").width(),o=jQuery(window).width();jQuery("body").hasClass("fusion-wqv-open")&&(i.width()<o-20&&t+500<=o-20?i.width(t+500):i.width(o-20))}))}));
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.