PageSourceSearch

https://www.herbestnet.jp/view/asset/user-16-1-3-28a647e89ceddac8ab46b15c5cd29e32.js

js herbestnet.jp collected 2026-10-08 12:16:19 UTC 7,103 bytes, 231 lines download raw bytes

1$('<img src="https://gigaplus.makeshop.jp/herbest/newpage/images/webp/img-nav-01h.webp">');
2$('<img src="https://gigaplus.makeshop.jp/herbest/newpage/images/webp/img-nav-02h.webp">');
3$('<img src="https://gigaplus.makeshop.jp/herbest/newpage/images/webp/img-nav-03h.webp">');
4$('<img src="https://gigaplus.makeshop.jp/herbest/newpage/images/webp/img-nav-04h.webp">');
5$('<img src="https://gigaplus.makeshop.jp/herbest/newpage/images/webp/img-nav-05h.webp">');
6$('<img src="https://gigaplus.makeshop.jp/herbest/newpage/images/webp/img-nav-06h.webp">');
7
8(function (d) {
9  var config = {
10      kitId: "qjo2gag",
11      scriptTimeout: 3000,
12      async: true,
13    },
14    h = d.documentElement,
15    t = setTimeout(function () {
16      h.className = h.className.replace(/\bwf-loading\b/g, "") + " wf-inactive";
17    }, config.scriptTimeout),
18    tk = d.createElement("script"),
19    f = false,
20    s = d.getElementsByTagName("script")[0],
21    a;
22  h.className += " wf-loading";
23  tk.src = "https://use.typekit.net/" + config.kitId + ".js";
24  tk.async = true;
25  tk.onload = tk.onreadystatechange = function () {
26    a = this.readyState;
27    if (f || (a && a != "complete" && a != "loaded")) return;
28    f = true;
29    clearTimeout(t);
30    try {
31      Typekit.load(config);
32    } catch (e) {}
33  };
34  s.parentNode.insertBefore(tk, s);
35})(document);
36
37$(function () {
38  /* ページトップへ */
39  var appear = false;
40  var pagetop = $("#page_top");
41  $(window).scroll(function () {
42    if ($(this).scrollTop() > 100) {
43      //100pxスクロールしたら
44      if (appear == false) {
45        appear = true;
46        pagetop.stop().animate(
47          {
48            bottom: "50px",
49          },
50          400
51        );
52      }
53    } else {
54      if (appear) {
55        appear = false;
56        pagetop.stop().animate(
57          {
58            bottom: "-140px",
59          },
60          400
61        );
62      }
63    }
64  });
65  pagetop.click(function () {
66    $("body, html").animate({ scrollTop: 0 }, 500); //0.5秒かけてトップへ戻る
67    return false;
68  });
69
70  //GlovalMenu Mouseover
71  $("nav .li-main > a").on("mouseover", function () {
72    // var imgName = $(this).children("img").attr("src").replace(".png", "h.png");
73    var imgName = $(this).children("img").attr("src").replace(".webp", "h.webp");
74    $(this).children("img").attr("src", imgName);
75  });
76  //GlovalMenu Mouseout
77  $("nav .li-main > a").on("mouseout mouseup", function () {
78    // var imgName = $(this).children("img").attr("src").replace("h.png", ".png");
79    var imgName = $(this).children("img").attr("src").replace("h.webp", ".webp");
80    $(this).children("img").attr("src", imgName);
81  });
82
83  // MegaMenu
84  $("#gloval-nav .list-1").hover(
85    function () {
86      $(this).find(".megaMenu-wrap").stop().slideDown().animate({ opacity: 1 }, { queue: false, duration: 500 });
87    },
88    function () {
89      $(this).find(".megaMenu-wrap").stop().slideUp().animate({ opacity: 0 }, { queue: false, duration: 500 });
90    }
91  );
92
93  /* メニューボタン */
94  var menuon = 0;
95  $("#menu-btn").on("click", function () {
96    if (menuon) {
97      $(".menu-trigger").removeClass("active");
98      $(".sp-menu").removeClass("active");
99      $("main, footer").removeClass("spmenuOpen");
100      $("#menu-text").text("メニュー");
101      //gsapMenuClose();
102      menuon = 0;
103    } else {
104      $(".menu-trigger").addClass("active");
105      $(".sp-menu").addClass("active");
106      $("main, footer").addClass("spmenuOpen");
107      $("#menu-text").text("閉じる");
108      //gsapMenuOpen();
109      menuon = 1;
110    }
111  });
112
113  /* カレンダー特定日の設定*/
114  $(".dayList").each(function () {
115    var month = $(this).attr("data-month");
116    var day = $(this).attr("data-day");
117    var color = $(this).attr("data-color");
118
119    $(".makeshop-calendar" + month + " .day" + day).css({
120      "background-color": color,
121      color: "#EC5B92",
122      "font-weight": "bold",
123    });
124  });
125
126  /* footer birds */
127  s11x = $(window).width();
128  s10x = 100;
129  e = 0;
130  s = setInterval(function () {
131    if (s10x > $(window).width()) s10x = 0;
132    if (s11x < 0) s11x = $(window).width();
133
134    $("#symbol10").css({
135      left: s10x + "px",
136      top: 500 + 10 * Math.sin(0.005 * e * Math.PI) + "px",
137    });
138    $("#symbol11").css({
139      left: s11x + "px",
140      top: 520 + 5 * Math.sin(0.005 * e * Math.PI) + "px",
141    });
142    s11x -= 0.3;
143    s10x += 0.5;
144    e++;
145  }, 20);
146});
147// AccountMenu
148function openAccountMenu() {
149  $("#account-sub-menu-wrap").stop().slideToggle().animate({ opacity: 1 }, { queue: false, duration: 500 });
150}
151/* sp用サブメニュー表示 */
152function openProductMenu() {
153  $("#gloval-nav-sp .megaMenu-wrap").stop().slideToggle().animate({ opacity: 1 }, { queue: false, duration: 500 });
154  $("#gloval-nav-sp .list-1 > a > i").toggleClass("menu-open");
155}
156function openAccountMenuSP() {
157  $("#gloval-menu-sp #account-menu-wrap").stop().slideToggle().animate({ opacity: 1 }, { queue: false, duration: 500 });
158  $("#gloval-menu-sp .list-2 > a > i").toggleClass("menu-open");
159}
160function gsapMenuOpen() {
161  gsap.to(".sp-menu", { duration: 0.5, opacity: 1, zIndex: 9999 });
162}
163function gsapMenuClose() {
164  gsap.to(".sp-menu", { duration: 0.5, opacity: 0, zIndex: -9999 });
165}
166
167$(function () {
168  $("input.spinner_up, input.spinner_down").on("click", function () {
169    var step = 1;
170    var min = 1;
171    var max = 100;
172
173    var counter = $(this).attr("data-spinner");
174    var productnum = $(".productnum").val();
175    var productnum = parseInt(productnum);
176
177    if (counter == "up") {
178      productnum += step;
179    }
180    if (counter == "down") {
181      productnum -= step;
182    }
183
184    if (productnum < min) {
185      productnum = min;
186    }
187    if (max < productnum) {
188      productnum = max;
189    }
190
191    $(".productnum").val(productnum);
192  });
193
194  $(".multi-image-wrap:first").addClass("selected");
195
196  $(".multi-image-wrap").on("click", function () {
197    $(".item-image-box>img").attr("src", $(this).children("img").attr("src"));
198    $(".multi-image-wrap").removeClass("selected");
199    $(this).addClass("selected");
200  });
201
202  /* レビューへの移動 */
203  $("#toReview-trigger").on("click", function () {
204    var href = $(this).attr("href");
205    var target = $(href == "#" || href == "" ? "html" : href);
206    var position = target.offset().top;
207    $("body, html").animate({ scrollTop: position }, 400, "swing");
208    return false;
209  });
210
211  $(".slide-items").slick({
212    lazyLoad: "ondemand",
213    autoplay: true,
214    arrows: true,
215    dots: true,
216  });
217});
218
219let video_frame_1 = document.getElementById("youtube_video_1");
220let video_observer_1 = new IntersectionObserver(
221  function (entries) {
222    if (entries[0].isIntersecting) {
223      video_frame_1.src = video_frame_1.getAttribute("data-src");
224      video_observer_1.unobserve(video_frame_1);
225    }
226  },
227  {
228    threshold: [0],
229  }
230);
231video_observer_1.observe(video_frame_1);

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.