1$(function() { 2 WebFontConfig = { 3 google: { 4 families: ['Roboto Condensed', 'Noto+Sans+JP'] 5 } 6 }; 7 (function (d) { 8 var wf = d.createElement('script'), s = d.scripts[0]; 9 wf.src = 'https://ajax.googleapis.com/ajax/libs/webfont/1.6.26/webfont.js'; 10 wf.async = true; 11 s.parentNode.insertBefore(wf, s); 12 })(document); 13 14 $('.day-list').each(function() { 15 var month = $(this).attr('data-month'); 16 var day = $(this).attr('data-day'); 17 var color = $(this).attr('data-color'); 18 19 $('.makeshop-calendar' + month +' .day' + day).css({ 20 'background-color': color, 21 'color': '#fff', 22 'font-weight': 'bold', 23 'height': '14px' 24 }); 25 }); 26 27 $('.search-keyword').on('keypress', function(e) { 28 if (e.keyCode == 13) { 29 var index = $('.search-keyword').index(this); 30 $('.menu-search-btn').get(index).click(); 31 } 32 }); 33 34 35 /* ========================================================= 36 Biofesta PCãã´ 37 ========================================================= */ 38 39 if (!document.querySelector('.biofesta-corner-logo')) { 40 41 var logoLink = document.createElement('a'); 42 43 logoLink.className = 'biofesta-corner-logo'; 44 logoLink.href = '/'; 45 46 var logoImg = document.createElement('img'); 47 48 logoImg.src = 49 'https://gigaplus.makeshop.jp/omifuda/Bofesta-logo.png'; 50 51 logoImg.alt = 'Biofesta'; 52 53 logoLink.appendChild(logoImg); 54 55 document.body.appendChild(logoLink); 56 } 57 58 59 /* ========================================================= 60 ãªã³ã¯æ¤ç´¢ 61 ========================================================= */ 62 63 function findLinkByText(words) { 64 65 var links = document.getElementsByTagName('a'); 66 67 for (var i = 0; i < links.length; i++) { 68 69 var text = 70 (links[i].textContent || 71 links[i].innerText || 72 '').replace(/\s+/g, ''); 73 74 for (var j = 0; j < words.length; j++) { 75 76 if (text.indexOf(words[j]) !== -1) { 77 78 var href = links[i].getAttribute('href'); 79 80 if (href && href !== '#') { 81 return href; 82 } 83 } 84 } 85 } 86 87 return ''; 88 } 89 90 91 /* ========================================================= 92 ã¹ãã䏿®µã¡ãã¥ã¼ 93 ========================================================= */ 94 95 if (!document.querySelector('.biofesta-mobile-nav')) { 96 97 var HOME_URL = '/'; 98 99 var NEWS_URL = 100 findLinkByText([ 101 'ãç¥ããä¸è¦§', 102 'ãç¥ãã' 103 ]); 104 105 if (!NEWS_URL) { 106 NEWS_URL = '#'; 107 } 108 109 var CONTACT_URL = 110 'https://www.biofesta.jp/shop/enq202609220'; 111 112 113 var mobileNav = document.createElement('nav'); 114 115 mobileNav.className = 'biofesta-mobile-nav'; 116 117 mobileNav.innerHTML = 118 '<a class="biofesta-mobile-nav-item" href="' + 119 HOME_URL + 120 '">' + 121 '<i class="fas fa-home"></i>' + 122 '<span>ãã¼ã </span>' + 123 '</a>' + 124 125 '<button type="button" ' + 126 'class="biofesta-mobile-nav-item biofesta-mobile-menu-button">' + 127 '<i class="fas fa-bars"></i>' + 128 '<span>ã¡ãã¥ã¼</span>' + 129 '</button>' + 130 131 '<a class="biofesta-mobile-nav-item" href="' + 132 NEWS_URL + 133 '">' + 134 '<i class="fas fa-bell"></i>' + 135 '<span>ãç¥ãã</span>' + 136 '</a>' + 137 138 '<a class="biofesta-mobile-nav-item" href="' + 139 CONTACT_URL + 140 '">' + 141 '<i class="fas fa-envelope"></i>' + 142 '<span>ãåãåãã</span>' + 143 '</a>'; 144 145 document.body.appendChild(mobileNav); 146 147 148 /* ã¹ããã®ãã¡ãã¥ã¼ãã§æ¢åããã¯ã¼ãéé */ 149 150 var menuButton = 151 mobileNav.querySelector( 152 '.biofesta-mobile-menu-button' 153 ); 154 155 if (menuButton) { 156 157 menuButton.addEventListener( 158 'click', 159 function() { 160 161 var toggle = 162 document.getElementById('cp-toggle'); 163 164 if (toggle) { 165 toggle.checked = !toggle.checked; 166 } 167 } 168 ); 169 } 170 } 171 172});
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.