PageSourceSearch

https://amerivintage.co.jp/cdn/shop/t/85/assets/custom-product.js?v=51497426686117321081749714180

js amerivintage.co.jp collected 2026-09-26 03:36:49 UTC 3,021 bytes, 2 lines download raw bytes

1document.addEventListener("DOMContentLoaded",function(){const thumbnails=document.querySelectorAll(".js-clickShowThumbnail");thumbnails.length>0&&thumbnails.forEach(function(thumbnail){thumbnail.addEventListener("click",function(){var imgElement=thumbnail.querySelector("img");if(imgElement){var idThumbnail=imgElement.getAttribute("alt"),targetThumbnail=document.querySelector('.product__thumbnail-list-inner .product__thumbnail-item[data-media-id="'+idThumbnail+'"]');targetThumbnail&&targetThumbnail.click()}})});const button_show_popup=document.querySelector("[data-atc-popup]"),form_product=document.querySelector(".c-card-product"),close_popup=document.querySelector("[data-close-atc-popup]"),button_trigger_popup=document.querySelector("[data-trigger-popup]"),close_modal=document.querySelector(".Modal__Close"),button_close_modal=document.querySelector(".js-CloseModal"),modal=document.querySelector(".c-modal");close_modal.addEventListener("click",function(){modal.setAttribute("aria-hidden","true")}),button_close_modal.addEventListener("click",function(){modal.setAttribute("aria-hidden","true")}),button_show_popup.addEventListener("click",function(){document.documentElement.classList.add("lock-all"),form_product.classList.add("is-showing-popup")}),close_popup.addEventListener("click",function(){document.documentElement.classList.remove("lock-all"),form_product.classList.remove("is-showing-popup")}),button_trigger_popup.addEventListener("click",function(){document.documentElement.classList.add("lock-all"),form_product.classList.add("is-showing-popup")}),window.addEventListener("click",function(t){t.target.classList.contains("popup__overlay")&&(document.documentElement.classList.remove("lock-all"),form_product.classList.remove("is-showing-popup"),modal.setAttribute("aria-hidden","true"))});const modal_form=document.querySelector(".js-showContactForm"),close_modal_form=document.querySelector(".modal__close"),close_popup_overlay=document.querySelector(".js-showContactForm .popup__overlay");close_modal_form.addEventListener("click",function(){modal_form.setAttribute("aria-hidden","true")}),close_popup_overlay.addEventListener("click",function(){modal_form.setAttribute("aria-hidden","true")}),document.querySelectorAll(".js-showForm").forEach(function(el_cta){el_cta.addEventListener("click",function(e){e.preventDefault(),document.querySelector(".js-showContactForm").setAttribute("aria-hidden","false");const data_form=el_cta.getAttribute("data-content-form"),checkExitFormContact=setInterval(function(){const textarea=document.querySelector(".globo-form-control textarea");textarea&&(clearInterval(checkExitFormContact),textarea.value=data_form)},100)})});const checkExitB2B=setInterval(function(){document.querySelector(".product-meta__price-list-container > span")&&(clearInterval(checkExitB2B),document.querySelector(".product-meta__price-list-container").classList.add("is-b2b"))},1e3)});
2//# sourceMappingURL=/cdn/shop/t/85/assets/custom-product.js.map?v=51497426686117321081749714180

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.