PageSourceSearch

https://t-hikari.com/js/scripts.js

js t-hikari.com collected 2026-10-07 18:20:46 UTC 26,468 bytes, 701 lines download raw bytes

1// noRequire jQuery
2/* ------------------------------------------------------------
3 * [ smoothScroll ] plugin
4 * ------------------------------------------------------------
5 * scrollsmoothly.js
6 * Copyright (c) 2008 KAZUMiX
7 * http://d.hatena.ne.jp/KAZUMiX/20080418/scrollsmoothly
8 * Licensed under the MIT License:
9 * http://www.opensource.org/licenses/mit-license.php
10 * ------------------------------------------------------------ 
11(function(){
12   var easing             = 0.25;
13   var interval           = 40;
14   var d                  = document;
15   var targetX            = 0;
16   var targetY            = 0;
17   var targetHash         = '';
18   var scrolling          = false;
19   var splitHref          = location.href.split('#');
20   var currentHref_WOHash = splitHref[0];
21   var incomingHash       = splitHref[1];
22   var prevX = null;
23   var prevY = null;
24
25   // ドキュメント読み込み完了時にinit()を実行する
26   addEvent(window, 'load', init);
27
28   // ドキュメント読み込み完了時の処理
29   function init(){
30     // ページ内リンクにイベントを設定する
31     setOnClickHandler();
32     // 外部からページ内リンク付きで呼び出された場合
33     if(incomingHash){
34       if(window.attachEvent && !window.opera){
35         // IEの場合はちょっと待ってからスクロール
36         setTimeout(function(){scrollTo(0,0);setScroll('#'+incomingHash);},50);
37       }else{
38         // IE以外はそのままGO
39         scrollTo(0, 0);
40         setScroll('#'+incomingHash);
41       }
42     }
43   }
44
45   // イベントを追加する関数
46   function addEvent(eventTarget, eventName, func){
47     if(eventTarget.addEventListener){
48       // モダンブラウザ
49       eventTarget.addEventListener(eventName, func, false);
50     }else if(window.attachEvent){
51       // IE
52       eventTarget.attachEvent('on'+eventName, function(){func.apply(eventTarget);});
53     }
54   }
55   function setOnClickHandler(){
56     var links = d.links;
57     for(var i=0; i<links.length; i++){
58       // ページ内リンクならスクロールさせる
59       var link = links[i];
60       var splitLinkHref = link.href.split('#');
61       if(currentHref_WOHash == splitLinkHref[0] && d.getElementById(splitLinkHref[1])){
62         addEvent(link, 'click', startScroll);
63       }
64     }
65   }
66   function startScroll(event){
67     // リンクのデフォルト動作を殺す
68     if(event){ // モダンブラウザ
69       event.preventDefault();
70       //alert('modern');
71     }else if(window.event){ // IE
72       window.event.returnValue = false;
73       //alert('ie');
74     }
75     // thisは呼び出し元になってる
76     setScroll(this.hash);
77   }
78   function setScroll(hash){
79     // ハッシュからターゲット要素の座標をゲットする
80     var targetEle = d.getElementById(hash.substr(1));
81     if(!targetEle)return;
82     //alert(scrollSize.height);
83     // スクロール先座標をセットする
84     var ele = targetEle;
85     var x = 0;
86     var y = 0;
87     while(ele){
88       x += ele.offsetLeft;
89       y += ele.offsetTop;
90       ele = ele.offsetParent;
91     }
92     var maxScroll = getScrollMaxXY();
93     targetX = Math.min(x, maxScroll.x);
94     targetY = Math.min(y, maxScroll.y);
95     targetHash = hash;
96     // スクロール停止中ならスクロール開始
97     if(!scrolling){
98       scrolling = true;
99       scroll();
100     }
101   }
102   function scroll(){
103     var currentX = d.documentElement.scrollLeft||d.body.scrollLeft;
104     var currentY = d.documentElement.scrollTop||d.body.scrollTop;
105     var vx       = (targetX - currentX) * easing;
106     var vy       = (targetY - currentY) * easing;
107     var nextX    = currentX + vx;
108     var nextY    = currentY + vy;
109     if((Math.abs(vx) < 1 && Math.abs(vy) < 1) || (prevX === currentX && prevY === currentY)){
110       // 目標座標付近に到達していたら終了
111       scrollTo(targetX, targetY);
112       scrolling = false;
113       location.hash = targetHash;
114       prevX = prevY = null;
115       return;
116     } else{
117       // 繰り返し
118       scrollTo(parseInt(nextX), parseInt(nextY));
119       prevX = currentX;
120       prevY = currentY;
121       setTimeout(function(){scroll()},interval);
122     }
123   }
124   function getDocumentSize(){
125     return {width:Math.max(document.body.scrollWidth, document.documentElement.scrollWidth), height:Math.max(document.body.scrollHeight, document.documentElement.scrollHeight)};
126   }
127   function getWindowSize(){
128     var result = {};
129     if(window.innerWidth){
130       var box = d.createElement('div');
131       with(box.style){
132         position   = 'absolute';
133         top        = '0px';
134         left       = '0px';
135         width      = '100%';
136         height     = '100%';
137         margin     = '0px';
138         padding    = '0px';
139         border     = 'none';
140         visibility = 'hidden';
141       }
142       d.body.appendChild(box);
143       var width = box.offsetWidth;
144       var height = box.offsetHeight;
145       d.body.removeChild(box);
146       result = {width:width, height:height};
147     }else{
148       result = {width:d.documentElement.clientWidth || d.body.clientWidth, height:d.documentElement.clientHeight || d.body.clientHeight};
149     }
150     return result;
151   }
152   function getScrollMaxXY() {
153     if(window.scrollMaxX && window.scrollMaxY){
154       return {x:window.scrollMaxX, y:window.scrollMaxY};
155     }
156     var documentSize = getDocumentSize();
157     var windowSize = getWindowSize();
158     return {x:documentSize.width - windowSize.width, y:documentSize.height - windowSize.height};
159   }
160 }());
161
162// require jQuery JavaScript Library v1.10.2
163/* ============================================================
164 * defineFoundationVariable
165 * ============================================================ */
166
167/* ------------------------------------------------------------
168 * [ userAgent ]
169 * ------------------------------------------------------------ */
170var ua      = window.navigator.userAgent;
171var appVer  = window.navigator.appVersion;
172
173var isIE    = ua.indexOf('MSIE') != -1;
174var isIE6   = isIE && appVer.indexOf('MSIE 6') != -1;
175var isIE7   = isIE && appVer.indexOf('MSIE 7.') != -1;
176var isIE8   = isIE && ua.indexOf('Trident/4.') != -1;
177var isIE9   = isIE && ua.indexOf('Trident/5.') != -1;
178var isIE10  = isIE && ua.indexOf('Trident/6.') != -1;
179var isIE11  = ua.indexOf('Trident/7.') != -1;
180
181var isFirefox         = ua.indexOf('Firefox') != -1;
182var isChrome          = ua.indexOf('Chrome') != -1;
183var isAndroid         = ua.indexOf('Android') != -1;
184var isMobileSafari    = ua.match(/iPhone|iPad|iPod/i) ? true : false;
185var isMobileAndroid   = isAndroid && ua.indexOf('Mobile') != -1;
186var isAndroidChrome   = isChrome && isAndroid;
187var isAndroidFirefox  = isFirefox && isAndroid;
188var isMobileFirefox   = isFirefox && ua.indexOf('Mobile') != -1;
189var isTabletFirefox   = isFirefox && ua.indexOf('Tablet') != -1;
190var isOperaMini       = ua.indexOf('Opera Mini') != -1;
191var isMobile          = isAndroid || isMobileAndroid || isMobileSafari || isAndroidChrome || isMobileFirefox || isTabletFirefox || isOperaMini;
192
193/* ------------------------------------------------------------
194 * [ motionConfig ]
195 * ------------------------------------------------------------ */
196var animateInterval = 500;
197var easingFunction  = 'easeOutCirc'; // http://easings.net/ja
198
199
200/* ------------------------------------------------------------
201 * [ commonlyUsed ]
202 * ------------------------------------------------------------ */
203var open    = 'js-open';
204var close   = 'js-close';
205var current = 'current';
206
207var MQsmartPhoneMIN = 1;
208var MQsmartPhoneMAX = 480;
209var MQtabletMIN     = 481;
210var MQtabletMAX     = 853;
211var MQpcMIN         = 854;
212
213
214(function($) {
215/* ------------------------------------------------------------
216 * [ globalVariable ]
217 * ------------------------------------------------------------ */
218var $window = $(window);
219var isWindowWidth = $window.width();
220
221
222/* ============================================================
223 * Execute JavaScript when the DOM is fully loaded.
224 * ============================================================ */
225$(document).on('ready', function() {
226/* ------------------------------------------------------------ */
227$('.js-rollover img').rollOver();
228$('.nav-back-to-top').peeKaBoo(100);
229
230
231/* ------------------------------------------------------------
232 * [ CMS ModalPopUpWindow UI ]
233 * ------------------------------------------------------------ */
234$('.js-popup-anchor').append('<div class="bg-trigger"></div>');
235
236
237/* ------------------------------------------------------------
238 * [ changeCountry ]
239 * ------------------------------------------------------------ */
240var currentCountry = $('.ui-dropdown-menu').find('.current').text();
241$('#nav-switch-lang .callback .trigger').text(currentCountry);
242$('#callback').on('click', function() {
243  var $menu       = $('.ui-dropdown-menu');
244  var $trigger    = $('#nav-switch-lang .callback .trigger');
245  var $body       = $('body');
246  var statusOpen  = $menu.hasClass(open);
247  var statusClose = $menu.hasClass(close);
248
249  $body.append('<div id="overLay" class="extend"></div>');
250
251  var $documentHeight = $(document).height();
252  var $overLay        = $('#overLay');
253
254  $overLay.css({'min-height':$documentHeight});
255
256  if(statusOpen === true){
257    $menu.removeClass(open).addClass(close);
258    $trigger.removeClass(open).addClass(close);
259  } else if(statusClose === true){
260    $menu.removeClass(close).addClass(open);
261    $trigger.removeClass(close).addClass(open);
262  }
263
264  $overLay.on('click', function() {
265    $menu.removeClass(open).addClass(close);
266    $trigger.removeClass(open).addClass(close);
267    $overLay.remove();
268  });
269});
270
271
272/* ------------------------------------------------------------
273 * [ Accordion Menu UI ]
274 * ------------------------------------------------------------ */
275$('.js-trigger-nav').on('click', function() {
276  var $menu       = $('#nav-global-link-outer');
277  var $document   = $('#document');
278  var $body       = $('body');
279
280  var statusOpen  = $menu.hasClass(open);
281  var statusClose = $menu.hasClass(close);
282
283  if(statusOpen === true){
284    $document.animate({'left':'0'}, animateInterval, easingFunction);
285    $body.removeClass('nav-off-canvas');
286    $menu.removeClass(open).addClass(close);
287    $document.css('min-height','0');
288    setTimeout(function(){
289      $menu.css('min-height','0');
290    },animateInterval);
291    var documentHeight = $document.height();
292    $document.css('min-height',documentHeight);
293
294  } else if(statusClose === true){
295    var documentHeight = $document.height();
296    $menu.css('min-height',documentHeight);
297    $document.css('min-height',documentHeight);
298    $document.animate({'left':'270px'}, animateInterval, easingFunction);
299    $body.addClass('nav-off-canvas');
300    $menu.removeClass(close).addClass(open);
301  } else{
302    var documentHeight = $document.height();
303    $menu.css('min-height',documentHeight);
304    $document.css('min-height',documentHeight);
305    $document.animate({'left':'270px'}, animateInterval, easingFunction);
306    $menu.animate({'left':'0'}, animateInterval, easingFunction);
307    $body.addClass('nav-off-canvas');
308    $menu.removeClass(close).addClass(open);
309  }
310});
311/* ------------------------------------------------------------ */
312$('.js-trigger-nav2').on('click', function() {
313
314  var $menu       = $('.wrap-elem-btm');
315  var $btn        = $('#header .btn-nav-global2');
316
317  var statusOpen  = $menu.hasClass(open);
318  var statusClose = $menu.hasClass(close);
319
320  $menu.stop(true, true).slideToggle(animateInterval);
321  if(statusOpen === true){
322    $menu.removeClass(open).addClass(close);
323    $btn.removeClass(current);
324  } else if(statusClose === true){
325    $menu.removeClass(close).addClass(open);
326    $btn.addClass(current);
327  }
328});
329/* ------------------------------------------------------------ */
330var timer = false;
331$(window).resize(function() {
332    if (timer !== false) {
333      clearTimeout(timer);
334    }
335    timer = setTimeout(function() {
336      var tabletSizeMax = 853 - 18;
337      var windowWidth = $(window).width();
338      if(tabletSizeMax < windowWidth){
339        $('.nav-all').css('display','block');
340      }
341      if(tabletSizeMax > windowWidth){
342        var checkClass = $('.nav-all').hasClass(close);
343        if(checkClass === true){
344          $('.nav-all').css('display','none');
345        }
346      }
347    }, 100);
348});
349var openCheck = $('.nav-all').hasClass(open);
350if(openCheck === true){
351  $('.js-trigger-nav3').addClass('current');
352}
353$('.js-trigger-nav3').on('click', function() {
354
355  var $menu       = $('.nav-all');
356  var $btn        = $('#sub .nav-sub-link .hdg,#sub .hdg.sp');
357  var $this       = $(this);
358
359  var statusOpen  = $menu.hasClass(open);
360  var statusClose = $menu.hasClass(close);
361
362  $menu.stop(true, true).slideToggle(animateInterval);
363  if(statusOpen === true){
364    $menu.removeClass(open).addClass(close);
365    $this.removeClass(current);
366    setTimeout(function(){
367      $btn.removeClass(current);
368    },500);
369  } else if(statusClose === true){
370    $menu.removeClass(close).addClass(open);
371    $this.addClass(current);
372    setTimeout(function(){
373      $btn.addClass(current);
374    },500);
375  }
376});
377/* ------------------------------------------------------------ */
378var checkFlgDonate = $('.js-trigger-nav4').prev('.nav-toggle-ui .inner').hasClass('js-open');
379if(checkFlgDonate === true){
380  $('.js-trigger-nav4').addClass('current');
381}
382$('.js-trigger-nav4').on('click', function() {
383  var $menu       = $('.nav-toggle-ui .inner');
384  var $btn        = $('.nav-toggle-ui .btn-toggle-ui,.nav-toggle-ui.sp .hdg');
385
386  var statusOpen  = $menu.hasClass(open);
387  var statusClose = $menu.hasClass(close);
388
389  $menu.stop(true, true).slideToggle(animateInterval);
390  if(statusOpen === true){
391    $menu.removeClass(open).addClass(close);
392    $btn.removeClass(current);
393    if(!isMobile){
394      $('.disp-pc2').show();
395    }
396  } else if(statusClose === true){
397    $menu.removeClass(close).addClass(open);
398    $btn.addClass(current);
399    if(!isMobile){
400      $('.disp-pc2').show();
401    }
402  }
403});
404/* ------------------------------------------------------------ */
405$('.js-trigger-nav5').on('click', function() {
406  if($(window).width() <= 480){
407    var $this       = $(this);
408    var statusOpen  = $this.hasClass(open);
409    var statusClose = $this.hasClass(close);
410
411    $this.next('.toggle-ui-content').stop().slideToggle(animateInterval);
412    if(statusOpen == true){
413      $this.removeClass(open).addClass(close);
414    } else if(statusClose == true){
415      $this.removeClass(close).addClass(open);
416    }
417  }
418});
419var timer = false;
420$window.resize(function() {
421    if (timer !== false) {
422      clearTimeout(timer);
423    }
424    timer = setTimeout(function() {
425      var isWindowWidth = $window.width();
426      if(isWindowWidth > MQsmartPhoneMAX || isIE8){//PCView
427        $('.js-trigger-nav5').next('.toggle-ui-content.js-close').removeAttr('style');
428      } else if(isWindowWidth < MQsmartPhoneMAX) {//SmartPhoneView
429        $('.js-trigger-nav5').on('click', function() {
430          if($(window).width() <= 480){
431            var $this       = $(this);
432            var statusOpen  = $this.hasClass(open);
433            var statusClose = $this.hasClass(close);
434
435            if(statusOpen == true){
436              $this.removeClass(open).addClass(close);
437            } else if(statusClose == true){
438              $this.removeClass(close).addClass(open);
439            }
440          }
441        });
442      }
443    }, 100);
444});
445
446	
447// MY PAGE
448$('.btn_mypage_trg').on('click', function () {
449	$(this).toggleClass('on');
450	$('.modal_csc').fadeToggle();
451//		$('body').toggleClass('active');
452});
453
454
455// 
456$('.btn_el_trg').on('click', function () {
457	$(this).toggleClass('on');
458	$('.modal_el').fadeToggle();
459});
460	
461
462// Close modal
463var modalClose = function modalClose() {
464	$('[modal-btn-close]').on('click', function () {
465		$('.modal').fadeOut();
466	});
467}
468
469modalClose();
470
471
472/* ------------------------------------------------------------
473 * [ reView ]
474 * ------------------------------------------------------------
475 *  remove Attr "viewport"
476 * ------------------------------------------------------------ */
477if(isMobile){
478  $('.txt-copyright').prepend('<p id="btn-viewmode"><a href="#" target="_blank" id="mode-desktop"><span>PCサイトへ移動</span></a></p>');
479
480  $('#mode-desktop').on('click', function() {
481    var pathName        = window.location.pathname;
482    var deskTopViewPath = pathName + "?viewport=no";
483
484    $(this).attr('href',deskTopViewPath);
485  });
486  $('body.donation #btn-viewmode').show();
487}
488});//End -> ready method
489
490
491/* ============================================================
492 * Attach an event handler function for one or more events to the selected elements.
493 * ============================================================ */
494/* ------------------------------------------------------------
495 * [ selectAreaPanelUI ]
496 * ------------------------------------------------------------ */
497$(document).on('click', '.js-global-switch', function() {
498  $(this).selectAreaPanelUI();
499});//End -> live(on) method
500
501
502/* ============================================================
503 * Plugin
504 * ============================================================ */
505
506/* ------------------------------------------------------------
507 * [ peeKaBoo ]
508 * ------------------------------------------------------------
509 *  add smoothscroll extend.
510 * ------------------------------------------------------------ */
511$.fn.peeKaBoo = function(scrollSizeY) {
512  return this.each(function() {
513    var $this    = $(this);
514    var $window  = $(window);
515    var num      = scrollSizeY;
516
517    $this.addClass(close);
518
519    function peeKaBooIn()  { $this.removeClass(close).fadeIn();}
520    function peeKaBooOut() { $this.fadeOut().addClass(close);}
521
522    function peeKaBooInOldies()  { $this.removeClass(close).show();}
523    function peeKaBooOutOldies() { $this.hide().addClass(close);}
524
525    $window.scroll(function () {
526     if ($window.scrollTop() > num) {
527       if(isIE8){
528         peeKaBooInOldies();
529       } else {
530         peeKaBooIn();
531       }
532     } else {
533       if(isIE8){
534         peeKaBooOutOldies();
535       } else {
536         peeKaBooOut();
537       }
538     }
539    });
540  });
541};
542
543/* ------------------------------------------------------------
544 * [ rollOver ]
545 * ------------------------------------------------------------ */
546$.fn.rollOver = function() {
547  return this.each(function() {
548  var suffix    = '-on';
549  var imgsrc    = this.src;
550  var dot       = this.src.lastIndexOf('.');
551  var imgsrc_on = this.src.substr(0, dot) + suffix + this.src.substr(dot, 4);
552
553  $('<img />').attr('src',imgsrc_on);
554  if (!isMobile){
555    $(this).hover(
556      function() { this.src = imgsrc_on;},
557      function() { this.src = imgsrc; }
558    );
559    }
560  });
561};
562})(jQuery);
563
564
565/* ------------------------------------------------------------
566 * [ jQuery Cookie Plugin v1.3.1 ]
567 * ------------------------------------------------------------
568 * https://github.com/carhartl/jquery-cookie
569 *
570 * Copyright 2013 Klaus Hartl
571 * Released under the MIT license
572 * ------------------------------------------------------------ */
573(function (factory) {
574  if (typeof define === 'function' && define.amd) {
575    define(['jquery'], factory);
576  } else {
577    factory(jQuery);
578  }
579}(function ($) {
580  var pluses = /\+/g;
581  function raw(s) {
582    return s;
583  }
584  function decoded(s) {
585    return decodeURIComponent(s.replace(pluses, ' '));
586  }
587  function converted(s) {
588    if (s.indexOf('"') === 0) {
589      s = s.slice(1, -1).replace(/\\"/g, '"').replace(/\\\\/g, '\\');
590    }
591    try {
592      return config.json ? JSON.parse(s) : s;
593    } catch(er) {}
594  }
595  var config = $.cookie = function (key, value, options) {
596    // write
597    if (value !== undefined) {
598      options = $.extend({}, config.defaults, options);
599      if (typeof options.expires === 'number') {
600        var days = options.expires, t = options.expires = new Date();
601        t.setDate(t.getDate() + days);
602      }
603      value = config.json ? JSON.stringify(value) : String(value);
604      return (document.cookie = [
605        config.raw ? key : encodeURIComponent(key),
606        '=',
607        config.raw ? value : encodeURIComponent(value),
608        options.expires ? '; expires=' + options.expires.toUTCString() : '', // use expires attribute, max-age is not supported by IE
609        options.path    ? '; path=' + options.path : '',
610        options.domain  ? '; domain=' + options.domain : '',
611        options.secure  ? '; secure' : ''
612      ].join(''));
613    }
614    // read
615    var decode = config.raw ? raw : decoded;
616    var cookies = document.cookie.split('; ');
617    var result = key ? undefined : {};
618    for (var i = 0, l = cookies.length; i < l; i++) {
619      var parts = cookies[i].split('=');
620      var name = decode(parts.shift());
621      var cookie = decode(parts.join('='));
622      if (key && key === name) {
623        result = converted(cookie);
624        break;
625      }
626      if (!key) {
627        result[name] = converted(cookie);
628      }
629    }
630    return result;
631  };
632  config.defaults = {};
633  $.removeCookie = function (key, options) {
634    if ($.cookie(key) !== undefined) {
635      $.cookie(key, '', $.extend({}, options, { expires: -1 }));
636      return true;
637    }
638    return false;
639  };
640}));
641
642
643/* ------------------------------------------------------------
644 * [ jQuery Easing v1.3 ] http://gsgd.co.uk/sandbox/jquery/easing/
645 * ------------------------------------------------------------
646 * Open source under the BSD License.
647 *
648 * Copyright 2008 George McGinley Smith
649 * All rights reserved.
650 * ------------------------------------------------------------ */
651jQuery.easing.jswing=jQuery.easing.swing;
652jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(e,a,c,b,d){return jQuery.easing[jQuery.easing.def](e,a,c,b,d)},easeInQuad:function(e,a,c,b,d){return b*(a/=d)*a+c},easeOutQuad:function(e,a,c,b,d){return-b*(a/=d)*(a-2)+c},easeInOutQuad:function(e,a,c,b,d){if((a/=d/2)<1)return b/2*a*a+c;return-b/2*(--a*(a-2)-1)+c},easeInCubic:function(e,a,c,b,d){return b*(a/=d)*a*a+c},easeOutCubic:function(e,a,c,b,d){return b*((a=a/d-1)*a*a+1)+c},easeInOutCubic:function(e,a,c,b,d){if((a/=d/2)<1)return b/
6532*a*a*a+c;return b/2*((a-=2)*a*a+2)+c},easeInQuart:function(e,a,c,b,d){return b*(a/=d)*a*a*a+c},easeOutQuart:function(e,a,c,b,d){return-b*((a=a/d-1)*a*a*a-1)+c},easeInOutQuart:function(e,a,c,b,d){if((a/=d/2)<1)return b/2*a*a*a*a+c;return-b/2*((a-=2)*a*a*a-2)+c},easeInQuint:function(e,a,c,b,d){return b*(a/=d)*a*a*a*a+c},easeOutQuint:function(e,a,c,b,d){return b*((a=a/d-1)*a*a*a*a+1)+c},easeInOutQuint:function(e,a,c,b,d){if((a/=d/2)<1)return b/2*a*a*a*a*a+c;return b/2*((a-=2)*a*a*a*a+2)+c},easeInSine:function(e,
654a,c,b,d){return-b*Math.cos(a/d*(Math.PI/2))+b+c},easeOutSine:function(e,a,c,b,d){return b*Math.sin(a/d*(Math.PI/2))+c},easeInOutSine:function(e,a,c,b,d){return-b/2*(Math.cos(Math.PI*a/d)-1)+c},easeInExpo:function(e,a,c,b,d){return a==0?c:b*Math.pow(2,10*(a/d-1))+c},easeOutExpo:function(e,a,c,b,d){return a==d?c+b:b*(-Math.pow(2,-10*a/d)+1)+c},easeInOutExpo:function(e,a,c,b,d){if(a==0)return c;if(a==d)return c+b;if((a/=d/2)<1)return b/2*Math.pow(2,10*(a-1))+c;return b/2*(-Math.pow(2,-10*--a)+2)+c},
655easeInCirc:function(e,a,c,b,d){return-b*(Math.sqrt(1-(a/=d)*a)-1)+c},easeOutCirc:function(e,a,c,b,d){return b*Math.sqrt(1-(a=a/d-1)*a)+c},easeInOutCirc:function(e,a,c,b,d){if((a/=d/2)<1)return-b/2*(Math.sqrt(1-a*a)-1)+c;return b/2*(Math.sqrt(1-(a-=2)*a)+1)+c},easeInElastic:function(e,a,c,b,d){e=1.70158;var f=0,g=b;if(a==0)return c;if((a/=d)==1)return c+b;f||(f=d*0.3);if(g<Math.abs(b)){g=b;e=f/4}else e=f/(2*Math.PI)*Math.asin(b/g);return-(g*Math.pow(2,10*(a-=1))*Math.sin((a*d-e)*2*Math.PI/f))+c},easeOutElastic:function(e,
656a,c,b,d){e=1.70158;var f=0,g=b;if(a==0)return c;if((a/=d)==1)return c+b;f||(f=d*0.3);if(g<Math.abs(b)){g=b;e=f/4}else e=f/(2*Math.PI)*Math.asin(b/g);return g*Math.pow(2,-10*a)*Math.sin((a*d-e)*2*Math.PI/f)+b+c},easeInOutElastic:function(e,a,c,b,d){e=1.70158;var f=0,g=b;if(a==0)return c;if((a/=d/2)==2)return c+b;f||(f=d*0.3*1.5);if(g<Math.abs(b)){g=b;e=f/4}else e=f/(2*Math.PI)*Math.asin(b/g);if(a<1)return-0.5*g*Math.pow(2,10*(a-=1))*Math.sin((a*d-e)*2*Math.PI/f)+c;return g*Math.pow(2,-10*(a-=1))*Math.sin((a*
657d-e)*2*Math.PI/f)*0.5+b+c},easeInBack:function(e,a,c,b,d,f){if(f==undefined)f=1.70158;return b*(a/=d)*a*((f+1)*a-f)+c}
657,easeOutBack:function(e,a,c,b,d,f){if(f==undefined)f=1.70158;return b*((a=a/d-1)*a*((f+1)*a+f)+1)+c},easeInOutBack:function(e,a,c,b,d,f){if(f==undefined)f=1.70158;if((a/=d/2)<1)return b/2*a*a*(((f*=1.525)+1)*a-f)+c;return b/2*((a-=2)*a*(((f*=1.525)+1)*a+f)+2)+c},easeInBounce:function(e,a,c,b,d){return b-jQuery.easing.easeOutBounce(e,d-a,0,b,d)+c},easeOutBounce:function(e,a,c,b,d){return(a/=
658d)<1/2.75?b*7.5625*a*a+c:a<2/2.75?b*(7.5625*(a-=1.5/2.75)*a+0.75)+c:a<2.5/2.75?b*(7.5625*(a-=2.25/2.75)*a+0.9375)+c:b*(7.5625*(a-=2.625/2.75)*a+0.984375)+c},easeInOutBounce:function(e,a,c,b,d){if(a<d/2)return jQuery.easing.easeInBounce(e,a*2,0,b,d)*0.5+c;return jQuery.easing.easeOutBounce(e,a*2-d,0,b,d)*0.5+b*0.5+c}});
659
660
661/* ------------------------------------------------------------
662 * [ slide UI ] plugin extend
663 * ------------------------------------------------------------
664 * jQuery.flickSimple v1.2.2
665 *
666 * Copyright (c) 2011 Makog. http://d.hatena.ne.jp/makog/
667 * Dual licensed under the MIT and GPL licenses:
668 * http://www.opensource.org/licenses/mit-license.php
669 * http://www.gnu.org/licenses/gpl.html
670 *
671 * Edited by Takeru Hirose
672 * ------------------------------------------------------------ */
673;(function() {
674    var p = location.pathname,
675        c = $.cookie('slide_history'),
676        value = c ? c.split(',') : [],
677        paths = {
678            //'ja_event': '/ja/event/brother-greenxmas/',
679            'mainv1': '',
680            'mainv2': '',
681            'mainv3': '',
682						'mainv4': ''
683						/*
684            'ja_ms': '/ja/story/power-supply-regenerative\.html',
685            'ja_gs': '/ja/story/standby\.html',
686            'ja_cl': '/ja/story/coatless\.html',
687            'ja_pl': '/ja/story/planetarium\.html',
688            'ja_bd': '/ja/story/hsm_belt-driving\.html',
689            'ja_bx': '/ja/story/package-desing-optimization\.html',
690            'ja_ef': '/ja/story/ecofactory\.html'
691						*/
692        };
693
694    for (var key in paths) {
695        if (p.match(new RegExp('^' + paths[key] + '$', 'i')) && $.inArray(key, value) < 0) {
696            value.push(key);
697        }
698    }
699
700    $.cookie('slide_history', value.join(','), {expires: 365, path: '/'});
701})();

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.