PageSourceSearch

https://fukuzen.com/wp-content/themes/kadan_tcd056/assets/js/functions.min.js?ver=2.2.3

js fukuzen.com collected 2026-10-05 08:12:20 UTC 4,749 bytes, 51 lines download raw bytes

1(function(c){var d=c("#js-header");if(d.hasClass("l-header--fixed")){c(window).scroll(function(){if(c(window).scrollTop()>100){d.addClass("is-active")}else{d.removeClass("is-active")}})}c("#js-menu-btn").click(function(j){j.preventDefault();c(this).toggleClass("is-active");c("#js-global-nav").slideToggle()});c(".sub-menu-toggle").click(function(){c(this).toggleClass("is-active").parent("a").next(".sub-menu").slideToggle();return false});function f(j){if(j>991){c(".p-global-nav").css("display","block");c(".sub-menu").css("display","block")}else{c(".p-global-nav").css("display","none");c(".sub-menu-toggle").removeClass("is-active");c(".sub-menu").css("display","none")}}function g(){var k=window,j="inner";if(!("innerWidth" in window)){j="client";k=document.documentElement||document.body}return{width:k[j+"Width"],height:k[j+"Height"]}}var b=g().width;f(b);c(window).bind("resize orientationchange",function(){var j=g().width;f(j)});if(c("#js-footer-slider__inner").children(".p-footer-slider__item").length>4){c("#js-footer-slider__inner").slick({autoplay:true,infinite:true,slidesToShow:4,responsive:[{breakpoint:1280,settings:{arrows:false}},{breakpoint:900,settings:{arrows:false,slidesToShow:3}},{breakpoint:768,settings:{arrows:false,slidesToShow:2}}]})}var i=c("#js-pagetop");c(window).scroll(function(){if(c(window).scrollTop()>100){i.addClass("is-active")}else{i.removeClass("is-active")}});i.click(function (e) {e.preventDefault();window.scrollTo({ top: 0, behavior: 'smooth' });});c(".p-page-header__title, .p-section-header__title, .p-visual, .p-vertical--lg").one("inview",function(){c(this).addClass("is-inview")});if(c(".p-dropdown").length){c(".p-dropdown__title").click(function(){c(this).toggleClass("is-active");c("+ .p-dropdown__list:not(:animated)",this).slideToggle()})}c(".js-post-list03").each(function(){c(this).slick({autoplay:true,autoplaySpeed:c(this).data("speed"),fade:true})});if(c("#js-comment__tab").length){var h=c("#js-comment__tab");h.find("a").click(function(j){j.preventDefault();if(!c(this).parent().hasClass("is-active")){c(c(".is-active a",h).attr("href")).animate({opacity:"hide"},0);c(".is-active",h).removeClass("is-active");c(this).parent().addClass("is-active");c(c(this).attr("href")).animate({opacity:"show"},1000)}})}c(".js-block02__item--slider, .js-block03__slider-inner").slick({autoplay:true,infinite:true,slidesToShow:1,prevArrow:'<button type="button" class="slick-arrow--square slick-prev"></button>',nextArrow:'<button type="button" class="slick-arrow--square slick-next"></button>'});c(".p-section-nav a").click(function(j){c("body, html").animate({scrollTop:c(c(this).attr("href")).offset().top},1000);j.preventDefault()});var a=c(".p-vertical-block__inner");var e=parseInt(a.css("font-size"));a.each(function(){c(this).height(e*c(this).text().length)})})(jQuery);
2
3document.addEventListener('DOMContentLoaded', function() {
4    // Search widget
5    var searchSubmitButtons = document.querySelectorAll('.widget_search #searchsubmit, .google_search #searchsubmit');
6    searchSubmitButtons.forEach(function(button) {
7      var wrapper = document.createElement('div');
8      wrapper.className = 'submit_button';
9      button.parentNode.insertBefore(wrapper, button);
10      wrapper.appendChild(button);
11    });
12  
13    // Calendar widget
14    var calendarCells = document.querySelectorAll('.wp-calendar-table td');
15    calendarCells.forEach(function(cell) {
16      if (cell.children.length === 0) {
17        cell.classList.add('no_link');
18        var span = document.createElement('span');
19        span.textContent = cell.textContent;
20        while (cell.firstChild) {
21          cell.removeChild(cell.firstChild);
22        }
23        cell.appendChild(span);
24      } else {
25        cell.classList.add('has_link');
26      }
27    });
28  
29    // Add class to Text widgets and HTML widgets
30    var textWidgets = document.querySelectorAll('.widget_text .textwidget');
31    textWidgets.forEach(function(widget) {
32      widget.classList.add('p-entry__body');
33    });
34  
35    // Add class to Archive and Category select boxes
36    var archiveSelect = document.querySelector('.widget_archive select');
37    if (archiveSelect) {
38      var archiveWrapper = document.createElement('div');
39      archiveWrapper.className = 'select_wrap';
40      archiveSelect.parentNode.insertBefore(archiveWrapper, archiveSelect);
41      archiveWrapper.appendChild(archiveSelect);
42    }
43  
44    var categoryForm = document.querySelector('.widget_categories form');
45    if (categoryForm) {
46      var categoryWrapper = document.createElement('div');
47      categoryWrapper.className = 'select_wrap';
48      categoryForm.parentNode.insertBefore(categoryWrapper, categoryForm);
49      categoryWrapper.appendChild(categoryForm);
50    }
51  });

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.