1$(function(){ 2 //診çæéã«ã¢ã¤ã³ã³æè¼ 3 $('.header_week').each(function(){ 4 var txt = $(this).html(); 5 $(this).html( 6 txt.replace(/診çæéã¯ãã¡ã/g,'<i class="material-icons">chevron_right</i> 診çæé')); 7 }); 8}); 9 10$(function () { 11 $('#images').insertBefore('#contents'); 12}); 13 14//å°å³ã«ã¢ã¤ã³ã³æè¼ 15$(function(){ 16 $('.mapSec_tomappage').each(function(){ 17 var txt = $(this).html(); 18 $(this).html( 19 txt.replace(/大ããå°å³ã¯ãã¡ã/g,'<i class="material-icons">location_on</i> 大ããå°å³ã¯ãã¡ã')); 20 }); 21}); 22 23//ã¹ããã«ã¡ãã¥ã¼ã®ã¢ã¤ã³ã³ãè¨è¼ 24$(function(){ 25 $('#mobile a').each(function(){ 26 var txt = $(this).html(); 27 $(this).html( 28 txt.replace(/<img .*?src="(.*?)".*?>/g,'<i class="material-icons">menu</i>')); 29 }); 30}); 31 32//$(function(){ 33//$('#footer').wrapAll('<div class="footercontents" />'); 34//}); 35 36$(function(){ 37 $('table').wrap('<div class="scroll-table" />'); 38}); 39 40$(function(){ 41 //以ä¸ã¾ã¨ãã¦function 42 var headerWeek = $('.header_week p'); 43 if (headerWeek.length != 0) { 44 headerWeek.html(headerWeek.html().replace(/\<br\>/gi,'')); 45 headerWeek.find('i').appendTo(headerWeek.find('a')); 46 } 47 //var infoData = $('.infoSec .info_date'); 48 //if (infoData.length != 0) { 49 // infoData.html(infoData.html().replace(/\[|\]|\s/gi,'')); 50 //} 51 $('#searchsubmit').attr('src','https://wevery.jp/wp-content/uploads/2019/05/icon_find.png'); 52 //$('.flexslider .slides').append($('.caption-wrap')); 53 for(var i = 0; i < $('.flexslider .slides .ms-image').length; i++){ 54 //alert($('.caption-wrap').eq(i).html()); 55 $('.flexslider .slides .ms-image').append($('.caption-wrap').eq(i).val()); 56 } 57 $('#footer').append($('#footer .address')); 58 59 //$('.banner.smart_phonebottom').before($('.banner.smart_phonetop')); 60 $('#menu-main_menu').before('<div class="menu-side_top"></div>'); 61 62 //$('.menu-side_top #page_search').attr('id','page_search2'); 63 //$('.menu-side_top #s').attr('id','s2'); 64 //$('.menu-side_top #searchsubmit').attr('id','searchsubmit2'); 65 66 // 2020.08.06 change start 67 // safariã ã¨ä¸æããã³ãã¼ã¬ã¡ãã¥ã¼ãåä½ããªããããã¯ãªãã¯ã¤ãã³ãã®æå®æ¹æ³ã夿´ 68 // $('#mobile').on('click', function() { 69 // if ($(this).hasClass('side-open')) { 70 // $(this).delay(300).queue(function() { 71 // $(this).removeClass('side-open').dequeue(); 72 // $('#header .header_tel').removeClass('side-open').dequeue(); 73 // }); 74 // } else { 75 // $(this).addClass('side-open'); 76 // $('#header .header_tel').addClass('side-open'); 77 // } 78 // }); 79 $(document).on('click', '#mobile', function() { 80 if ($(this).hasClass('side-open')) { 81 $(this).delay(300).queue(function() { 82 $(this).removeClass('side-open').dequeue(); 83 $('#header .header_tel').removeClass('side-open').dequeue(); 84 }); 85 } else { 86 $(this).addClass('side-open'); 87 $('#header .header_tel').addClass('side-open'); 88 } 89 }); 90 // 2020.07.31 change end 91 92 $('#sidr .close').on('click', function() { 93 if ($('#mobile').hasClass('side-open')) { 94 $('#mobile').delay(300).queue(function() { 95 $('#mobile').removeClass('side-open').dequeue(); 96 $('#header .header_tel').removeClass('side-open').dequeue(); 97 }); 98 } 99 }); 100 101 $('#sidr .menu_box h2').on('click', function() { 102 $(this).toggleClass('active').next().slideToggle(400); 103 }); 104 105 $('#sidr ul#menu-main_menu > li').each(function(index, element){ 106 if ($(this).find('.sub-menu').length > 0) { 107 $(this).children('a').after('<div class="accordion-elm">â¼</div>'); 108 } 109 }); 110 111 $('#sidr ul#menu-main_menu > li .accordion-elm').on('click', function() { 112 $(this).toggleClass('active').next().slideToggle(400); 113 }); 114 //ã¾ã¨ãã¦functionããã¾ã§ 115}); 116 117//2022.03.08 del start function.phpã«ç§»å 118//2019.09.03 add start 119//-------------------------------------------- 120// main articleå ã«ã<p><a href="hogehoge.com"></p>ãã®å½¢å¼ããã£ãã 121// <a>ã«èªåçã« class="css_btn_class" ã追å 122//-------------------------------------------- 123//$(function(){ 124// //æ£è¦è¡¨ç¾ãæå®
vendor: 3,036 bytes, lines 125-218
125// //2021.03.01 change 1ï½2æåã§ãclassãæå®ã§ããããã«å¤æ´ 126// //var match_str = new RegExp('^<a (.*)href=(.*)>([^<].+[^>])</a>$', 'gm'); 127// var match_str = new RegExp('^<a (.*)href=(.*)>([^<]*[^>])</a>$', 'gm'); 128// var match_str_except = new RegExp('</a>[^.*]<a(.*)', 'gm'); 129// //pã¿ã°ã®ä¸ãããæ£è¦è¡¨ç¾ã§ä¸è´ããå¯¾è±¡ãæ¤ç´¢ 130// $('#main article p').each(function(index, element){ 131// if($(element).html().match(match_str)){ 132// //<a>ãé£ç¶ãã¦ããå ´åã«ãéã«ä»ã®æç« ããªããã°ãã¿ã³ã«ãã 133// if(!$(element).html().match(match_str_except)){ 134// //ãclass=css_btn_classããä»ä¸ 135// $(element).children('a').addClass('css_btn_class'); 136// } 137// } 138// }); 139//}); 140//2019.09.03 add end 141//2022.03.08 del end 142 143//detailsãIEã«å¯¾å¿ããã 144window.onload = function(){ 145 void (function (root, factory) { 146 if (typeof define === 'function' && define.amd) define(factory) 147 else if (typeof exports === 'object') module.exports = factory() 148 else factory() 149 }(this, function () { 150 var DETAILS = 'details' 151 var SUMMARY = 'summary' 152 153 var supported = checkSupport() 154 if (supported) return 155 156 // Add a classname 157 document.documentElement.className += ' no-details' 158 159 window.addEventListener('click', clickHandler) 160 161 injectStyle('details-polyfill-style', 162 'html.no-details ' + DETAILS + ':not([open]) > :not(' + SUMMARY + ') { display: none; }\n' + 163 'html.no-details ' + DETAILS + ' > ' + SUMMARY + ':before { content: "\u25b6"; display: inline-block; font-size: .8em; width: 1.5em; }\n' + 164 'html.no-details ' + DETAILS + '[open] > ' + SUMMARY + ':before { content: "\u25bc"; }') 165 166 /* 167 * Click handler for `<summary>` tags 168 */ 169 170 function clickHandler (e) { 171 if (e.target.nodeName.toLowerCase() === 'summary') { 172 var details = e.target.parentNode 173 if (!details) return 174 175 if (details.getAttribute('open')) { 176 details.open = false 177 details.removeAttribute('open') 178 } else { 179 details.open = true 180 details.setAttribute('open', 'open') 181 } 182 } 183 } 184 185 /* 186 * Checks for support for `<details>` 187 */ 188 189 function checkSupport () { 190 var el = document.createElement(DETAILS) 191 if (!('open' in el)) return false 192 193 el.innerHTML = '<' + SUMMARY + '>a</' + SUMMARY + '>b' 194 document.body.appendChild(el) 195 196 var diff = el.offsetHeight 197 el.open = true 198 var result = (diff != el.offsetHeight) 199 200 document.body.removeChild(el) 201 return result 202 } 203 204 /* 205 * Injects styles (idempotent) 206 */ 207 208 function injectStyle (id, style) { 209 if (document.getElementById(id)) return 210 211 var el = document.createElement('style') 212 el.id = id 213 el.innerHTML = style 214 215 document.getElementsByTagName('head')[0].appendChild(el) 216 } 217 })) 218}; // eslint-disable-line semi
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.