PageSourceSearch

https://joseph.jp/cdn/shop/t/26/assets/custom.js?v=76025984205146179161631246587

js joseph.jp collected 2026-10-05 01:02:13 UTC 8,676 bytes, 8 lines download raw bytes

1jQuery(function($){var menuOpen=$(".sidebar__menus").hasClass("opened");menuOpen&&$(".cart-overlay-background.show").css("opacity","0"),$(window).on("load resize",function(){var sliders=$("#shopify-section-16091151001915e4f4, #shopify-section-code-homme1, #shopify-section-code-studio, #shopify-section-code-studio-mens1");if($(window).width()<949)$(window).scroll(function(){var check=window.pageYOffset,docHeight=$(document).height(),dispHeight=$(window).height(),footerHeight=$("#shopify-section-footer .footer").innerHeight();check>docHeight-dispHeight-footerHeight?$(sliders).css("opacity","0"):$(sliders).css("opacity","1")});else{var dispWidth=$(".mount-slider").width();$(sliders).css("width",dispWidth),$(window).scroll(function(){var dispHeight=$(window).height(),slideHeight=$(".mount-slider .slide:first-child").height(),winScrollTop=$(this).scrollTop();winScrollTop>slideHeight?$(sliders).css({opacity:"0","z-index":"-1"}):$(sliders).css({opacity:"1","z-index":"10"})})}}),$(document).ready(function(){var hSize=$(window).height();$("body").height(hSize)}),$(window).resize(function(){var hSize=$(window).height();$("body").height(hSize)}),$('a[href^="#"]').click(function(){var speed=500,href=$(this).attr("href"),target=$(href=="#"||href==""?"html":href),position=target.offset().top;return $("html, body").animate({scrollTop:position},speed,"swing"),!1}),$(".stores-menu li a").click(function(){$("a").removeClass("selected"),$(this).addClass("selected")}),$(".template-article .share-link .text").text("Share this News"),$('.regular-select-item button[value="ja"]').text("JP"),$('.regular-select-item button[value="en"]').text("EN"),$("#shopify-section-collection .collection-title .product__vendor:not(:first-child)").remove(),$(window).on("load resize",function(){var textWidth=$(".template-product .product__text").innerWidth();$(".product-gallery__thumbnails--dots").css("right",textWidth+29)}),$(".template-product .share-link .text").text("Share this product"),$(".product-desc-title").on("click",function(){$(this).toggleClass("open"),$(this).next(".desc-value").slideToggle()}),$("#wishlist .wk-variant-link.wk-content").each(function(){$(this).after($("#wishlist .wk-add-item-form"))}),$(".faq-title").on("click",function(){$(this).toggleClass("open"),$(this).next(".answar-block").slideToggle()});let menuArray=[],arrayIndex=0,$sidebarMenu=$("#shopify-section-sidebar .primary-menu .sidebar__menu");$sidebarMenu.children("li").each(function(){$(this).hasClass("first-menu")&&menuArray.push([]),menuArray[arrayIndex].push($(this)),$(this).next().hasClass("first-menu")&&arrayIndex++}),$sidebarMenu.children(".has-second-submenu").find(".last-menu").hide();let firstElem,showFlag=!1,showIndex;for(let i=0;i<menuArray.length;i++){for(let j=0;j<menuArray[i].length;j++)if(menuArray[i][j].children("a").hasClass("selected")){showFlag=!0;break}if(showFlag){showIndex=i;break}}showIndex>-1&&$(window).on("load",function(){sidebarTabClick(showIndex)}),window.matchMedia("(min-width: 949px)").matches&&$sidebarMenu.children(".has-second-submenu").hover(function(){$(this).find(".last-menu").show()},function(){$(this).find(".last-menu").hide()}),$(".sp_nav_collection").click(function(e){e.preventDefault(),$(this).hasClass("active")?($(this).parents(".has-second-submenu").find(".last-menu").hide(200),$(this).removeClass("active")):($(this).parents(".has-second-submenu").find(".last-menu").show(200),$(this).addClass("active"))}),$(".sidebar__menu-handle, .sidebar__menus-close").on("click",function(){$(".sidebar__tabs__wrap").hasClass("opened")?($(".sidebar__tabs__wrap").removeClass("opened"),$(".sidebar-bottom .left-block").removeClass("opened")):($(".sidebar__tabs__wrap").addClass("opened"),$(".sidebar-bottom .left-block").addClass("opened"),$(window).width()<949&&$(".sidebar-bottom .left-block").css("top",window.innerHeight-42+"px"))}),$(".sidebar__tab").on("click",function(){let dataIndex=$(this).data("index");$(".sidebar__tab").removeClass("selected__tab"),$(this).addClass("selected__tab"),$sidebarMenu.children("li").addClass("submenu-hide");for(let i=0;i<menuArray[dataIndex].length;i++)menuArray[dataIndex][i].removeClass("submenu-hide")}),$(".sidebar__responsive-handles").click(function(){$("#sidebarTabJosephstudio").hasClass("selected__tab")?$(".sidebar__menus.opened").addClass("active-joseph-studio"):$(".sidebar__menus.opened").removeClass("active-joseph-studio")}),$("#sidebarTabJosephstudio").click(function(){$(".sidebar__menus.opened").addClass("active-joseph-studio")}),$("#sidebarTabJoseph").click(function(){$(".sidebar__menus.opened").removeClass("active-joseph-studio")}),$(".sp-menu-only.sp-nav-accordion").click(function(e){e.preventDefault(),$(this).hasClass("active")?($
1(this).parents(".has-second-submenu").find(".last-menu").hide(200),$(this).removeClass("active"),$(this).text("\uFF0B")):($(this).parents(".has-second-submenu").find(".last-menu").show(200),$(this).addClass("active"),$(this).text("\u30FC"))});function sidebarTabClick(index){$(".sidebar__tab").each(function(){$(this).data("index")==index&&$(this).trigger("click")})}if($(window).on("load",function(){$(".sidebar__menu .has-submenu > a").off("touchstart"),$(".sidebar__search-handle").off("click")}),$("body").attr("id")==="joseph-ec"||$("body").attr("id")==="joseph-homme"||$("body").attr("id")==="joseph-studio"){let $sidebarIcons=$(".sidebar__menu-handle span, .sidebar__search-handle img, .sidebar__cart-handle");$(window).on("load scroll",function(){$(window).scrollTop()>0?$sidebarIcons.removeClass("sidebar__icon--unscrolled"):$sidebarIcons.addClass("sidebar__icon--unscrolled")})}$("#addAdressBtn").on("click",function(){$("#add_address").show(),$(".error-message").hide()}),$("#submitBtn").on("click",function(){$(".template-addresses input:invalid + .error-message").show()}),$(window).on("load",function(){$(".template-page-contact .error-message").hide(),$("#ContactSubmitBtn").on("click",function(){$(".template-page-contact input:invalid + .error-message").show(),$(".template-page-contact textarea:invalid + .error-message").show()})}),$(".shopify-policy__container").removeClass("shopify-policy__container"),$(".legal-wrap .returns").attr("id","returnsProduct"),$(function(){var urlHash=location.hash;urlHash&&($("body,html").stop().scrollTop(0),setTimeout(function(){var headerHight=0,target=$(urlHash),position=target.offset().top-headerHight;$("body,html").stop().animate({scrollTop:position},400)},100))}),$(window).on("load resize",function(){$(window).width()>949&&$(".product-item").hover(function(){$(this).find(".wk-button-product").fadeIn()},function(){$(this).find(".wk-button-product").fadeOut()})}),$(".mount-slider .slide").each(function(){var color=$(this).find(".slide__button .button").data("color");$(this).find(".slide__button .button").css({color,"border-color":color})}),$(".product__content .desc-value .washing-icon").hover(function(){let washingIndex=$(this).data("index"),$washingIcon0Elm=$(".product__content .desc-value .washing-icon[data-index=0]"),$washingDiscription0Elm=$(".product__content .desc-value .washing-description[data-index=0]");$washingIcon0Elm.hasClass("active")&&washingIndex!=0&&($washingDiscription0Elm.addClass("closed"),$washingIcon0Elm.removeClass("active")),$('.product__content .desc-value .washing-description[data-index="'+washingIndex+'"]').removeClass("closed")},function(){let washingIndex=$(this).data("index");$('.product__content .desc-value .washing-description[data-index="'+washingIndex+'"]').addClass("closed")}),$(window).on("load",function(){let pathname=location.pathname;if(!pathname.includes("pages")&&!pathname.includes("contact"))return;let productHandle=getParam("handle"),productTitle=getParam("title"),contactFormMessageElm=$("#contactFormMessage"),contactFormMessageTemp=`----------------------------------------
2\u5546\u54C1\u306E\u5728\u5EAB\u72B6\u6CC1\u78BA\u8A8D\u30EA\u30AF\u30A8\u30B9\u30C8
3\u30FB\u5546\u54C1\u30CF\u30F3\u30C9\u30EB\uFF1A\u3010${productHandle}\u3011
4\u30FB\u5546\u54C1\u540D\uFF1A\u3010${productTitle}\u3011
5----------------------------------------
6\u2193 \u305D\u306E\u4ED6\u3001\u3054\u8CEA\u554F\u304C\u3054\u3056\u3044\u307E\u3057\u305F\u3089\u3054\u5165\u529B\u304F\u3060\u3055\u3044 \u2193
7`;productHandle&&productTitle&&contactFormMessageElm.val(contactFormMessageTemp)});function getParam(name,url){url||(url=window.location.href),name=name.replace(/[\[\]]/g,"\\$&");var regex=new RegExp("[?&]"+name+"(=([^&#]*)|&|#|$)"),results=regex.exec(url);return results?results[2]?decodeURIComponent(results[2].replace(/\+/g," ")):"":null}});
8//# sourceMappingURL=/cdn/shop/t/26/assets/custom.js.map?v=76025984205146179161631246587

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.