1var player_videos=[],tag=document.createElement("script");tag.src="https://www.youtube.com/player_api?"+Math.random();var firstScriptTag=document.getElementsByTagName("script")[0];firstScriptTag.parentNode.insertBefore(tag,firstScriptTag),$(function(){$("img.lazyload").each(function(){if(!$(this).attr("src")){let src2=$(this).data("src");$(this).attr("src",src2)}$(this).addClass("lazyloaded")}),$("#product-tab-bar").parents(".shopify-section").addClass("psc-tabbar-sticky"),$(".psc-tabbar-item").click(function(){let name=$(this).data("name"),headerHeight=$("sticky-header").outerHeight(!0)+$(".psc-tabbar").outerHeight(!0);$(this).addClass("active").siblings().removeClass("active");let target=null;if(name=="review"&&$("#am-reviews-carousel-shadow-container-production").height()>0?target=$("#am-reviews-carousel-shadow-container-production"):$(`.psc-content-item-${name}`).height()>0?target=$(`.psc-content-item-${name}`):target=$(`.${name}`).eq(0),target&&target.length){let scrollTop=window.scrollY||document.body.scrollTop||document.documentElement.scrollTop,targetOffset=target[0].getBoundingClientRect().top+scrollTop-headerHeight;$("html, body").animate({scrollTop:targetOffset},500)}else console.warn("Target element not found");return!1}),$(".warranty-content .option-item").each(function(){let title=$(this).find(".title").text();$(this).find(".title").data("status",!1);let title_html=`<span>${title}</span><span class="icon-box"><svg t="1625025564018"class="icon"viewBox="0 0 1024 1024"version="1.1"xmlns="http://www.w3.org/2000/svg"p-id="2646"width="200"height="200"><path d="M959.429379 343.214852 890.590548 274.378068 511.268336 653.699256 131.944078 274.378068 63.105247 343.214852 501.1857 781.294282 521.348925 781.294282Z"p-id="2647"></path></svg></span>`;$(this).find(".title").html(title_html)}),$(".warranty-content .faq_need_gray span").each(function(){let content=$(this).text(),first="",last="",content_html="";content.indexOf(":")!=-1&&(first=content.split(":")[0],last=content.split(":")[1],content_html=`<div class="cell"><span>${first}</span>:<span>${last}</span></div>`,$(this).html(content_html)),content.indexOf("\uFF1A")!=-1&&(first=content.split("\uFF1A")[0],last=content.split("\uFF1A")[1],content_html=`<div class="cell"><span>${first}</span>:<span>${last}</span></div>`,$(this).html(content_html))}
1),$(".warranty-content .option-item").click(function(){let title=$(this).find(".title")[0];if($(title).next(".content").slideToggle(),$(title).data("status")){$(title).find(".icon-box").removeClass("rotate"),$(title).data("status",!1);return}else{$(title).find(".icon-box").addClass("rotate"),$(title).data("status",!0);return}})});let theme=window.theme||{};theme.AjaxProduct=(function(){var status={loading:!1};function ProductForm($form){this.$form=$form,this.$addToCart=this.$form.find(".add-to-cart"),this.$form.length&&this.$form.on("submit",this.addItemFromForm.bind(this))}return ProductForm.prototype=$.extend({},ProductForm.prototype,{addItemFromForm:function(evt,callback){if(evt.preventDefault(),status.loading)return;this.$addToCart.addClass("btn--loading"),status.loading=!0;let variantId=this.$form.find('input[name="id"]').val(),items=[];items.push({id:variantId,quantity:1});let formData={items};const dlCartLL=document.querySelector("dl-cart-ll"),_cart=dlCartLL;dlCartLL&&typeof dlCartLL.getRenderSection=="function"&&(formData.sections=dlCartLL.getRenderSection()),formData.sections_url=window.location.pathname,fetch(window.Shopify.routes.root+"cart/add.js",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(formData)}).then(response=>response.json()).then(response=>{publish(PUB_SUB_EVENTS.cartUpdate,{source:"product-form",productVariantId:variantId,cartData:response}
1),_cart&&typeof _cart.renderContents=="function"&&_cart.renderContents(response)}).catch(error=>{console.error("Error:",error)}).finally(()=>{status.loading=!1,this.$addToCart.removeClass("btn--loading"),_cart&&_cart.classList.contains("is-empty")&&_cart.classList.remove("is-empty")})}}),ProductForm})();var fullscreenLen=$(".home-fullscreen-video").length,fullscreenSectionId=[],play_fullscreenVideoArr=[],vimeo_sectionId=[],vimeo_player=[],mp4_sectionId=[],mp4_player=[];function onYouTubePlayerAPIReady(){if(fullscreenLen)for(let i=0;i<fullscreenLen;i++){var sectionId=$(".home-fullscreen-video").eq(i).attr("data-section-id"),videoId=$(`.home-fullscreen-video-${sectionId} #fullscreenYoutube-${sectionId}`).attr("data-video-id"),vimeo=$(`.home-fullscreen-video-${sectionId} #vimeo_video_${sectionId}`),mp4=$(`.home-fullscreen-video-${sectionId} #mp4_video_${sectionId}`),hasAutoplay=$(`.home-fullscreen-video-${sectionId}`).hasClass("autoplay");if(videoId){fullscreenSectionId.push(sectionId);var player=new YT.Player("fullscreenYoutube-"+sectionId,{height:"100%",width:"100%",videoId,playerVars:{color:"white",controls:hasAutoplay?0:1,loop:1,showinfo:0,rel:0},events:{onReady:onPlayerReady,onStateChange:onPlayerStateChange}});play_fullscreenVideoArr.push(player)}vimeo.length&&(vimeo_player.push(new Vimeo.Player(vimeo)),vimeo_sectionId.push(sectionId)),mp4.length&&(mp4_player.push(mp4),mp4_sectionId.push(sectionId))}}function onPlayerReady(event){}function onPlayerStateChange(event){event.data==YT.PlayerState.PLAYING}$(".home-fullscreen-video .video-overlap-image").click(function(){var type=$(this).attr("data-section-type"),clickedSectionId=$(this).attr("data-section-id"),specialFlag=$(this).attr("data-special-flag");if(type=="mp4"){for(let j=0;j<mp4_player.length;j++)if(mp4_sectionId[j]==clickedSectionId){mp4_player[j][0].play(),$(`.video_wrap_${clickedSectionId} .video_image_wrap`).css("z-index","-1");break}}else if(type=="vimeo"){for(let j=0;j<vimeo_player.length;j++)if(vimeo_sectionId[j]==clickedSectionId){vimeo_player[j].setVolume(.1),vimeo_player[j].play(),$(`.video_wrap_${clickedSectionId} .video_image_wrap`).css("z-index","-1");break}}else for(let j=0;j<play_fullscreenVideoArr.length;j++)if(fullscreenSectionId[j]==clickedSectionId&&play_fullscreenVideoArr[j]){specialFlag?($(window).width()>821&&($(this).find("img").css("opacity","0"),$(this).find(".play-btn").css("display","none"),$(`.home-fullscreen-video-${clickedSectionId} .media-box`).css("display","block")),$(window).width()<=820&&($(this).find("img").css("display","none"),$(this).find(".play-btn").css("display","none"),$(`.home-fullscreen-video-${clickedSectionId} .media-box`).css("display","block"))):($(this).find("img").css("opacity","0"),$(this).find(".play-btn").css("display","none"),$(`.video_wrap_${clickedSectionId} .video_image_wrap`).css("z-index","-1"),$(`.home-fullscreen-video-${clickedSectionId} .media-box`).css("display","block")),play_fullscreenVideoArr[j].playVideo(),setInterval(function(){let cur_sec=play_fullscreenVideoArr[j].getCurrentTime();play_fullscreenVideoArr[j].getDuration()-cur_sec<=2&&play_fullscreenVideoArr[j].seekTo(0)},100);break}}),$(function(){$(".dl-product-star-h-stars").click(function(){$("#psc-tabbar .page-width .psct-inner .psc-tabbar-item").each(function(index,item){if(item.dataset.name=="review"){$(item).click();return}})})}); 2//# sourceMappingURL=/cdn/shop/t/117/assets/dl-for-old-section-h.js.map?v=19816857967579139111768283913
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.