PageSourceSearch

https://www.aslaj.com/view/asset/user-1-1-3-9ac476700be12aeca7a20b32468a3557.js

js aslaj.com collected 2026-10-07 18:27:07 UTC 21,279 bytes, 614 lines download raw bytes

1/******/ (function(modules) { // webpackBootstrap
2/******/ 	// The module cache
3/******/ 	var installedModules = {};
4
5/******/ 	// The require function
6/******/ 	function __webpack_require__(moduleId) {
7
8/******/ 		// Check if module is in cache
9/******/ 		if(installedModules[moduleId])
10/******/ 			return installedModules[moduleId].exports;
11
12/******/ 		// Create a new module (and put it into the cache)
13/******/ 		var module = installedModules[moduleId] = {
14/******/ 			exports: {},
15/******/ 			id: moduleId,
16/******/ 			loaded: false
17/******/ 		};
18
19/******/ 		// Execute the module function
20/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
21
22/******/ 		// Flag the module as loaded
23/******/ 		module.loaded = true;
24
25/******/ 		// Return the exports of the module
26/******/ 		return module.exports;
27/******/ 	}
28
29
30/******/ 	// expose the modules object (__webpack_modules__)
31/******/ 	__webpack_require__.m = modules;
32
33/******/ 	// expose the module cache
34/******/ 	__webpack_require__.c = installedModules;
35
36/******/ 	// __webpack_public_path__
37/******/ 	__webpack_require__.p = "";
38
39/******/ 	// Load entry module and return exports
40/******/ 	return __webpack_require__(0);
41/******/ })
42/************************************************************************/
43/******/ ([
44/* 0 */
45/***/ (function(module, exports) {
46
47	var menuState = false;
48	var dropState = false;
49
50	$(document).ready(function() {
51	  // 初期化
52	  sNavOut('.header__nav');
53
54	  // スライダー(slick)
55	 if($('.mainSlider').length){
56	    $('.mainSlider').slick({
57	      dots: true,
58	      arrow: true,
59	      infinite: true,
60	      slidesToShow: 1,
61	      slidesToScroll: 1,
62	      autoplay: true,
63	      autoplaySpeed: 5000,
64	      lazyLoad: 'progressive',
65	    });
66	  }else{
67
68	  }
69	  if($('.contentsSlider').length){
70	    $('.contentsSlider').each(function() {
71
72	      var pcshow = $(this).data('pcshow') ? $(this).data('pcshow') : 15;
73	      var pcscroll = $(this).data('pcscroll') ? $(this).data('pcscroll') : 4;
74	      var spshow = $(this).data('spshow') ? $(this).data('spshow') : 2;
75	      var spscroll = $(this).data('spscroll') ? $(this).data('spscroll') : 2;
76	      var infinite = true;
77	      if($(this).hasClass('itemList--ranking')){infinite = false;}
78	      $(this).slick({
79	        dots: false,
80	        arrow: true,
81	        infinite: infinite,
82	        lazyLoad: 'progressive',
83	        slidesToShow: pcshow,
84	        slidesToScroll: pcscroll,
85	        autoplay: true,
86	        autoplaySpeed: 5000,
87	        speed:150,
88	        swipeToSlide:true,
89	        responsive: [{
90	          breakpoint: 991,  //ブレイクポイントを指定
91	          settings: {
92	            slidesToShow: 3,
93	            slidesToScroll: 3,
94	          },
95	          breakpoint: 768,
96	          settings: {
97	            slidesToShow: spshow,
98	            slidesToScroll: spscroll,
99	          }
100	        }]
101	      });
102	    });
103	  }
104	  if($('.mainSlider--typeB').length){
105		  var slider = ".mainSlider--typeB"; // スライダー
106		  var thumbnailItem = ".msThumbnail .msThumbnail__item"; // サムネイル画像アイテム
107
108		  // サムネイル画像アイテムに data-index でindex番号を付与
109		  $(thumbnailItem).each(function(){
110		   var index = $(thumbnailItem).index(this);
111		   $(this).attr("data-index",index);
112		  });
113
114		  // スライダー初期化後、カレントのサムネイル画像にクラス「thumbnail-current」を付ける
115		  // 「slickスライダー作成」の前にこの記述は書いてください。
116		  $(slider).on('init',function(slick){
117		   var index = $(".slide-item.slick-slide.slick-current").attr("data-slick-index");
118		   $(thumbnailItem+'[data-index="'+index+'"]').addClass("thumbnail-current");
119		  });
120
121		  //slickスライダー初期化
122		  $(slider).slick({
123		    autoplay: true,
124		    arrows: true,
125	      infinite: true,
126		  });
127		  //サムネイル画像アイテムをクリックしたときにスライダー切り替え
128		  $(thumbnailItem).on('click',function(){
129		    var index = $(this).attr("data-index");
130		    $(slider).slick("slickGoTo",index,false);
131		  });
132
133		  //サムネイル画像のカレントを切り替え
134		  $(slider).on('beforeChange',function(event,slick, currentSlide,nextSlide){
135		    $(thumbnailItem).each(function(){
136		      $(this).removeClass("thumbnail-current");
137		    });
138		    $(thumbnailItem+'[data-index="'+nextSlide+'"]').addClass("thumbnail-current");
139		  });
140		}
141
142	  if($('.mainVisual--integrate').length && $('.hdr--integrate').length){
143	    $('.hdr--integrate').addClass('active');
144	    $(window).on('scroll', function(event) {
145	      var scroll = $(window).scrollTop();
146	      if (scroll > 300 ){
147	        $('.hdr--integrate').addClass('integrate--fixed');
148	      }else{
149	        $('.hdr--integrate').removeClass('integrate--fixed');
150	      }
151	    });
152
153	  }
154
155	});
156
157	// ハンバーガーメニュー展開
158	$(document).on('click', '.menuToggle', function() {
159	  $('#drawer').toggleClass('open');
160	  $('#overlay').toggleClass('open');
161	  $('body').toggleClass('open');
162	  return false;
163	});
164
165	$(document).on('click', '.menuClose', function() {
166	  $('#drawer').removeClass('open');
167	  $('#overlay').removeClass('open');
168	  $('body').removeClass('open');
169	  return false;
170	});
171
172	// SPのみアコーディオン
173	$(document).on('click', '.sp-toggle', function() {
174	  var windowWidth = $(window).width();
175	  if (windowWidth < 768) {
176	    $(this).next('ul').slideToggle();
177	    $(this).toggleClass('open');
178	  }
179	});
180
181	$(document).on('click', '.hdrSearch--toggle > span,.hdrSearch--toggle > a', function() {
182	  $(this).next().slideToggle();
183	  if($(this).find('.material-icons').text() == 'search'){
184	    $(this).find('.material-icons').text('close');
185	  }else if($(this).find('.material-icons').text() == 'close'){
186	    $(this).find('.material-icons').text('search');
187	  }
188	  return false;
189	});
190
191
192	// ナビゲーション 子要素展開
193	$(function() {
194	  var ua = navigator.userAgent;
195	  // タブレット・スマートフォン時
196	  if ((ua.indexOf('iPhone') > 0 || ua.indexOf('Android') > 0) && ua.indexOf('Mobile') > 0||ua.indexOf('iPad') > 0) {
197	    $('.hasChildren > a').on('mouseenter touchstart', function(){
198	      $(this).toggleClass('open');
199	      $(this).next('ul,.megaMenu').toggleClass('open');
200	      return false;
201	    }).on('mouseleave touchend', function(){
202	          return false;
203	    });
204	    $('.hasChildren .hasChildren--close > a').on('mouseenter touchstart', function(){
205	      $(this).parents('ul').removeClass('open').prev('a').removeClass('open');
206	      return false;
207	    });
208
209	  }else{
210	  // PC時
211	    $('.hasChildren').hover(function() {
212	      $(this).children('a').addClass('open');
213	      $(this).children('ul,.megaMenu').addClass('open');
214	    }, function() {
215	      $(this).children('a').removeClass('open');
216	      $(this).children('ul,.megaMenu').removeClass('open');
217	    });
218	  }
219	});
220
221	$(document).on('click', '.hasChildren--click > a,.hasChildren--click > span', function() {
222	  if (dropState == false) {
223	    $(this).addClass('open');
224	    $(this).next('ul').addClass('open');
225	    $(this).next('ul').slideDown();
226	    dropState = true;
227	  } else {
228	    if ($(this).hasClass('open')) {
229	      $(this).removeClass('open');
230	      $(this).next('ul').removeClass('open');
231	      $(this).next('ul').slideUp();
232	    } else {
233	      $(this).parents('li').parents('ul').parents('.gNav').find('.hasChilds > span').removeClass('open');
234	      $(this).parents('li').parents('ul').parents('.gNav').find('.hasChilds > span').next('ul').removeClass('open');
235	      $(this).parents('li').parents('ul').parents('.gNav').find('.hasChilds > span').next('ul').slideUp(0);
236	      $(this).addClass('open');
237	      $(this).next('ul').addClass('open');
238	      $(this).next('ul').slideDown();
239	    }
240	  }
241	  return false;
242	});
243
244	// SPヘッダーD カテゴリーナビ
245	$(document).on('click', '.hdrCatMenu--toggle', function() {
246	  if($(this).hasClass('open')){
247	    $(this).removeClass('open');
248	    $(this).next('ul').removeClass('open');
249	    $(this).next('ul').slideUp();
250	  }else{
251	    $('.hdrCatMenu--toggle.open').next('ul').hide();
252	    $('.hdrCatMenu--toggle.open').next('ul').removeClass('open');
253	    $('.hdrCatMenu--toggle.open').removeClass('open');
254	    $(this).addClass('open');
255	    $(this).next('ul').addClass('open');
256	    $(this).next('ul').slideDown();
257	  }
258	  return false;
259	});
260
261
262	// ナビ固定
263	$(function() {
264	  var target = $(".hdrFixed");
265	  if($(".hdrFixed").length){
266	    var h = target.height();
267	    var h_top = target.offset().top;
268	    target.after('<div class="h_box"></div>');
269	    $(".h_box").height("0");
270	    $(window).on('load scroll', function(event) {
271	      var scroll = $(window).scrollTop();
272	      if (scroll >
272= h_top) {
273	        target.css({
274	          position: 'fixed',
275	          top: '0px',
276	          width: '100%',
277	          'z-index': '10000',
278	          'box-shadow': '0px 2px 3px rgb(0 0 0 / 25%)'
279	        });
280	        $(".h_box").height(h);
281	      } else {
282	        target.css({
283	          position: '',
284	          'box-shadow': 'none'
285	        });
286	        $(".h_box").height("0");
287	      }
288	    });
289	  }
290	});
291
292
293	function sNavIn(_this) {
294	  var windowWidthMinus = document.documentElement.clientWidth * -1;
295	  $(_this).addClass('open');
296	  $('.menuBg--close').addClass('open');
297	  $(_this).css({
298	    'left': 0
299	  });
300	}
301
302	function sNavOut(_this) {
303	  var windowWidthMinus = document.documentElement.clientWidth * -1;
304	  $(_this).removeClass('open');
305	  $('.menuBg--close').removeClass('open');
306	  $(_this).css({
307	    'left': windowWidthMinus
308	  });
309	}
310
311	// タブ切り替え
312	$(function() {
313	  $(".tabSwitch > li ").click(function() {
314	    if (!$(this).hasClass('active')) {
315	      $(this).parents('.tabSwitch').find('li').removeClass('active');
316	      $(this).addClass('active');
317
318	      var tabNum = $(this).index();
319	      $(this).parents(".tab").find(".tabContents").find(".tabContent").hide();
320	      $(this).parents(".tab").find(".tabContents").find(".tabContent").eq(tabNum).fadeIn("500");
321	    }
322	  });
323	});
324
325	// スクロールボタン
326	$(function() {
327	  if ($('.mainSliderSec').length || $('.mainVisual').length) {
328	    if($('.mainVisual--hero').length){
329	      var position = $(window).height();
330	    }else if ($('.mainSliderSec').length) {
331	      var position = $(".mainSliderSec + * ").offset().top;
332	    }else{
333	      var position = $(".mainVisual + * ").offset().top;
334	    }
335	    $("#scrollBtn").click(function() {
336	      $("html,body").animate({
337	        scrollTop: position // さっき変数に入れた位置まで
338	      }, {
339	        queue: false // どれくらい経過してから、アニメーションを始めるか。キュー[待ち行列]。falseを指定すると、キューに追加されずに即座にアニメーションを実行。
340	      });
341	      return false;
342	    });
343	  }
344	});
345
346	// テキスト横スクロール
347	var spSwiperDone = false;
348	$(window).on('load resize', function(event) {
349	  if (window.innerWidth < 992 && spSwiperDone == false && $(".spSwiper").length) {
350	    $('.spSwiper').slick({
351	      autoplay: false,
352	      speed: 300,
353	      slidesToShow: 1,
354	      slidesToScroll: 1,
355	      centerMode: false,
356	      variableWidth: true,
357	      touchMove: true,
358	      swipeToSlide: true,
359	      infinite: false
360	    });
361
362	    spSwiperDone= true;
363	  }
364	});
365
366	// コマクリの商品カルーセル解除
367	// if($(".wow").length){
368	// $('.fs-c-productListCarousel__list__itemTrack').each(function() {
369	//   // 商品表示パーツのクラスを付与
370	//   $(this).addClass('itemList itemList--typeC itemList-pc--4 itemList-sp--2');
371	//   $(this).parents('.fs-c-productListCarousel__list').removeClass('fs-c-productListCarousel__list').addClass('ccItemListContainer');
372	//   $(this).removeClass('fs-c-productListCarousel__list__itemTrack');
373	//   $(this).find('article.fs-c-productListCarousel__list__item.fs-c-productListItem').each(function() {
374	//     $(this).removeClass('fs-c-productListCarousel__list__item fs-c-productListItem').addClass('itemList__unit');
375	//     // 商品名
376	//     var name = $(this).find('.fs-c-productListItem__productName .fs-c-productName__name').text();
377	//     // 画像をdataLazyから抽出してパース
378	//     var dataLazy = '';
379	//     var img = '';
380	//     $(this).find('img.fs-c-productImage__image').each(function() {
381	//       dataLazy = $(this).attr('data-lazy');
382	//       $(this).attr('src', dataLazy);
383	//     });
384	//     if (dataLazy != '') {
385	//       img = '<img src="' + dataLazy + '" alt="' + name + '" class="itemImg" />';
386	//     }
387	//     // 商品URL
388	//     var url = $(this).find('.fs-c-productListItem__productName a').attr('href');
389	//     // 価格
390	//     var price = $(this).find('.fs-c-productListItem__prices.fs-c-productPrices').html();
391	//     // 在庫表示
392	//     var stockClass = $(this).find('.fs-c-productListItem__lowInStock.fs-c-productListItem__notice.fs-c-productStock').attr('class');
393	//     console.log(stockClass);
394	//     var stock = $(this).find('.fs-c-productListItem__lowInStock.fs-c-productListItem__notice.fs-c-productStock').html();
395	//     if (stock != undefined) {
396	//       stock = '<div class="' + stockClass + '">' + stock + '</div>';
397	//     } else {
398	//       stock = '';
399	//     }
400	//     // ボタン&お気に入り
401	//     var btn = $(this).find('.fs-c-productListItem__control.fs-c-buttonContainer');
402	//     // パース
403	//     var html = '<a class="itemWrap" href="' + url + '">' + img + '<p class="itemName">' + name + '</p>' + price + stock + '</a>';
404	//
405	//     $(this).html(html);
406	//
407	//     $('.fs-c-productListCarousel__ctrl').hide();
408	//   });
409	//
410	//   $('.fs-c-button--carousel').hide();
411	// });
412
413	// クリモ検索エンター
414	$('.search-keyword').on('keypress', function(e) {
415	    if (e.keyCode == 13) {
416	        var index = $('.search-keyword').index(this);
417	        $('.search-url')[index].click();
418	    }
419	});
420
421	// クリモカレンダー
422	$(function(){
423	    $('.dayList').each(function(){
424	        var month = $(this).attr('data-month');
425	        var day = $(this).attr('data-day');
426	        var color = $(this).attr('data-color');
427	        $('.makeshop-calendar' + month +' .day' + day).css({
428	            'background-color': color,
429	            'color': '#fff',
430	            'font-weight': 'bold'
431	        });
432	    });
433	});
434
435	if($(".wow").length){
436	  $(window).on('scroll',function(){
437	    console.log('');
438	    $(".wow").each(function(){
439	      var position = $(this).offset().top;
440	      var height = $(this).height();
441	      var scroll = $(window).scrollTop();
442	      var windowHeight = $(window).height();
443	      if (scroll > position - windowHeight + windowHeight / 4 ){
444	        $(this).addClass('animated');
445	      }
446	    });
447	  });
448	}
449
450
451	// _creatorMode Cart
452	$('#cp_toggle01_bg').on('click', function() {
453	  console.log('a');
454	    if($('#cp_toggle01').prop('checked')){
455	        $('#cp_toggle01').prop('checked', false);
456	      }
457	    if($('#cp_toggle04').prop('checked')){
458	        $('#cp_toggle04').prop('checked', false);
459	    }
460	});
461	$('.cp_toggle04').on('click', function() {
462	  if ($('#cp_toggle01').prop('checked')) {
463	    $('#cp_toggle01').prop('checked', false);
464	  }
465	});
466
467	$('.cp_toggle01').on('click', function() {
468	  if ($('#cp_toggle04').prop('checked')) {
469	    $('#cp_toggle04').prop('checked', false);
470	  }
471	});
472
473	function updateCart(data)
474	{
475	    // 買い物カゴの商品数を更新
476	    var quantity = getCartQuantity(data.totalQuantity);
477	    $('.cartAmount', parent.document).html(quantity);
478
479	    // 買い物カゴをリロード
480	    var url = $('.cart-object', parent.document).attr('data');
481	    $('.cart-object', parent.document).attr('data', url);
482	}
483
484	// 買い物カゴの商品数を取得する(商品詳細ページでも利用)
485	function getCartQuantity(totalQuantity)
486	{
487	    var quantity = '';
488
489	    if (totalQuantity == 0) {
490	        quantity = '';
491	    } else if (totalQuantity < 100) {
492	        quantity = totalQuantity;
493	    } else {
494	        quantity = '99+';
495	    }
496
497	    return quantity;
498	}
499
500	$(function() {
501	  if($('#catepage-page-common-search-data').length){
502	    initCustomSearchForm($('#catepage-page-common-search-data'));
503	  }
504	  if($('#side-page-common-search-data').length){
505	    initCustomSearchForm($('#side-page-common-search-data'));
506	  }
507	});
508
509	function initCustomSearchForm(pageData)
510	{
511	    var searchUrl = pageData.attr('data-search-url');
512	    var keywordId = pageData.attr('data-id-keyword');
513	    var priceLowId = pageData.attr('data-id-price-low');
514	    var priceHighId = pageData.attr('data-id-price-high');
515	    var categoryId = pageData.attr('data-id-category');
516	    var originalCodeId = pageData.attr('data-id-original-code');
517
518	    $('[href="' + searchUrl + '"]').on('click', function() {
519	        var index = $('[href="' + searchUrl + '"]').index(this);
520	        var keyword = getFormValue(keywordId, index);
521	        var priceLow = getFormValue(priceLowId, index);
522	        var priceHigh = getFormValue(priceHighId, index);
523	        var category = getFormValue(categoryId, index);
524	        var originalCode = getFormValue(originalCodeId, index);
525
526	        $.ajax({
527	            url: '/shop/shopsearch_url.html',
528	            type: 'POST',
529	            data: JSON.stringify({
530	                'keyword': keyword,
531	                'price_low': priceLow,
532	                'price_high': priceHigh,
533	                'category': category,
534	                'original_code': originalCode
535	            }),
536	            contentType: 'application/json',
537	            dataType: 'json'
538	        }).done(function(data) {
539	            if (!data.result) {
540	                openModalMessage(data.error.message);
541	                return;
542	            }
543	            location.href = data.url;
544	        });
545
546	        return false;
547	    });
548	}
549
550	function getFormValue(dataId, index)
551	{
552	    var result = $('[data-id="' + dataId + '"]').eq(index).val();
553	    return (result === undefined) ? '' : result;
554	}
555
556
557/***/ })
558/******/ ]);
559
560// exp ここから
561if(!window.ExpSc){var ExpSc={f:0,h:"",m:{},c:function(){ExpSc.h=(location.protocol=="https:"?"https:":"http:");var i=document.createElement("img");i.style.display="none";i.onload=function(){ExpSc.f=2;};i.onerror=function(){ExpSc.f=1;};i.src=ExpSc.h+"//aslaj.ec-optimizer.com/img/spacer.gif?t="+(new Date-0);document.body.appendChild(i);},r:function(u,i,p){ if(!ExpSc.f){setTimeout(function(){ExpSc.r(u,i,p);},9);}else if(ExpSc.f==2){ if(i){ if(ExpSc.m[i])return;ExpSc.m[i]=1;}var s=document.createElement("script");s.type="text/javascript";s.charset="UTF-8";if(i)s.id=i;for(var k in p)s.setAttribute(k,p[k]);s.src=ExpSc.h+u+"?t="+(new Date/(1<<20)|0);document.body.appendChild(s);}},s:function(){ if(document.readyState.match(/(^u|g$)/)){ if(document.addEventListener){document.addEventListener("DOMContentLoaded",ExpSc.c,!1);}else{setTimeout(ExpSc.s,0);}}else{ExpSc.c();}}};ExpSc.s();}
562var expscrec=function(){ if(!window.ExpSc){setTimeout(expscrec,9);}else{ExpSc.r("//aslaj.ec-optimizer.com/speights/dynrecs3.js","fsrecommend",{});}};expscrec();
563// exp ここまで
564function MakeShop_afterItemOptionChange(data) {
565  if (data.isSoldout) {
566    $('.instock').removeClass('on').addClass('off');
567    $('.outstock').removeClass('off').addClass('on');
568  } else {
569    $('.instock').removeClass('off').addClass('on');
570    $('.outstock').removeClass('on').addClass('off');
571  }
572}
573if (!$('.item-info-list > dt').length) {
574  $('.item-info-list').hide();
575  $('.itemDescription--detail:empty').hide();
576  $('.itemDescription--detail:empty').prev('h3').hide();
577}
578
579  $('.js-detailSlider').slick({
580    infinite: true,
581    adaptiveHeight: true,
582    slidesToShow: 1,
583    slidesToScroll: 1,
584    arrows: true,
585    dots: true,
586    appendDots:$('.detailSlider'),
587    customPaging: function(slider, i) {
588      var thumbSrc = $(slider.$slides[i]).find('img').attr('src');
589      return '<img src="' + thumbSrc + '">';
590    }
591  });
592	$('.js-detailSlider .slick-dots').appendTo('.js-detailSlider');
593
594// SKUモーダル
595$(document).on('click', '#skuModalOpen', function() {
596    $('#skuModal__bg').addClass('open');
597    $('#skuModal').addClass('open');
598    return false;
599});
600$(document).on('click', '#skuModal__bg,#skuModal__close', function() {
601    $('#skuModal__bg').removeClass('open');
602    $('#skuModal').removeClass('open');
603    return false;
604});
605
606//商品画像ズーム
607var options = {
608    title: false,
609    tooltip: false,
610    rotatable: false,
611    fullscreen: false,
612    toolbar: false,
613};
614const gallery = new Viewer(document.getElementById('zoomer'), options);

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.