1function BuildSlider(){var t=$("#productImages").width(),n=5;t<600&&(n=4);$("#productslider").ATISlider({auto:!1,heightcorrection:0,slideWidth:70,slideHeight:70,slidesToShow:n})}function ActivateTubnails(){$(".thumbnail").on("click",function(){var n=$(this).attr("data-target");return $("#videoplayer").hide(),$("#videoplayer").html(""),$("#MainImgA").show(),$("#MainImgA").attr("href",n+"?width=1200&autorotate=true"),$("#MainImg").fadeTo("slow",0,function(){$("#MainImg").attr("src",n+"?width=408&height=408&autorotate=true");$("#MainImg").fadeTo("slow",1,function(){})}),!1});$(".thumbnailvideo").on("click",function(){var n=$(this).attr("data-target");return $("#MainImgA").hide(),$("#videoplayer").show(),$("#videoplayer").html('<iframe src="https://www.youtube.com/embed/'+n+'?controls=0&autoplay=1" width="408" height="408" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen><\/iframe>'),!1})}function GetSelectedOptions(){var n="";return $(".optbutton").each(function(){if($(this).hasClass("selected")){var t=$(this).attr("id");n!=""&&(n=n+",");n=n+t}}),n}function LoadSelections(n,t){var i=GetSelectedOptions();prevopts!=i&&$.ajax({"async":!0,url:"/secure/utils/ecommerce.aspx?apicall=loadsku",type:"POST",data:{product_id:product_id,opts:i,varid:n,optid:t}}).done(function(r){var u=eval(r),f,e;u.success=="true"&&(prevopts=i,$("#price").html(u.price),$("#originalPrice").html(u.originalprice),u.originalprice==""?$("#price").removeClass("salePrice"):$("#price").addClass("salePrice"),$("#partNumber").html(u.partnumber),u.mainimg!=""&&($("#MainImgA").attr("href",u.mainimg+"?width=1200&autorotate=true"),$("#MainImg").attr("src",u.mainimg+"?width=408&height=408&autorotate=true"),u.thumbnails!=""&&($("#productslider .carousell .slider").html(u.thumbnails),$("#productslider .pagerleft").remove(),$("#productslider .pagerright").remove(),BuildSlider()),ActivateTubnails()),u.avoptions==""?$(".optbutton").removeClass("unavailable"):(f=eval(u.avoptions),e=f.length,e>0&&($(".optbutton").addClass("unavailable"),$("#"+t).removeClass("unavailable"),$("."+n).removeClass("unavailable"),f.forEach(myFunction),$(".optbutton").each(function(){$(this).hasClass("selected")&&$(this).hasClass("unavailable")&&$(this).removeClass("selected")}))))}).fail(function(){})}function myFunction(n){$("#btn_"+n).removeClass("unavailable")}function AddToCart(n){showprogress();var i=GetSelectedOptions(),t=parseInt($("#txtQTY").val()),r=$("#txtfromname").val(),u=$("#txttoname").val(),f=$("#txttoemail").val(),e=$("#txtmessage").val();$.ajax({"async":!0,url:"/secure/utils/ecommerce.aspx?apicall=addtocart",type:"POST",data:{product_id:product_id,qty:t,opts:i,swap_id:swap_id,fromname:r,toname:u,message:e,toemail:f}}).done(function(i){var r=eval(i);r.success=="true"?(DTLAddToCart(r.product_id,r.product_price,t,r.product_name),n==!0?document.location.href="/store/orderconfirmation/?action=buynow":(hideprogress(),$("#cartitemname").html(r.cartitemname),$("#cartitems").html(r.cartitems),showPopup("dv_itemadded"))):(hideprogress(),showerror(r.error))}).fail(function(){hideprogress();showerror(rdata.error)})}function AddToWishList(){showprogress();var n=GetSelectedOptions();$.ajax({"async":!0,url:"/secure/utils/ecommerce.aspx?apicall=addtowishlist",type:"POST",data:{product_id:product_id,opts:n}}).done(function(n){var t=eval(n);t.success=="true"?(hideprogress(),showerror(t.message)):(hideprogress(),showerror(t.error))}).fail(function(){hideprogress();showerror(rdata.error)})}function ResizeOptions(){$(".productOption").each(function(){var n=0,t=$(this).attr("id");$("#"+t+" .optbutton").each(function(){var t=$(this).width();t>n&&(n=t)});n=n+14;$("#"+t+" .optbutton").css("min-width",n+"px")})}function RateProduct(){var n=parseInt($("#txtrate").val()),t=$("#txtcomment").val();showprogress();$.ajax({"async":!0,url:"/secure/utils/ecommerce.aspx?apicall=rateproduct",type:"POST",data:{product_id:product_id,rating:n,comment:t}}).done(function(n){var t=eval(n);t.success=="true"?($(".review-write").hide(),closePopup("dv_review"),hideprogress(),showerror(t.message)):(hideprogress(),closePopup("dv_review"),showerror(t.error))}).fail(function(){closePopup("dv_review");hideprogress();showerror(rdata.error)})}function LoadAlsoViewed(n){$.ajax({"async":!0,url:"/secure/utils/ecommerce.aspx?apicall=loadalsoviewed",type:"POST",data:{product_id:n}}).done(function(n){var t=eval(n);t.success=="true"&&$("#prodMoreCol").append(t.records);$("#prodMoreCol").html()==""&&$("#prodMoreCol").parent().remove()}).fail(function(){})}var prevopts="";$(document).ready(function(){ActivateTubnails();
1$("#btnRemove").on("click",function(){var n=parseInt($("#txtQTY").val());n=n<2?1:n-1;$("#txtQTY").val(n)});$("#btnAdd").on("click",function(){var n=parseInt($("#txtQTY").val());n=n>99?99:n+1;$("#txtQTY").val(n)});$(".productOption .optbutton").on("click",function(){var t=$(this).attr("id"),n=$(this).attr("data-variation"),i=$(this).hasClass("selected");$("."+n).removeClass("selected");$(".optbutton").removeClass("unavailable");i?LoadSelections("",""):($(this).addClass("selected"),LoadSelections(n,t))});$("#btnAddToCart").on("click",function(){AddToCart(!1)});$("#btnAddToCartB").on("click",function(){AddToCart(!1)});$("#btnBuyNow").on("click",function(){AddToCart(!0)});$("#txtQTY").on("click",function(){$("#txtQTY").select()});$(".wishlist").on("click",function(){return AddToWishList(),!1});$(".review-write").on("click",function(){return showPopup("dv_review"),!1});$(".star").on("mouseover",function(){var n=parseInt($(this).attr("data-rating"));for(let t=1;t<6;t++)t>n?$("#star"+t).removeClass("goldenstar"):$("#star"+t).addClass("goldenstar")});$(".star").on("mouseout",function(){var n=parseInt($("#txtrate").val());for(let t=1;t<6;t++)t>n?$("#star"+t).removeClass("goldenstar"):$("#star"+t).addClass("goldenstar")});$(".star").on("click",function(){var n=parseInt($(this).attr("data-rating"));return $("#txtrate").val(n),!1});$("#btnSendR").on("click",function(){return RateProduct(),!1});ResizeOptions()});
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.