1jQuery(function(n){function o(){var o=document.getElementsByClassName("nav-header");/Android|iPhone|iPod/i.test(navigator.userAgent)||(window.matchMedia("(max-width:768px)").matches?o[0].classList.remove("nav-pc"):window.matchMedia("(min-width:769px)").matches&&(n(".nav-header, .nav-header *").removeAttr("style"),n(".menu-trigger").removeClass("active"),o[0].classList.add("nav-pc")))}window.addEventListener("resize",function(){o()}),n(function(){o(),function(o){var t=".nav-header.nav-pc > ul > li",a=n(".nav-header > ul > li > ul");n(document).on("mouseover",t,function(){n(this).hasClass("active")||(n(this).addClass("active"),n(this).find(a).stop(!0).slideDown(o))}),n(document).on("mouseleave",t,function(){n(this).hasClass("active")&&(n(this).removeClass("active"),n(this).find(a).stop(!0).slideUp(o))})}(200),function(o){n(".nav-btn-block-sp").on("click",function(){n(this).next().slideToggle(o),n(this).find(".menu-trigger").toggleClass("active"),n("#search-modal-bg, #search-modal-main").removeAttr("style")}),n(".nav-acc-arrow").on("click",function(){n(this).next().slideToggle(o),n(this).toggleClass("active")})}(200),function(a){n('a[href^="#"]:not([data-lity])').on("click",function(){var o=n(this).attr("href"),t=n("#"==o||""==o?"html":o).offset().top;return n("html, body").animate({scrollTop:t},a,"swing"),!1})}(500),function(t){n("#search-modal-open").on("click",function(){function o(){var o=n(window).width(),t=n(window).height(),a=n("#search-modal-main").outerWidth(),s=n("#search-modal-main").outerHeight();n("#search-modal-main").css({left:(o-a)/2+"px",top:(t-s)/2+"px"})}o(),n("#search-modal-bg, #search-modal-main").fadeIn(t),n("#search-modal-bg").on("click",function(){n("#search-modal-main, #search-modal-bg").fadeOut(t)}),n(window).resize(o)})}(200),function(){var o=location.search.substring(1);if(o){var t=o.split("&"),a=[];for(i=0;i<t.length;i++){var s=t[i].split("=");a[s[0]]=s[1]}"jr"==a.grade?(n(".main-block").find(".tab-nav-block").removeClass("display-right").addClass("display-left"),n(".main-block").find(".tab-block-content-left").removeClass("display-left-or-right-none").addClass("display-left"),n(".main-block").find(".tab-block-content-right").removeClass("display-right").addClass("display-left-or-right-none")):"high"==a.grade&&(n(".main-block").find(".tab-nav-block").removeClass("display-left").addClass("display-right"),n(".main-block").find(".tab-block-content-left").removeClass("display-left").addClass("display-left-or-right-none"),n(".main-block").find(".tab-block-content-right").removeClass("display-left-or-right-none").addClass("display-right"))}}(),n(".tab-nav").on("click",function(){n(this).hasClass("tab-nav-left")?(n(this).closest(".main-block").find(".tab-nav-block").removeClass("display-right").addClass("display-left"),n(this).closest(".main-block").find(".tab-block-content-left").removeClass("display-left-or-right-none").addClass("display-left"),n(this).closest(".main-block").find(".tab-block-content-right").removeClass("display-right").addClass("display-left-or-right-none")):n(this).hasClass("tab-nav-right")&&(n(this).closest(".main-block").find(".tab-nav-block").removeClass("display-left").addClass("display-right"),n(this).closest(".main-block").find(".tab-block-content-left").removeClass("display-left").addClass("display-left-or-right-none"),n(this).closest(".main-block").find(".tab-block-content-right").removeClass("display-left-or-right-none").addClass("display-right"))}),n(".nav-header > ul > li ul li a, .nav-sidebar > li ul li a:first-child").each(function(){var o=n(this).attr("href");location.href.match(o)?n(this).parent("li").addClass("current"):n(this).parent("li").removeClass("current")}),n(".common-form-address-pref select > option:first-child").val(""),n(".common-form .textarea textarea").removeAttr("cols").removeAttr("rows"),n(".confirm-go").on("click",function(){n("#confirm-transition-target")[0].click(),n(".wpcf7-form-control").not(".wpcf7-form-control.wpcf7-submit").each(function(){n(this).addClass("form-confirm").prop("readonly",!0),n(this).next(".wpcf7-not-valid-tip").remove(),n(this).hasClass("wpcf7-select")?n(this).prop("disabled",!0):n(this).hasClass("wpcf7-checkbox")&&n(this).find("input").prop("disabled",!0)}),n(".common-form-button.confirm-back, .common-form-button.confirm-send").removeClass("common-form-button-none").addClass("common-form-button-display"),n(".common-form-button.confirm-go").removeClass("common-form-button-display").addClass("common-form-button-none")}),n(".confirm-back").on("click",function(){n("#confirm-transition-target")[0].click(),n(".wpcf7-form-control").not(".wpcf7-form-control.wpcf7-submit").each(function(){n(this).removeClass("form-confirm").prop("readonly",!1),n(this).next(".wpcf7-not-valid-tip").remove(),n(this).hasClass("wpcf7-select")?n(this).prop("disabled",!1):n(this).hasClass("wpcf7-checkbox")&&n(this).find("input").prop("disabled",!1)}),n(".common-form-button.confirm-back, .common-form-button.confirm-send").removeClass("common-form-button-display").addClass("common-form-button-none"),n(".common-form-button.confirm-go").removeClass("common-form-button-none").addClass("common-form-button-display"),n(".wpcf7-response-output").css("display","none")}),n(".wpcf7-submit").on("click",function(){n(".wpcf7-form-control").not(".wpcf7-form-control.wpcf7-submit").each(function(){n(this).hasClass("wpcf7-select")?n(this).prop("disabled",!1):n(this).hasClass("wpcf7-checkbox")&&n(this).find("input").prop("disabled",!1)})})})}),new ScrollHint(".long-sideways-table-block",{i18n:{scrollable:"ã¹ã¯ãã¼ã«ã§ãã¾ã"}}); 2window.onload = function() { 3 var popup = document.getElementById('js-popup'); 4 if(!popup) return; 5 popup.classList.add('is-show'); 6 7 var blackBg = document.getElementById('js-black-bg'); 8 var closeBtn = document.getElementById('js-close-btn'); 9 10 closePopUp(blackBg); 11 closePopUp(closeBtn); 12 13 function closePopUp(elem) { 14 if(!elem) return; 15 elem.addEventListener('click', function() {
16 popup.classList.remove('is-show'); 17 }) 18 } 19} 20 21jQuery(function(){ 22 jQuery('.accordion .accordion-header').click(function(){ 23 jQuery(this).next('.accordion-inner').slideToggle(); 24 jQuery(this).toggleClass('open'); 25 }); 26}); 27 28jQuery(function() { 29 // 夿°ã«ã¯ã©ã¹ãå ¥ãã 30 var btn = jQuery('.library-nav-sticky'); 31 32 //ã¹ã¯ãã¼ã«ãã¦ãã¼ã¸ããããã100ã«éããããã¿ã³ã表示 33 jQuery(window).on('load scroll', function(){ 34 if(jQuery(this).scrollTop() > 150) { 35 btn.addClass('library-nav-show'); 36 }else{ 37 btn.removeClass('library-nav-show'); 38 } 39 }); 40}); 41 42jQuery(window).on('load',function(){ 43 if(document.URL.match("curriculum/library-guide") || document.URL.match("curriculum/curriculum") || document.URL.match("school-life/seikai-world")) { 44 jQuery("img").click(function(){ 45 var str = jQuery(this).parent().attr('href'); 46 if( jQuery(this).parent("a").length > 0 ) { 47 if( str.match(/jpg/) || str.match(/jpeg/) || str.match(/jpe/) || str.match(/png/) || str.match(/webp/)) { 48 jQuery(this).attr('data-lity',''); 49 } 50 } 51 }); 52 } 53}); 54 55const fixed_line_open = document.querySelectorAll('.fixed-line-open'); 56if ( fixed_line_open ) { 57 for(let i = 0; i < fixed_line_open.length; i++){ 58 fixed_line_open[i].addEventListener('click', function() { 59 document.querySelector('.fixed-line').classList.add('show'); 60 }); 61 } 62} 63 64const fixed_line_close = document.querySelectorAll('.fixed-line-close'); 65if ( fixed_line_close ) { 66 for(let i = 0; i < fixed_line_close.length; i++){ 67 fixed_line_close[i].addEventListener('click', function() { 68 document.querySelector('.fixed-line').classList.remove('show'); 69 }); 70 } 71} 72 73const fixed_line_show = document.querySelector('.fixed-line'); 74if ( fixed_line_show ) { 75 jQuery(window).on('scroll', function () { 76 var doch = jQuery(document).innerHeight(); //ãã¼ã¸å ¨ä½ã®é«ã 77 var winh = jQuery(window).innerHeight(); //ã¦ã£ã³ãã¦ã®é«ã 78 var bottom = doch - winh; //ãã¼ã¸å ¨ä½ã®é«ã - ã¦ã£ã³ãã¦ã®é«ã = ãã¼ã¸ã®æä¸é¨ä½ç½® 79 if (bottom - 100 <= jQuery(window).scrollTop()) { 80 document.querySelector('.fixed-line').classList.add('hide'); 81 } else { 82 document.querySelector('.fixed-line').classList.remove('hide'); 83 } 84 }); 85} 86 87const fixed_event_open = document.querySelectorAll('.fixed-event-open'); 88if ( fixed_event_open ) { 89 for(let i = 0; i < fixed_event_open.length; i++){ 90 fixed_event_open[i].addEventListener('click', function() { 91 document.querySelector('.fixed-event').classList.add('show'); 92 }); 93 } 94} 95 96const fixed_event_close = document.querySelectorAll('.fixed-event-close'); 97if ( fixed_event_close ) { 98 for(let i = 0; i < fixed_event_close.length; i++){ 99 fixed_event_close[i].addEventListener('click', function() { 100 document.querySelector('.fixed-event').classList.remove('show'); 101 }); 102 } 103} 104 105const fixed_event_show = document.querySelector('.fixed-event'); 106if ( fixed_event_show ) { 107 jQuery(window).on('scroll', function () { 108 var doch = jQuery(document).innerHeight(); //ãã¼ã¸å ¨ä½ã®é«ã 109 var winh = jQuery(window).innerHeight(); //ã¦ã£ã³ãã¦ã®é«ã 110 var bottom = doch - winh; //ãã¼ã¸å ¨ä½ã®é«ã - ã¦ã£ã³ãã¦ã®é«ã = ãã¼ã¸ã®æä¸é¨ä½ç½® 111 if (bottom - 100 <= jQuery(window).scrollTop()) { 112 document.querySelector('.fixed-event').classList.add('hide'); 113 } else { 114 document.querySelector('.fixed-event').classList.remove('hide'); 115 } 116 }); 117}
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.