1ACC.productDetail={_autoload:["initPageEvents","bindVariantOptions","pdpLoadCrossSell","addToCartButtonCrossSell","pdpAddCrossSell","pdpDescriptionLimitLength","pdpMatchPillsWidth","pdpStickyImageComponent","pdpModalCLose","managePromoBadges","bindCrosssellPopupAccessibility"],checkQtySelector:function(c,f){var b=$(c).parents(".js-qty-selector").find(".js-qty-selector-input");var d=parseInt(b.val());var a=b.data("max");var g=$(c).parents(".js-qty-selector").find(".js-qty-selector-minus");var e=$(c).parents(".js-qty-selector").find(".js-qty-selector-plus");$(c).parents(".js-qty-selector").find(".btn").removeAttr("disabled");if(f=="minus"){if(d!=1){ACC.productDetail.updateQtyValue(c,d-1);if(d-1==1){g.attr("disabled","disabled")}}else{g.attr("disabled","disabled")}}else{if(f=="reset"){ACC.productDetail.updateQtyValue(c,1)}else{if(f=="plus"){if(d!=a){ACC.productDetail.updateQtyValue(c,d+1);if(d+1==a){e.attr("disabled","disabled")}}else{e.attr("disabled","disabled")}}else{if(f=="input"){if(d==1){$(c).parents(".js-qty-selector").find(".js-qty-selector-minus").attr("disabled","disabled")}else{if(d==a){$(c).parents(".js-qty-selector").find(".js-qty-selector-plus").attr("disabled","disabled")}else{if(d<1){ACC.productDetail.updateQtyValue(c,1);$(c).parents(".js-qty-selector").find(".js-qty-selector-minus").attr("disabled","disabled")}else{if(d>a){ACC.productDetail.updateQtyValue(c,a);$(c).parents(".js-qty-selector").find(".js-qty-selector-plus").attr("disabled","disabled")}}}}}}}}},updateQtyValue:function(b,c){var a=$(b).parents(".js-qty-selector").find(".js-qty-selector-input");var d=$(b).parents(".addtocart-component").find("#addToCartForm").find(".js-qty-selector-input");a.val(c);d.val(c)},initPageEvents:function(){$(document).on("click",".js-qty-selector .js-qty-selector-minus",function(){ACC.productDetail.checkQtySelector(this,"minus")});$(document).on("click",".js-qty-selector .js-qty-selector-plus",function(){ACC.productDetail.checkQtySelector(this,"plus")});$(document).on("keydown",".js-qty-selector .js-qty-selector-input",function(a){if(($(this).val()!=" "&&((a.which>=48&&a.which<=57)||(a.which>=96&&a.which<=105)))||a.which==8||a.which==46||a.which==37||a.which==39||a.which==9){}else{if(a.which==38){ACC.productDetail.checkQtySelector(this,"plus")}else{if(a.which==40){ACC.productDetail.checkQtySelector(this,"minus")}else{a.preventDefault()}}}});$(document).on("keyup",".js-qty-selector .js-qty-selector-input",function(a){ACC.productDetail.checkQtySelector(this,"input");ACC.productDetail.updateQtyValue(this,$(this).val())});$(window).on("load",function(){var a=$("button.bv_ratings_summary");function b(){a=$("button.bv_ratings_summary");a.on("click",function(d){if(window.innerWidth<1024){var c=$('#reviews:visible a[data-toggle^="collapse"]');if(c.hasClass("collapsed")){c.click()}document.querySelector('[data-bv-show="reviews"]').scrollIntoView()}else{$('.module-content a[href="#reviews"]').click()}})}if(a.length==0){$(window).bind("focus",function(){if(a.length==0){b()}})}else{b()}$("#hide-reviews").on("click",function(){$(this).hide();$("#show-reviews").show();$("#BVRRContainer").removeClass("out")});$("#show-reviews").on("click",function(){$(this).hide();$("#hide-reviews").show();$("#BVRRContainer").addClass("out")});if($("ol.bv-content-list li").length>0){$("#show-reviews").show();$("#BVRRContainer").addClass("collapse-review")}if(typeof buynowProducts!=="undefined"){let apiName="";if(isMps){apiName="mps"}else{if(isIntcomex){apiName="intcomex"}else{if(isKalunga){apiName="kalunga"}}}let productCodes=buynowProducts.join(",");if(apiName!==""){$.ajax({url:"/p/getProductInfos/"+apiName,data:{productCodes:productCodes},type:"GET",success:function(c){if(c!=null){$.each(c,function(d,e){if(e.showBuyNow){$("#buynow-link-"+e.productCode).removeClass("hidden");$("#buynow-link-"+e.productCode).attr("href",e.buyNowUrl)}})}},error:function(d,c){console.log(c)}})}}});$("#Size").on("change",function(){var b="";var a=0;$("#Size option:selected").each(function(){b=$(this).attr("value");a=$(this).attr("index")});if(a!=0){window.location.href=b}});$("#variant").on("change",function(){var b="";var a=0;$("#variant option:selected").each(function(){b=$(this).attr("value");a=$(this).attr("index")});if(a!=0){window.location.href=b}})},bindVariantOptions:function(){ACC.productDetail.bindCurrentStyle();ACC.productDetail.bindCurrentSize();ACC.productDetail.bindCurrentType()},bindCurrentStyle:function(){var a=$("#currentStyleValue").data("styleValue");var b=$(".styleName");if(a!=null){b.text(": "+a)}},bindCurrentSize:function(){var a=$("#currentSizeValue").data("sizeValue");var b=$(".sizeName");if(a!=null){b.text(": "+a)}},bindCurrentType:function(){var a=$("#currentTypeValue").data("typeValue");var b=$(".typeName");if(a!=null){b.text(": "+a)}},pdpLoadCrossSellFunction:function(){var d=$("#servicePlans__template__content");
1if(d.length>0){var c=d.data("sku");var a=d.data("reference-type");var b=d.data("url");ACC.productDetail.getCrossSellData(c,b,d)}},pdpLoadCrossSell:function(){$(document).ready(function(){ACC.productDetail.pdpLoadCrossSellFunction()})},getCrossSellDataCb:function(a,c,b){if(typeof a.products!=="undefined"&&a.products.length>0){$(".service-pan-wrapper-outer").removeClass("hide");if((a.products.length==1)){$(".servicePlans__template__collapse").hide();$(".servicePlans__template__viewallPlans").hide()}$(".service_plan_entry").html($("#tmplServicePlans").tmpl(a))}},getCrossSellData:function(c,a,b){var a=ACC.config.encodedContextPath+a;$.getJSON(a,{},function(d){ACC.productDetail.getCrossSellDataCb(d,c,b)})},pdpAddCrossSell:function(){$(document).on("click",".service-checkbox",function(){var b=$(this).data("sku");var a=$("input[name=crossSellProductCode]").val();if(this.checked){$("input[name=isCrossSellBoxChecked]").val(true)}else{$("input[name=isCrossSellBoxChecked]").val(false)}if(b==a){$("input[name=crossSellProductCode]").val("")}else{$("input[name=crossSellProductCode]").val(b)}$(this).focus()})},pdpDescriptionLimitLength:function(){var a=$(".details-section-wrapper").data("description-length");var e=$(".details-section-wrapper").data("read-more");var b=$(".details-section-wrapper").data("read-less");var h=$(".details-section-wrapper").data("id");var g=a;var d=e;var c=b;function f(i){return !$.trim(i.html())}$(".toggle-text .details").each(function(){var j=$(this).html();var i=j.substr(0,g);if($(this).text().length<g||f($(this))){return}$(".details-section-clone").html(i);setTimeout(function(){var k=$(".details-section-clone").height();$(".details-section-clone").addClass("hide");$(".details-section-wrapper").height(k);$(".details-section-wrapper").addClass("wrap-div")},500);$("<a href='javascript:void(0);' class='toggle-text-link' data-label_text_1='Read More' data-element_id="+h+" data-element_type='accordion'>"+d+"</a>").insertAfter(".details-section-wrapper")});$(".toggle-text-link").click(function(){if($(this).hasClass("less")){$(this).removeClass("less");$(".details-section-wrapper").addClass("wrap-div");$(".details-section-wrapper").removeClass("wrap-div-height");$(this).html(d);$(".toggle-text-link").attr("data-label_text_1",d)}else{$(this).addClass("less");$(".details-section-wrapper").removeClass("wrap-div");$(".details-section-wrapper").addClass("wrap-div-height");$(this).html(c);$(".toggle-text-link").attr("data-label_text_1",c)}})},pdpMatchPillsWidth:function(){$(".pills-list").each(function(){var b=$(this);var a=Math.max.apply(null,b.find(".long-pill").map(function(){return $(this).outerWidth(true)}).get());b.find(".long-pill").width(a)})},pdpStickyImageComponent:function(){var b=true;if($(".pdp-container-v3").length>0&&$(".sticky").height()<$(".product-info").height()){$(function(){var c=$(".productDetailsPageSection3 .sticky-wrapper").offset().top-$(".pdp-container-v3 .slider-nav").offset().top;$(window).scroll(function(){if(!b){if(c<192.65625){$(".sticky").addClass("absolute")}else{$(".sticky").removeClass("absolute")}}b=false});$(".sticky").addClass("absolute")});var a=0;window.addEventListener("scroll",function(){var d=document.querySelector(".info-top .name");var e=d.getBoundingClientRect();var f=$(".productDetailsPageSection3 .sticky-wrapper").offset().top-$(".pdp-container-v3 .slider-nav").offset().top;var c=window.pageYOffset||document.documentElement.scrollTop;if(e.top.toFixed()<20){$(".sticky").addClass("stick")}else{$(".sticky").removeClass("stick")}if(a==0){$(".sticky").addClass("absolute")}else{if(c>a){if(f<192.65625||f===117){$(".sticky").addClass("absolute")}}else{if(c<a){if(f<192.65625){$(".sticky").addClass("absolute")}}}}a=c<=0?0:c},false)}},pdpModalCLose:function(){$(".pdp-container-v3 .modal").on("shown.bs.modal",function(){$("html").css("overflow-y","hidden")});$(".pdp-container-v3 .modal").on("hidden.bs.modal",function(a){$("html").css("overflow-y","auto")})},managePromoBadges:function(){var a=$(".price-bugs-v3").find(".shipping");if(a.length==1){a.addClass("singlePromo");a.closest(".price-panel").addClass("singlePromo-container")}if(a.length==2){a.addClass("doublePromo");a.closest(".price-panel").addClass("doublePromo-container")}},bindCrosssellPopupAccessibility:function(){var j=".focusTrap";var g=null;var k=null;var n=null;var b=false;function o(){var p=$("#colorbox:visible");if(p.length){return p.first()}return $(".service-plan-popup:visible").first()}function d(p){return p.find(".crossell-btn-checkout .js-tl-lbbtn").first()}function h(p){var q=p.find("#paypal-mini-cart-button-container:visible").first();if(q.length){return q}return $("#paypal-mini-cart-button-container:visible").first()}
1function f(q){var p=q.find("#cboxClose:visible").first();if(p.length){return p}return $("#cboxClose:visible").first()}function a(q){var p=f(q);if(!p.length){return false}p.focus();n=p.get(0);return true}function l(p){var q=h(p);if(!q.length){return false}if(!q.is("[tabindex]")){q.attr("tabindex","0")}q.focus();n=q.get(0);return document.activeElement===q.get(0)}function i(p){var q=p&&p.length?p:$("#owl-service-plan");if(!q.length){return}q.find(".product-item .name").attr("tabindex","0");q.find(".product-item .service-checkbox").each(function(){var r=$(this);r.attr("tabindex",r.prop("disabled")?"-1":"0")});q.find(".product-item .crosssell-add-cart").attr("tabindex","-1");q.find(".product-item .thumb").attr("tabindex","-1");$("#paypal-mini-cart-button-container iframe, #crossell-btn-checkout iframe, #colorbox iframe[src*='paypal']").removeAttr("tabindex")}function e(p){return p.find("a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), iframe, [tabindex]:not([tabindex='-1'])").filter(function(){var A=$(this);var z=A.is(".product-item .thumb");var y=A.prop("disabled")||A.attr("aria-disabled")==="true";var u=A.attr("aria-hidden");var s=u==="true"||A.closest("[aria-hidden='true']").length>0;var r=A.is("input.service-checkbox");var q=A.closest(".owl-item.cloned").length>0;var v=r&&A.closest("#owl-service-plan").length>0;var w=A.is(":visible")||v;var t=r?true:!s;var x=!q;return w&&x&&t&&!z&&!y})}function m(q){var p=e(q);if(p.length){p.first().focus();n=p.first().get(0);return}if(!q.is("[tabindex]")){q.attr("tabindex","-1")}q.focus()}function c(u){if(u.key!=="Tab"&&u.keyCode!==9){return}b=!!u.shiftKey;var p=o();if(!p.length){return}var w=e(p);if(!w.length){u.preventDefault();return}u.preventDefault();var r=document.activeElement;var x=$(r);if(x.length){n=x.get(0)}var q=d(p);var t=h(p);if(!u.shiftKey&&x.is(q)){if(l(p)){return}a(p);return}if(u.shiftKey&&x.is(t)&&q.length){q.focus();n=q.get(0);return}if(!u.shiftKey&&x.is(t)&&a(p)){return}var v=w.index(r);var s;if(v<0){s=u.shiftKey?w.length-1:0}else{if(u.shiftKey){s=v===0?w.length-1:v-1}else{s=v===w.length-1?0:v+1}}w.eq(s).focus();n=w.eq(s).get(0)}$(document).off("keydown.crosssellCheckbox").on("keydown.crosssellCheckbox",".crosssell-checkbox-popup",function(p){if(p.key==="Enter"||p.key===" "){p.preventDefault();$(this).trigger("click")}});$("#servicePlans").off("keydown.serviceCheckbox").on("keydown.serviceCheckbox",".service-checkbox",function(p){if(p.key==="Enter"){p.preventDefault();$(this).trigger("click")}});$(document).off("click.crosssellPopup",".js-add-to-cart").on("click.crosssellPopup",".js-add-to-cart",function(p){k=p.currentTarget});$(document).off("cbox_closed.crosssellPopup").on("cbox_closed.crosssellPopup",function(){if(k){setTimeout(function(){if(document.body.contains(k)){k.focus()}},0)}$(document).off("keydown"+j);$(document).off("focusin"+j);n=null;b=false;if(g){g.disconnect();g=null}});$(document).off("cbox_complete.crosssellPopup").on("cbox_complete.crosssellPopup",function(){var p=$(".service-plan-popup:visible");if(!p.length){return}$("#cboxClose").attr("aria-label","Close Button");p.off("keydown.checkboxFix").on("keydown.checkboxFix",".service-checkbox",function(s){if(s.key===" "){var r=this;setTimeout(function(){r.focus()},0)}});p.find(".nav-tabs a").attr({tabindex:0,role:"tab"});p.off("keydown.tabs").on("keydown.tabs",".nav-tabs a",function(r){if(r.key==="Enter"||r.key===" "){r.preventDefault();$(this).click();$(this).focus()}});i(p);setTimeout(function(){var r=h(p);if(r.length&&!r.is("[tabindex]")){r.attr("tabindex","0")}},0);var q=document.querySelector("#owl-service-plan");if(q){if(g){g.disconnect()}g=new MutationObserver(function(){i($(q))});g.observe(q,{childList:true,subtree:true})}setTimeout(function(){if(p.is(":visible")){m(p)}},50);$(document).off("keydown"+j).on("keydown"+j,c);$(document).off("focusin"+j).on("focusin"+j,function(x){var r=o();if(!r.length||!x.target){return}var D=r.get(0);var z=x.target===document||x.target===document.body||x.target===document.documentElement;if(z){var t=e(r);var C=h(r);if(t.length&&n&&C.length&&n===C.get(0)){if(b){var w=d(r);if(w.length){w.focus();n=w.get(0)}}else{if(!a(r)){var B=t.index(n);var s=B>=0&&B<t.length-1?B+1:0;t.eq(s).focus();n=t.eq(s).get(0)}}}return}if(x.target===D||$.contains(D,x.target)){n=x.target;return}var y=e(r);var v=h(r);if(y.length&&n&&v.length&&n===v.get(0)){if(b){var u=d(r);if(u.length){u.focus();n=u.get(0);return}}else{if(a(r)){return}}var E=y.index(n);var A=E>=0&&E<y.length-1?E+1:0;y.eq(A).focus();n=y.eq(A).get(0);return}if(x.target!==D&&!$.contains(D,x.target)){m(r)}})})}};$(document).ready(function(){setTimeout(function(){$(window).scroll()},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.