');$(place).css({'opacity':'1'});$(place).find('.entry-categories-button').attr('sbn-tag-role-index','0');$(place).find('.entry-categories-box .entry-categories-wrap').css({'transform':'translateY(0)'});var button=$(place).find('.entry-categories-button');switch(page){case'index':var tag_height_sum=10;break;case'archive':var tag_height_sum=13;break;default:var tag_height_sum=0;break;}
var tag_height=parseInt($(place).find('.entry-categories-box .entry-categories-wrap a').height())+tag_height_sum;if(f_mobile_check()){tag_height=tag_height*3;}
var tag_wrap_height=parseInt($(place).find('.entry-categories-box .entry-categories-wrap').height());var max_index=tag_wrap_height / tag_height-1;if(max_index==0){button.hide();}}
function f_tag_slider_click(place){var page=arguments.length>1&&arguments[1]!==undefined?arguments[1]:'default';if(!$(place).find('.entry-categories-box .entry-categories-wrap:nth-child(2)').length){switch(page){case'index':var tag_height_sum=10;break;case'archive':var tag_height_sum=13;break;default:var tag_height_sum=0;break;}
var tag_height=parseInt($(place).find('.entry-categories-box .entry-categories-wrap a').height())+tag_height_sum;if(f_mobile_check()){tag_height=tag_height*3;}
var tag_wrap_height=parseInt($(place).find('.entry-categories-box .entry-categories-wrap').height());var max_index=Math.ceil(tag_wrap_height / tag_height)-1;var tag_index=parseInt($(place).find('.entry-categories-button').attr('sbn-tag-role-index'));if(max_index!=0){if(tag_index>=max_index){tag_index=0;}else{tag_index=tag_index+1;}
var tag_translate=tag_height*tag_index;$(place).find('.entry-categories-button').attr('sbn-tag-role-index',tag_index);var target=$(place).find('.entry-categories-box .entry-categories-wrap');var clone=target.clone();clone.css({'left':'-100%','transform':'translateY(-'+tag_translate+'px)'});clone.width(target.width());clone.insertBefore(target);var insert_target=$(place).find('.entry-categories-box .entry-categories-wrap:first-child');var delete_target=$(place).find('.entry-categories-box .entry-categories-wrap:last-child');setTimeout(function(){insert_target.css({'left':'0%'})
delete_target.css({'left':'100%'})},0);setTimeout(function(){delete_target.remove();},500);}}}
function f_tag_slider_reset(place){var page=arguments.length>1&&arguments[1]!==undefined?arguments[1]:'default';$(place).find('.entry-categories-wrap').width($(place).find('.entry-categories-box').width());$(place).find('.entry-categories-button').attr('sbn-tag-role-index','0');$(place).find('.entry-categories-box .entry-categories-wrap').css({'transform':'translateY(0)'});var button=$(place).find('.entry-categories-button');switch(page){case'index':var tag_height_sum=10;break;case'archive':var tag_height_sum=13;break;default:var tag_height_sum=0;break;}
var tag_height=parseInt($(place).find('.entry-categories-box .entry-categories-wrap a').height())+tag_height_sum;if(f_mobile_check()){tag_height=tag_height*3;}
var tag_wrap_height=parseInt($(place).find('.entry-categories-box .entry-categories-wrap').height());var max_index=Math.ceil(tag_wrap_height / tag_height)-1;if(max_index==0){button.hide();}else{button.show();}}
$(window).on('DOMContentLoaded',function(){$(".recent-entries-image").attr("width","100%");});$(window).on('DOMContentLoaded',function(){switch(true){case $('body').hasClass('category-ãããã©ã¤ã³'):$('body').addClass('category-ãããã©ã¤ã³--active');break;case $('body').hasClass('category-ãã¬ã³ãæ
å ±'):$('body').addClass('category-ãã¬ã³ãæ
å ±--active');break;case $('body').hasClass('category-ã©ã¤ãã¹ã¿ã¤ã«'):$('body').addClass('category-ã©ã¤ãã¹ã¿ã¤ã«--active');break;case $('body').hasClass('category-ITï¼ã¿ãã'):$('body').addClass('category-ITï¼ã¿ãã--active');break;case $('body').hasClass('category-ã½ãããã³ã¯ã®ãã¨'):$('body').addClass('category-ã½ãããã³ã¯ã®ãã¨--active');break;case $('body').hasClass('category-_XPJ'):$('body').addClass('category-_XPJ--active');break;}
$(document).on('click','.sbn-header-top-menu-search',function(){if($('.sbn-header-bottom').hasClass('sbn-header-bottom--active')){$('.sbn-header-top-menu-drawer').removeClass('sbn-header-top-menu-drawer--active');$('.sbn-header-bottom').removeClass('sbn-header-bottom--active');$('.sbn-header-bottom').css({'z-index':'20'});$('.sbn-header-bottom').slideToggle(200);}
$(this).css({'z-index':'30'});$(this).toggleClass('sbn-header-top-menu-search--active');$(this).parents('.sbn-header-top').next('.sbn-header-search').slideToggle(200);});$(document).on('click','.sbn-header-top-menu-drawer,.sbn-header-bottom-overlay',function(){if($('.sbn-header-top-menu-search').hasClass('sbn-header-top-menu-search--active')){$('.sbn-header-top-menu-search').removeClass('sbn-header-top-menu-search--active');$('.sbn-header-search').css({'z-index':'20'});$('.sbn-header-search').slideToggle(200);}
$('.sbn-header-bottom').css({'z-index':'30'});$('.sbn-header-top-menu-drawer').toggleClass('sbn-header-top-menu-drawer--active');$('.sbn-header-bottom').toggleClass('sbn-header-bottom--active');$('.sbn-header-bottom').slideToggle(200);if($('.sbn-header-bottom').hasClass('sbn-header-bottom--active')){var overelay_height=$('html').outerHeight()-49;$('.sbn-header-bottom-overlay').css({'height':overelay_height+'px'});}else{$('.sbn-header-bottom-overlay').css({'height':'0px'});}});$(document).on('click','.sbn-header-bottom-share-toggle',function(){$(this).toggleClass('sbn-header-bottom-share-toggle--open');$(this).next('.sbn-header-bottom-share-wrap').slideToggle(200);});$('.sbn-footer-twitter-wiget-box iframe').contents().find('.timeline-Header').hide();$('.sbn-footer-twitter-wiget-box iframe').css({'margin-bottom':'-5px'});$('.sbn-footer-twitter-wiget-box').on('scroll',function(){var after_height=$('.sbn-footer-twitter-wiget-box iframe').height();$('.sbn-footer-twitter-wiget-box-bar').css({'height':after_height+'px'});});var box_width=Math.ceil($('.sbn-footer-twitter-info-box').width());$('.sbn-footer-twitter-info-box').css({'width':box_width+'px'});var btn_width=Math.ceil($('.sbn-footer-twitter-info-box-button').outerWidth());$('.sbn-footer-twitter-info-box-button').css({'width':btn_width+'px'});$('.page-index #main-inner .hatena-module-entries-access-ranking').attr('id','fwd-ranking');var url=location.hash;var hash=false;if(url.indexOf('#page-')===0){hash=url;}else{switch(url){case'#ranking':hash=false;break;}}
if(hash){scrollToAnker(hash);}
var startPos=0,winScrollTop=0;$(window).on('scroll',function(){winScrollTop=$(this).scrollTop();if(f_mobile_check()){if(winScrollTop>=startPos){$('.sbn-footer-sp-swipe').removeClass('sbn-footer-sp-swipe--open').addClass('sbn-footer-sp-swipe--close');}else{$('.sbn-footer-sp-swipe').removeClass('sbn-footer-sp-swipe--close').addClass('sbn-footer-sp-swipe--open');}}else{if(winScrollTop>=startPos){$('.sbn-footer-pc-swipe').removeClass('sbn-footer-pc-swipe--open').addClass('sbn-footer-pc-swipe--close');}else{$('.sbn-footer-pc-swipe').removeClass('sbn-footer-pc-swipe--close').addClass('sbn-footer-pc-swipe--open');}}
startPos=winScrollTop;});});$(window).on('DOMContentLoaded scroll',function(){var value=$(this).scrollTop();if(value>88&&!f_mobile_check()){$('.sbn-header-spacer').addClass('sbn-header-spacer--float');$('.sbn-header').addClass('sbn-header--float');}else{$('.sbn-header-spacer').removeClass('sbn-header-spacer--float');$('.sbn-header').removeClass('sbn-header--float');}});$(function(){var share_url=(null==$('meta[property="og:url"]').attr('content'))?location.href:$('meta[property="og:url"]').attr('content');var default_share_image='https://cdn-ak.f.st-hatena.com/images/fotolife/s/sbn-de/20190328/20190328114039.jpg'
var share_image_format=/\.jpg|\.jpeg|\.JPG|\.JPEG|\.jpe|\.jfif|\.pjpeg|\.pjp|\.png|\.gif|\.tiff|\.tif|\.webp|\.svg|\.svgz$/
var share_image=(null==$('meta[property="og:image"]').attr('content'))|false===share_image_format.test($('meta[property="og:image"]').attr('content'))?default_share_image:$('meta[property="og:image"]').attr('content');share_url=encodeURIComponent(share_url);var share_text=encodeURIComponent($('meta[property="og:title"]').attr('content'));$('.sbn-header a.sbn-header-bottom-share-hatena').attr('href','http://b.hatena.ne.jp/entry/'+share_url).attr('data-hatena-bookmark-title',share_text);$('.sbn-header a.sbn-header-bottom-share-facebook').attr('href','https://www.facebook.com/sharer/sharer.php?u='+share_url);$('.sbn-header a.sbn-header-bottom-share-twitter').attr('href','https://twitter.com/intent/tweet?url='+share_url+'&text='+share_text);$('.sbn-header a.sbn-header-bottom-share-pinterest').attr('href','//jp.pinterest.com/pin/create/button/?url='+share_url+'&media='+share_image+'&description='+share_text);$('.sbn-footer a.sbn-footer-sp-swipe-sns-hatena').attr('href','http://b.hatena.ne.jp/entry/'+share_url).attr('data-hatena-bookmark-title',share_text);$('.sbn-footer a.sbn-footer-sp-swipe-sns-facebook').attr('href','https://www.facebook.com/sharer/sharer.php?u='+share_url);$('.sbn-footer a.sbn-footer-sp-swipe-sns-twitter').attr('href','https://twitter.com/intent/tweet?url='+share_url+'&text='+share_text);$('.sbn-footer a.sbn-footer-sp-swipe-sns-line').attr('href','https://social-plugins.line.me/lineit/share?url='+share_url);$('.sbn-footer a.sbn-footer-sp-swipe-sns-pinterest').attr('href','//jp.pinterest.com/pin/create/button/?url='+share_url+'&media='+share_image+'&description='+share_text);if($('.sbn-module-article-social-button')){$('#content-inner a.sbn-module-article-social-button-hatena').attr('href','http://b.hatena.ne.jp/entry/'+share_url).attr('data-hatena-bookmark-title',share_text);$('#content-inner a.sbn-module-article-social-button-facebook').attr('href','https://www.facebook.com/sharer/sharer.php?u='+share_url);$('#content-inner a.sbn-module-article-social-button-twitter').attr('href','https://twitter.com/intent/tweet?url='+share_url+'&text='+share_text);$('#content-inner a.sbn-module-article-social-button-line').attr('href','https://social-plugins.line.me/lineit/share?url='+share_url);$('#content-inner a.sbn-module-article-social-button-pinterest').attr('href','//jp.pinterest.com/pin/create/button/?url='+share_url+'&media='+share_image+'&description='+share_text);}});function scrollToAnker(hash){if($(window).scrollTop()<100&&!f_mobile_check()){$(window).scrollTop(100);$('.sbn-header-spacer').addClass('sbn-header-spacer--float');$('.sbn-header').addClass('sbn-header--float');}
var position=$(hash).offset().top;position=position-$('.sbn-header-spacer').outerHeight()-20;$('html, body').animate({scrollTop:position},200);}
$(document).on('click','a[href^="#"]',function(){var href=$(this).attr("href");var hash=href=="#"||href==""?'html':href;scrollToAnker(hash);return false;});if(!f_ranking_check()){$(window).on('DOMContentLoaded',function(){if(f_mobile_check()){$('.page-index #main-inner .hatena-module:nth-child(1) ul.recent-entries').slick({slidesToShow:1,arrows:false,dots:true,autoplay:true,autoplaySpeed:5000});}else{$('.page-index #main-inner .hatena-module:nth-child(1) ul.recent-entries').slick({slidesToShow:1,centerMode:true,centerPadding:'calc((100% - 948px) / 2)',arrows:false,dots:true,autoplay:true,autoplaySpeed:5000});}
$('.page-index #main-inner .hatena-module:nth-child(1) .hatena-module-body .recent-entries .urllist-item .urllist-item-inner .urllist-date-link').each(function(){$(this).find('a').removeAttr('href');var elem=$(this).find('time').first();$(elem).text($(elem).text().split('-').join('.'));});$('.page-index #main-inner .hatena-module:nth-child(1) .hatena-module-body .recent-entries .urllist-item').each(function(){var image=$(this).find('.urllist-image-link').html();$(this).find('.urllist-image-link').html('
'+image+'
')
$(this).find('.urllist-category-link').each(function(){if($(this).hasClass('category-_BLANK')){$(this).parents('.urllist-item-inner').find('.urllist-image-link').attr('target','_blank');}
var category=$(this).text();category=$.trim(category);var categoryHead=category.slice(0,1);if(categoryHead=='_'&&category!=='_XPJ'){$(this).remove();}});});$('.page-index #main-inner .hatena-module:nth-child(1)').css({'opacity':'1'});});}
if(!f_ranking_check()){$(window).on('resize',function(){if(f_mobile_check()&&$('.page-index #main-inner .hatena-module:nth-child(2) .slick-slider').length==0){var hide_html=$('.page-index #main-inner .hatena-module:nth-child(2) .hatena-module-body .recent-entries .sbn-hidden-contents').html();$('.page-index #main-inner .hatena-module:nth-child(2) .hatena-module-body .sbn-hidden-contents').remove();$('.page-index #main-inner .hatena-module:nth-child(2) .hatena-module-body .recent-entries').append(hide_html)
$('.page-index #main-inner .hatena-module:nth-child(2) .hatena-module-body .sbn-headline-more-link').remove();$('.page-index #main-inner .hatena-module:nth-child(2) ul.recent-entries').slick({slidesToShow:1,centerMode:true,centerPadding:'calc((100% - 280px) / 2)',prevArrow:'
',nextArrow:'
',appendArrows:$('.page-index #main-inner .hatena-module:nth-child(2) .hatena-module-title')});}
if(!f_mobile_check()&&$('.page-index #main-inner .hatena-module:nth-child(2) .slick-slider').length!==0){$('.page-index #main-inner .hatena-module:nth-child(2) ul.recent-entries').slick('unslick');var view_html='';var hide_html='';$('.page-index #main-inner .hatena-module:nth-child(2) .hatena-module-body .recent-entries .urllist-item').each(function(i){if(i<4){view_html+='
'+$(this).html()+'';}else{hide_html+='
'+$(this).html()+'';}});$('.page-index #main-inner .hatena-module:nth-child(2) .hatena-module-body .recent-entries').html(view_html+'
'+hide_html+'
');$('.page-index #main-inner .hatena-module:nth-child(2) .hatena-module-body .recent-entries').after('
MORE');}});$(window).on('DOMContentLoaded',function(){if(f_mobile_check()){$('.page-index #main-inner .hatena-module:nth-child(2) ul.recent-entries').not('.slick-initialized').slick({slidesToShow:1,centerMode:true,centerPadding:'calc((100% - 280px) / 2)',prevArrow:'
',nextArrow:'
',appendArrows:$('.page-index #main-inner .hatena-module:nth-child(2) .hatena-module-title')});}else{var view_html='';var hide_html='';$('.page-index #main-inner .hatena-module:nth-child(2) .hatena-module-body .recent-entries .urllist-item').each(function(i){if(i<4){view_html+='
'+$(this).html()+'';}else{hide_html+='
'+$(this).html()+'';}});$('.page-index #main-inner .hatena-module:nth-child(2) .hatena-module-body .recent-entries').html(view_html+'
'+hide_html+'
');$('.page-index #main-inner .hatena-module:nth-child(2) .hatena-module-body .recent-entries').after('
MORE');}
$(document).on('click','.page-index #main-inner .hatena-module:nth-child(2) .hatena-module-body .sbn-headline-more-link',function(){$('.page-index #main-inner .hatena-module:nth-child(2) .hatena-module-body .sbn-hidden-contents').slideToggle(200);$(this).fadeOut(200);});$('.page-index #main-inner .hatena-module:nth-child(2) .hatena-module-body .recent-entries .urllist-item .urllist-item-inner .urllist-date-link').each(function(){$(this).find('a').removeAttr('href');var elem=$(this).find('time').first();$(elem).text($(elem).text().split('-').join('.'));});$('.page-index #main-inner .hatena-module:nth-child(2) .hatena-module-body .recent-entries .urllist-item .urllist-item-inner .urllist-title-link').each(function(){var $target=$(this);if($($target).siblings().find('.urllist-category-link').hasClass('category-_BLANK')){$($target).attr('target','_blank');}});});}
if(!f_ranking_check()){$(window).on('DOMContentLoaded',function(){$('.page-index #main-inner .hatena-module:nth-child(4) .hatena-module-body .recent-entries .urllist-item .urllist-item-inner .urllist-date-link').each(function(){$(this).find('a').removeAttr('href');var elem=$(this).find('time').first();$(elem).text($(elem).text().split('-').join('.'));});$('.page-index #main-inner .hatena-module:nth-child(4) .hatena-module-body .recent-entries .urllist-item').each(function(){var date_arr=$(this).find('time').text().split('.');var entry_date=new Date(date_arr[0],date_arr[1]-1,date_arr[2],0,0,0);var target_date=new Date();target_date.setHours(0);target_date.setMinutes(0);target_date.setSeconds(0);target_date.setDate(target_date.getDate()-7);if(entry_date>target_date){$(this).addClass('sbn-index-entry--new');}
$(this).find('.urllist-image-link,.urllist-date-link,.urllist-title-link').wrapAll('
');$(this).find('.urllist-category-link').each(function(){if($(this).hasClass('category-_BLANK')){$(this).parents('.urllist-item').addClass('sbn-index-entry--blank');$(this).parents('.urllist-item').find('a').attr('target','_blank').prepend('
');}
if($(this).hasClass('category-_FutureStride')){$(this).parents('.urllist-item').addClass('sbn-index-entry--futurestride');}
var category=$(this).text();category=$.trim(category);switch(category){case'ãããã©ã¤ã³':$(this).parents('.urllist-item').find('.urllist-date-link a').addClass('category-ãããã©ã¤ã³');break;case'ãã¬ã³ãæ
å ±':$(this).parents('.urllist-item').find('.urllist-date-link a').addClass('category-ãã¬ã³ãæ
å ±');break;case'ã©ã¤ãã¹ã¿ã¤ã«':$(this).parents('.urllist-item').find('.urllist-date-link a').addClass('category-ã©ã¤ãã¹ã¿ã¤ã«');break;case'ITï¼ã¿ãã':$(this).parents('.urllist-item').find('.urllist-date-link a').addClass('category-ITï¼ã¿ãã');break;case'ã½ãããã³ã¯ã®ãã¨':$(this).parents('.urllist-item').find('.urllist-date-link a').addClass('category-ã½ãããã³ã¯ã®ãã¨');break;case'ããèªã¾ãã¦ããè¨äº':$(this).parents('.urllist-item').find('.urllist-date-link a').addClass('category-ããèªã¾ãã¦ããè¨äº');break;case'ã½ãããã³ã¯ãã¥ã¼ã¹ã¨ã¯':$(this).parents('.urllist-item').find('.urllist-date-link a').addClass('category-ã½ãããã³ã¯ãã¥ã¼ã¹ã¨ã¯');break;case'ç¨èªé':$(this).parents('.urllist-item').find('.urllist-date-link a').addClass('category-ç¨èªé');break;case'_XPJ':$(this).parents('.urllist-item').find('.urllist-date-link a').addClass('category-_XPJ');break;}
var WORDLIMIT=12;var clamp='â¦';if(category.length>WORDLIMIT){var str=category;str=str.substr(0,(WORDLIMIT-1));category=str+clamp;}
$(this).text(category);if(category.match(/ã½ãããã³ã¯/)){console.log(category);}
category=category.slice(0,1);if(category=='_'){$(this).remove();}});});$('.page-index #main-inner .hatena-module:nth-child(4) .hatena-module-body .recent-entries').after('
è¨äºä¸è¦§');$('.page-index #main-inner .hatena-module:nth-child(4)').css({'opacity':'1'});});}
$(window).on('DOMContentLoaded',function(){var $featured=$('.page-index #main-inner .hatena-module:nth-child(5) .hatena-module-title');var txt=$featured.text();$featured.html('
'+txt+'');var setSlider=function(options){if(options){this.pcCondition=(options.pc)?options.pc:3;this.spCondition=(options.sp)?options.sp:2;this.breakPoint=(options.pcDisplayCondition)?options.pcDisplayCondition:768;this.wrappar=(options.elem)?options.elem:'.hatena-module:nth-child(5) .featured-entry';this.item=(options.item)?options.item:'.hatena-module:nth-child(5) .featured-entry .featured-entry-item';this.appendArrows=(options.appendArrows)?appendArrows:'.hatena-module:nth-child(5) .hatena-module-title';}else{this.pcCondition=3;this.spCondition=2;this.breakPoint=768;this.wrappar='.hatena-module:nth-child(5) .featured-entry';this.item='.hatena-module:nth-child(5) .featured-entry .featured-entry-item';}
this.itemLength=$(this.item).length;this.isPlay=function(){var self=this;if(!$(this.wrappar+'.slick-initialized')[0]){$(this.wrappar).slick({slidesToShow:2,prevArrow:'
',nextArrow:'
',dots:false,responsive:[{breakpoint:self.breakPoint,settings:{centerPadding:'calc(75/750*100%)',centerMode:true,slidesToShow:1,prevArrow:'
',nextArrow:'
',dots:false,appendArrows:$(self.appendArrows)}}]});}}
this.nonDisplay=function(){if($(this.wrappar+'.slick-initialized').length){$(this.wrappar+'.slick-initialized').slick('unslick');}}
this.init=function(callBack){if($(window).width()>=this.breakPoint){if(this.pcCondition<=this.itemLength){this.isPlay();}else{this.nonDisplay();}}else if($(window).width()<=this.breakPoint){if(this.spCondition<=this.itemLength){this.isPlay();}else{this.nonDisplay();}}
if(typeof callBack==='function'){callBack();}};}
var fiuturedSlider=new setSlider({pcCondition:3,spCondition:2,breakPoint:768,wrappar:'.hatena-module:nth-child(5) .featured-entry',item:'.hatena-module:nth-child(5) .featured-entry .featured-entry-item'})
fiuturedSlider.init(function(){$('.hatena-module:nth-child(5)').css('opacity',1);});$(window).on('resize',function(){fiuturedSlider.init();})});if(!f_ranking_check()){$(window).on('DOMContentLoaded',function(){$('.page-index #main-inner .hatena-module:nth-child(6) .hatena-module-body .recent-entries .urllist-item').each(function(){$(this).find('.urllist-category-link').each(function(){var category=$(this).text();category=$.trim(category);switch(category){case'ãããã©ã¤ã³':$(this).parents('.urllist-item').find('.urllist-title-link').addClass('category-ãããã©ã¤ã³');break;case'ãã¬ã³ãæ
å ±':$(this).parents('.urllist-item').find('.urllist-title-link').addClass('category-ãã¬ã³ãæ
å ±');break;case'ã©ã¤ãã¹ã¿ã¤ã«':$(this).parents('.urllist-item').find('.urllist-title-link').addClass('category-ã©ã¤ãã¹ã¿ã¤ã«');break;case'ITï¼ã¿ãã':$(this).parents('.urllist-item').find('.urllist-title-link').addClass('category-ITï¼ã¿ãã');break;case'ã½ãããã³ã¯ã®ãã¨':$(this).parents('.urllist-item').find('.urllist-title-link').addClass('category-ã½ãããã³ã¯ã®ãã¨');break;case'ããèªã¾ãã¦ããè¨äº':$(this).parents('.urllist-item').find('.urllist-title-link').addClass('category-ããèªã¾ãã¦ããè¨äº');break;case'ã½ãããã³ã¯ãã¥ã¼ã¹ã¨ã¯':$(this).parents('.urllist-item').find('.urllist-title-link').addClass('category-ã½ãããã³ã¯ãã¥ã¼ã¹ã¨ã¯');break;case'ç¨èªé':$(this).parents('.urllist-item').find('.urllist-title-link').addClass('category-ç¨èªé');break;}});});if(f_mobile_check()){$('.page-index #main-inner .hatena-module:nth-child(6) ul.recent-entries').slick({slidesToShow:1,arrows:false,dots:true,autoplay:true});}
$('.page-index #main-inner .hatena-module:nth-child(6)').css({'opacity':'1'});});$(window).on('resize',function(){if(f_mobile_check()){if(!$('.page-index #main-inner .hatena-module:nth-child(6) .slick-slider').length){$('.page-index #main-inner .hatena-module:nth-child(6) ul.recent-entries').slick({slidesToShow:1,arrows:false,dots:true,autoplay:true});}}else{if($('.page-index #main-inner .hatena-module:nth-child(6) .slick-slider').length){$('.page-index #main-inner .hatena-module:nth-child(6) ul.recent-entries').slick('unslick');}}});$(function(){var e='.page-index #main-inner .hatena-module.category-_PICKUP > .hatena-module-title > a';$(e).replaceWith($(e).text());});}
$(window).on('DOMContentLoaded',function(){$.ajax({type:"GET",url:"https://www.softbank.jp/sbnews/entries_access_ranking_module?count=10&source=access&enable_customize_format=0&display_entry_category=0&display_entry_image=1&display_entry_image_size_width=369&display_entry_image_size_height=246&display_entry_body_length=0&display_entry_date=0&display_entry_title_length=20&restrict_entry_title_length=0&display_bookmark_count=0",}).done(function(data){$('.page-index #main-inner .hatena-module:nth-child(12) .hatena-module-body').append(data);$(window).on('load',function(){var blackList=SB_NEWS_CONFIG.restrictedEntries;var shownEntriesCount=0;$('.page-index #main-inner .hatena-module:nth-child(12) .hatena-module-body .entries-access-ranking .urllist-item').each(function(i){var entryLink=$(this).find('.entries-access-ranking-title-link').attr('href').replace(/.*\/entry\//,'');if(shownEntriesCount>=6){$(this).remove();return;}
if(blackList.indexOf(entryLink)>=0){$(this).remove();}else{shownEntriesCount++;}});$('.page-index #main-inner .hatena-module:nth-child(12)').css({'opacity':'1'});});}).fail(function(){$('.page-index #main-inner .hatena-module:nth-child(12)').append('
')});});$(window).on('DOMContentLoaded',function(){if($('.hatena-module:nth-child(13) .hatena-module-body').length){$('.hatena-module:nth-child(13) .hatena-module-title').html('
ãã¬ã¹ãªãªã¼ã¹')
var requestHostname=SB_NEWS_UTIL.getParamByKey('requestHostname')||'//www.softbank.jp';var xmlUrl='https://www.softbank.jp/-/media/sb/sjp/RSS/PressReleaseNewsRss/PressReleaseNewsRss.rdf'
$.ajax({type:'GET',url:requestHostname+'/corp/d/sbnews/api/v1/press_all.php'+'?xmlurl='+xmlUrl,dataType:'jsonp',jsonp:false,jsonpCallback:'jsonCallbackFunc',cache:false,}).done(function(data){console.log(data);var $featuredModuleBody=$('.hatena-module:nth-child(13) .hatena-module-body');$(window).on('load',function(callBack){$featuredModuleBody.append('
');var list=data['item']
list.forEach(function(item,index){if(index>=5){return;}
var titleDescData=item['title'].split(/\s\-\s/);var date=item['pubDate'];var link=item['link'];var title,date,desc;title=titleDescData[0];desc=titleDescData[1];var pubDate=date.substring(0,10).split('-').join('.');var blankClass=(link.match(/\.pdf$/))?'':' icon-pdf';$featuredModuleBody.find('ul').append('- '+''+'
'+'
'+''+pubDate+''+title+''+'
'+''+''+
desc
+'
'+''+''+' ')});$featuredModuleBody.append('
')});}).fail(function(jqXHR,textStatus,errorThrown){console.log(jqXHR)
console.log(textStatus)
console.log(errorThrown)})}});$(window).on('DOMContentLoaded',function(){if(!f_ranking_check()){var index_tag_list_class='.page-index #main-inner .hatena-module:nth-child(3) .hatena-module-body .entry-categories';var index_tag_button_class='.page-index #main-inner .hatena-module:nth-child(3) .hatena-module-body .entry-categories .entry-categories-button'
$('.page-index #main-inner .hatena-module:nth-child(3)').css({'opacity':'1'});f_tag_slider(index_tag_list_class,'index');$(document).on('click',index_tag_button_class,function(){f_tag_slider_click(index_tag_list_class,'index');});$(window).on('resize',function(){f_tag_slider_reset(index_tag_list_class,'index');});}
var archive_tag_list_class='.page-archive #content .archive-header-category .entry-categories';var archive_tag_button_class='.page-archive #content .archive-header-category .entry-categories .entry-categories-button'
f_tag_slider(archive_tag_list_class,'archive');$(document).on('click',archive_tag_button_class,function(){f_tag_slider_click(archive_tag_list_class,'archive');});$(window).on('resize',function(){f_tag_slider_reset(archive_tag_list_class,'archive');});});
$(window).on('DOMContentLoaded',function(){var breadcrumbChild=$('.breadcrumb-child').first();if(breadcrumbChild.text().trim()==='_XPJ'){breadcrumbChild.html(breadcrumbChild.html().replace('
_XPJ','
X PROJECT'));}
var rightColumn='.page-entry #content-inner #box2 #box2-inner ';$(rightColumn+'.hatena-module:nth-child(2) .hatena-module-title').text('');$(rightColumn+'.hatena-module:nth-child(3) .hatena-module-title').text('');var featuredCategory=SB_NEWS_CONFIG.categoryStructure.featuredCategory;var requestURL=SB_NEWS_CONFIG.requestURL;var categoryMatchCount=0;var displayCategory='';var bodyClassNames=$('body').attr('class').split(" ");$.each(bodyClassNames,function(i,className){$.each(featuredCategory.categories,function(i,category){if(className==='category-'+category.categoryName){categoryMatchCount++;if(categoryMatchCount<=2){displayCategory=category.categoryName;}}});});if(displayCategory){$.ajax({type:"GET",url:requestURL+"rss/category/"+encodeURI(displayCategory),responseType:'document',}).done(function(data){var $featuredModuleBody=$(rightColumn+'.hatena-module:nth-child(3) .hatena-module-body')
$(window).on('load',function(){$featuredModuleBody.append('
');$(data).find("item").each(function(i){if(i>=5){return;}
var itemLink=$(this).find('link').html();var itemImage=$(this).find("enclosure").attr("url");var itemTitle=$(this).find('title').html();$featuredModuleBody.find('ul').append('- '+'
'+'
'+''+'
'+
itemTitle+'')});$featuredModuleBody.append('')});$(rightColumn+'.hatena-module:nth-child(3) .hatena-module-title').text('')
$(rightColumn+'.hatena-module:nth-child(3) .hatena-module-title').append('
'+displayCategory+'
ã®ææ°è¨äº'+'');}).fail(function(){$(rightColumn+'.hatena-module:nth-child(3)').append('
')});$(rightColumn+'.hatena-module:nth-child(3)').css({'opacity':'1'});$(rightColumn+'.hatena-module:nth-child(3) .urllist-item-inner').each(function(){if($(this).find('.urllist-category-link').hasClass('category-_BLANK')){$(this).children('a').attr('target','_blank');}});}
if($('body').hasClass('page-entry')||$('body').hasClass('page-about')){$.ajax({type:"GET",url:"https://www.softbank.jp/sbnews/entries_access_ranking_module?count=10&source=access&enable_customize_format=0&display_entry_category=1&display_entry_image=1&display_entry_image_size_width=670&display_entry_image_size_height=420&display_entry_body_length=0&display_entry_date=0&display_entry_title_length=20&restrict_entry_title_length=0&display_bookmark_count=0",}).done(function(data){$('#content-inner #box2 #box2-inner .hatena-module:nth-child(5)').append('
')
$('#content-inner #box2 #box2-inner .hatena-module:nth-child(5) .hatena-module-body').append(data);$(window).on('load',function(){var blackList=SB_NEWS_CONFIG.restrictedEntries;var shownEntriesCount=0;$('#content-inner #box2 #box2-inner .hatena-module:nth-child(5) .hatena-module-body .entries-access-ranking .urllist-item').each(function(i){var entryLink=$(this).find('.entries-access-ranking-title-link').attr('href').replace(/.*\/entry\//,'');if(shownEntriesCount>=5){$(this).remove();return;}
if(blackList.indexOf(entryLink)>=0){$(this).remove();}else{shownEntriesCount++;}});$('#content-inner #box2 #box2-inner .hatena-module:nth-child(5)').css({'opacity':'unset'});})}).fail(function(){$('#content-inner #box2 #box2-inner .hatena-module:nth-child(5)').append('
')});}adjustStyle();$(".entry-categories .entry-category-link").css({"display":"inline-block"});$('.entry-category-link').each(function(i){var $first_text=$(this).text().substr(0,1);if($first_text=='_'||(i&&$(this).hasClass('category-ãããã©ã¤ã³'))){$(this).remove();}});if(!$("#entry-footer-tag .entry-categories").children().length){$(".entry-header .entry-categories").addClass('entry-categories--notag');$("#entry-footer-tag").hide();}
$('.entry-paging-pagenum').attr('style','');$('#entry-footer-secondary-modules #entry-footer-tag .entry-categories').attr('style','');var target=$('.entry-header .entry-header-modules:nth-child(1) .hatena-module:nth-child(1) .hatena-module-body');var html_source=target.html();target.remove();$('.entry-header .entry-categories').after(html_source);$('.entry-header .entry-categories').next().show();if($('body').hasClass('category-_XPJ')){$(rightColumn+'.hatena-module:nth-child(2) .hatena-module-title').append('
');$(rightColumn+'.hatena-module:nth-child(2) .hatena-module-title a').append('X PROJECT
ã®ææ°è¨äº');$(rightColumn+'.hatena-module:nth-child(2)').css({'opacity':'1'});$(rightColumn+'.hatena-module:nth-child(7)').hide();}else{$(rightColumn+'.hatena-module:nth-child(2)').hide();}
$(rightColumn+'.hatena-module:nth-child(4) .hatena-module-title a').text('ææ°è¨äº');$(rightColumn+'.hatena-module:nth-child(4)').css({'opacity':'1'});$(rightColumn+'.hatena-module:nth-child(4) .urllist-item-inner').each(function(){if($(this).find('.urllist-category-link').hasClass('category-_BLANK')){$(this).children('a').attr('target','_blank');}});$(rightColumn+'.hatena-module:nth-child(5) .hatena-module-title').html('
ããèªã¾ãã¦ããè¨äº');$(rightColumn+'.hatena-module:nth-child(5) .urllist-item-inner').each(function(){if($(this).find('.urllist-category-link').hasClass('category-_BLANK')){$(this).children('a').attr('target','_blank');}});$(rightColumn+'.hatena-module:nth-child(6) .hatena-module-title').text('ã¿ã°ä¸è¦§');$(rightColumn+'.hatena-module:nth-child(6)').css({'opacity':'1'});$(rightColumn+'.hatena-module:nth-child(6) .entry-categories').attr('style','');var isFeaturedCategory=false;var featuredModule=('.page-entry #content-inner #box2 #box2-inner .hatena-module:nth-child(7) .pager, .page-about #content-inner #box2 #box2-inner .hatena-module:nth-child(7) .pager');$.each(featuredCategory.categories,function(i,list){if($('body').hasClass('category-'+list.categoryName)){$(featuredModule).each(function(){var categoryName=$(this).find('.page-single-category').text();if(categoryName===list.categoryName){$(this).addClass('pager-isActive');isFeaturedCategory=true;}else{$(this).removeClass('pager-isActive');}});}});if(!isFeaturedCategory||$('body').hasClass('page-about')){$(featuredModule).each(function(){$(this).addClass('pager-isActive');});}
$('.page-about #content-inner #box2 #box2-inner .hatena-module:nth-child(2)').hide();$('.page-about #content-inner #box2 #box2-inner .hatena-module:nth-child(4) .hatena-module-title a').text('ææ°è¨äº');$('.page-about #content-inner #box2 #box2-inner .hatena-module:nth-child(4)').css({'opacity':'1'});$('.page-about #content-inner #box2 #box2-inner .hatena-module:nth-child(4) .urllist-item-inner').each(function(){if($(this).find('.urllist-category-link').hasClass('category-_BLANK')){$(this).children('a').attr('target','_blank');}});$('.page-about #content-inner #box2 #box2-inner .hatena-module:nth-child(5) .hatena-module-title').html('
ããèªã¾ãã¦ããè¨äº');$('.page-about #content-inner #box2 #box2-inner .hatena-module:nth-child(5)').css({'opacity':'1'});$('.page-about #content-inner #box2 #box2-inner .hatena-module:nth-child(5) .urllist-item-inner').each(function(){if($(this).find('.urllist-category-link').hasClass('category-_BLANK')){$(this).children('a').attr('target','_blank');}});$('.page-about #content-inner #box2 #box2-inner .hatena-module:nth-child(6) .hatena-module-title').text('ã¿ã°ä¸è¦§');$('.page-about #content-inner #box2 #box2-inner .hatena-module:nth-child(6)').css({'opacity':'1'});$('.page-about #content-inner #box2 #box2-inner .hatena-module:nth-child(6) .entry-categories').attr('style','');var sideNavi=document.querySelector('#box2-inner');const sideNaviObserver=new MutationObserver(function(records){if(g_load_device=='pc'&&(records[0].target.style.getPropertyValue("opacity")==='1'||records[0].target.style.getPropertyValue("opacity")==='unset')){var $recommendModule=$('.page-entry #content-inner #wrapper .entry-footer #entry-footer-secondary-modules .hatena-module:nth-child(4)')
if($recommendModule.length>0){var targetModule=$(".page-entry #content-inner #box2 #box2-inner .hatena-module:nth-child(7)").length?$(".page-entry #content-inner #box2 #box2-inner .hatena-module:nth-child(7)"):$(".page-entry #content-inner #box2 #box2-inner .hatena-module:nth-child(6)");var targetOffset=targetModule.offset().top<=0?22000:targetModule.offset().top
var sideColumnLastModuleOffset=targetOffset+targetModule.height();var lastModuleH=targetModule.outerHeight(true)+60;var recommentPartsOffset=$recommendModule.offset().top;if(sideColumnLastModuleOffset>recommentPartsOffset){var marginValue=sideColumnLastModuleOffset-targetModule.height()-recommentPartsOffset+lastModuleH;$('.page-entry #content-inner #wrapper .entry-footer #entry-footer-secondary-modules .hatena-module:nth-child(3)').css({"margin-bottom":marginValue+'px'});}}
sideNaviObserver.disconnect();}});sideNaviObserver.observe(sideNavi,{attributes:true,attributeFilter:["style"],subtree:true});});function adjustStyle(){if(f_mobile_check()){$(".page-entry .entry-header .entry-categories").css({"padding-left":"0"});$(".page-entry .entry-header .entry-categories").css({"padding-top":"60px"});}else{var first_width=$('.page-entry .entry-category-link:first-child').outerWidth()+95;$(".page-entry .entry-header .entry-categories").css({"padding-left":first_width+"px"});$(".page-entry .entry-header .entry-categories").css({"padding-top":"9px"});}}
$(window).on('load',function(){if(g_load_device=='pc'){$('._popIn_recommend_container').addClass('load_pc');}else{$('._popIn_recommend_container').addClass('load_sp');}
$('._popIn_recommend_container').attr('sbn-load-device',g_load_device);$('._popIn_recommend_container').attr('sbn-load-width',g_load_width);$('.page-entry #content-inner #wrapper .entry-footer #entry-footer-secondary-modules .hatena-module:nth-child(4)').css({'opacity':'1'});$('._popIn_recommend_art_category').each(function(){var text_val=$(this).text();var text_array=text_val.split(' ')
switch(true){case $.inArray('ãããã©ã¤ã³',text_array)!=-1:$(this).prev('._popIn_recommend_art_title').addClass('category-ãããã©ã¤ã³');break;case $.inArray('ãã¬ã³ãæ
å ±',text_array)!=-1:$(this).prev('._popIn_recommend_art_title').addClass('category-ãã¬ã³ãæ
å ±');break;case $.inArray('ã©ã¤ãã¹ã¿ã¤ã«',text_array)!=-1:$(this).prev('._popIn_recommend_art_title').addClass('category-ã©ã¤ãã¹ã¿ã¤ã«');break;case $.inArray('ITï¼ã¿ãã',text_array)!=-1:$(this).prev('._popIn_recommend_art_title').addClass('category-ITï¼ã¿ãã');break;case $.inArray('ã½ãããã³ã¯ã®ãã¨',text_array)!=-1:$(this).prev('._popIn_recommend_art_title').addClass('category-ã½ãããã³ã¯ã®ãã¨');break;case $.inArray('ããèªã¾ãã¦ããè¨äº',text_array)!=-1:$(this).prev('._popIn_recommend_art_title').addClass('category-ããèªã¾ãã¦ããè¨äº');break;case $.inArray('ã½ãããã³ã¯ãã¥ã¼ã¹ã¨ã¯',text_array)!=-1:$(this).prev('._popIn_recommend_art_title').addClass('category-ã½ãããã³ã¯ãã¥ã¼ã¹ã¨ã¯');break;case $.inArray('ç¨èªé',text_array)!=-1:$(this).prev('._popIn_recommend_art_title').addClass('category-ç¨èªé');break;}});$('._popIn_recommend_art_date').each(function(){$(this).text($(this).text().split('-').join('.'));});$('.load_pc ._popIn_infinite_page:nth-child(n+2) ._popIn_recommend_article').appendTo($('.load_pc ._popIn_infinite_page:first-child'));switch(true){case g_load_device=='sp'&&f_mobile_check():$('._popIn_recommend_articles').slick({slidesToShow:1,centerMode:true,centerPadding:'calc((100% - 240px) / 2)',prevArrow:'
',nextArrow:'
',appendArrows:$('.page-entry #content-inner #wrapper .entry-footer #entry-footer-secondary-modules .hatena-module:nth-child(4) .hatena-module-title')});break;case g_load_device=='sp'&&!f_mobile_check():$('._popIn_recommend_articles').slick({slidesToShow:4,prevArrow:'
',nextArrow:'
',appendArrows:$('.page-entry #content-inner #wrapper .entry-footer #entry-footer-secondary-modules .hatena-module:nth-child(4) .hatena-module-title')});break;case g_load_device=='pc'&&!f_mobile_check():$('._popIn_infinite_page:first-child').slick({slidesToShow:4,prevArrow:'
',nextArrow:'
',appendArrows:$('.page-entry #content-inner #wrapper .entry-footer #entry-footer-secondary-modules .hatena-module:nth-child(4) .hatena-module-title')});break;case g_load_device=='pc'&&f_mobile_check():$('._popIn_infinite_page:first-child').slick({slidesToShow:1,centerMode:true,centerPadding:'calc((100% - 240px) / 2)',prevArrow:'
',nextArrow:'
',appendArrows:$('.page-entry #content-inner #wrapper .entry-footer #entry-footer-secondary-modules .hatena-module:nth-child(4) .hatena-module-title')});break;}});$(window).on('resize',function(){var inc_load_device=$('._popIn_recommend_container').attr('sbn-load-device');var inc_load_width=$('._popIn_recommend_container').attr('sbn-load-width');switch(true){case inc_load_device=='sp'&&inc_load_width=='sp':if(!f_mobile_check()){$('._popIn_recommend_articles').slick('unslick');$('._popIn_recommend_articles').slick({slidesToShow:4,prevArrow:'
',nextArrow:'
',appendArrows:$('.page-entry #content-inner #wrapper .entry-footer #entry-footer-secondary-modules .hatena-module:nth-child(4) .hatena-module-title')});$('._popIn_recommend_container').attr('sbn-load-width','pc');}
break;case inc_load_device=='sp'&&inc_load_width=='pc':if(f_mobile_check()){$('._popIn_recommend_articles').slick('unslick');$('._popIn_recommend_articles').slick({slidesToShow:1,centerMode:true,centerPadding:'calc((100% - 240px) / 2)',prevArrow:'
',nextArrow:'
',appendArrows:$('.page-entry #content-inner #wrapper .entry-footer #entry-footer-secondary-modules .hatena-module:nth-child(4) .hatena-module-title')});$('._popIn_recommend_container').attr('sbn-load-width','sp');}
break;case inc_load_device=='pc'&&inc_load_width=='pc':if(f_mobile_check()){$('._popIn_infinite_page:first-child').slick('unslick');$('._popIn_infinite_page:first-child').slick({slidesToShow:1,centerMode:true,centerPadding:'calc((100% - 240px) / 2)',prevArrow:'
',nextArrow:'
',appendArrows:$('.page-entry #content-inner #wrapper .entry-footer #entry-footer-secondary-modules .hatena-module:nth-child(4) .hatena-module-title')});$('._popIn_recommend_container').attr('sbn-load-width','sp');}
break;case inc_load_device=='pc'&&inc_load_width=='sp':if(!f_mobile_check()){$('._popIn_infinite_page:first-child').slick('unslick');$('._popIn_infinite_page:first-child').slick({slidesToShow:4,prevArrow:'
',nextArrow:'
',appendArrows:$('.page-entry #content-inner #wrapper .entry-footer #entry-footer-secondary-modules .hatena-module:nth-child(4) .hatena-module-title')});$('._popIn_recommend_container').attr('sbn-load-width','pc');}
break;}});$(window).on('load resize',function(){var content_height=$('.page-about #content').height();var side_height=$('.page-about #box2').height()+60;if(!f_mobile_check()&&content_height
');$(this).find('.entry-thumb-wrap').after(''+entry_title+'
');var entry_date_year=$(this).find('.date-year').text();var entry_date_month=$(this).find('.date-month').text();var entry_date_day=$(this).find('.date-day').text();var entry_date=new Date(entry_date_year,entry_date_month-1,entry_date_day,0,0,0);var target_date=new Date();target_date.setHours(0);target_date.setMinutes(0);target_date.setSeconds(0);target_date.setDate(target_date.getDate()-7);if(entry_date>target_date){$(this).addClass('archive-entry--new');}
$(this).find('.archive-category-link').each(function(i){if($(this).hasClass('category-_BLANK')){$(this).parents('.archive-entry').addClass('archive-entry--blank');$(this).parents('.archive-entry').find('a').attr('target','_blank');}
if($(this).hasClass('category-_FutureStride')){$(this).parents('.archive-entry').addClass('archive-entry--futurestride');}
if($(this).text().slice(0,1)==='_'||(i&&$(this).hasClass('category-ãããã©ã¤ã³'))){$(this).remove();}});});var page_title=$('.page-archive #content .archive-heading').text();$('.page-archive #content .archive-heading').html(''+page_title+'');$('.archive-entries').css({'opacity':'1'});$('.page-archive:not(.category-ç¨èªé) .archive-entry,.page-archive .search-result + .archive-entries > .archive-entry').each(function(){var text=$(this).find('time').attr('datetime');$(this).find('.entry-thumb-title').before(''+text+'
');});$('body.page-archive:not(.category-ç¨èªé) .archive-entry .categories .category-ç¨èªé').parent().parent().hide();if($('.search-result').length){$('body').addClass('sbn-page-search');$('.page-archive #content .archive-entries .archive-entry').each(function(){var category=$(this).find('.categories').html();$(this).find('.entry-thumb-title').after(''+category+'
');});var search_keyword=$('.search-result').attr("data-search-queries");var keywords=search_keyword.match(/"[^"]+"/g);$.each(keywords,function(i,v){v=v.split('"').join('');;$('.page-archive.sbn-page-search #content .archive-entries .archive-entry .entry-thumb-link .entry-thumb-title:contains('+v+')').each(function(){var text=$(this).text();$(this).html(text.replace(v,''+v+''));});})
var dataSearchQueries=$('.search-result').attr('data-search-queries').replace(/\[|\]|\"/g,'').replace(/\,/g,', ');var breadcrumbHtml='>'+dataSearchQueries+' ã®æ¤ç´¢çµæ';$('.breadcrumb-link').after(breadcrumbHtml);}
if($('body.category-ç¨èªé').length){$('.page-archive #content .archive-entries .archive-entry').each(function(){var title_html=$(this).find('.entry-thumb-title').text();$(this).find('.entry-thumb-title').html('
'+title_html+'
');$(this).find('.entry-description').insertAfter($(this).find('.entry-thumb-title'));});}});$(function(){if($('#main-inner > .entry.no-entry').length){$('body').addClass('page-no-entry');}});$(window).on('DOMContentLoaded',function(){if(!$('body').hasClass('page-archive')){return false;}
var featuredCategories=SB_NEWS_UTIL.findFeaturedCategory();var requestURL=SB_NEWS_CONFIG.requestURL;if(!featuredCategories){return;}
$('.archive-header-category').addClass('featured-header-category');$('.archive-entries').addClass('featured-archive');$('.archive-description').addClass('featured-desc');var ajaxURl=requestURL+'rss/category/'+
encodeURI(featuredCategories[0]);function sliderInit(){if($(window).width()<=768&&$('.featuredPickUp-list')[0]){if(!$('.featuredPickUp-list.slick-initialized')[0]){$('.featuredPickUp-list').slick({slidesToShow:1,arrows:false,dots:true,autoplay:true});}}else{$('.featuredPickUp-list.slick-initialized').slick('unslick');}};var unReflect=[];$.ajax({type:"GET",url:ajaxURl,}).done(function(data){var $featuredPickUpTarget=$('#js-featuredPickUpTarget')[0]?$('#js-featuredPickUpTarget'):null;if($featuredPickUpTarget==null){return false;}
$featuredPickUpTarget.append('');var $feaaturedPickUpList=$featuredPickUpTarget.find('ul');var items=$(data).find('item')
$.each(items,function(index){if(index>=3){return false;}
var item=items[index];var title=$(item).find('title').text();var src=$(item).find('enclosure').attr('url');var link=$(item).find('link').text();var category=$(item).find('category')[0].textContent;$feaaturedPickUpList.append(' - '+''+'
');unReflect.push(link);});sliderInit();});$('.page-archive #content .archive-entries .archive-entry .entry-thumb-link .entry-thumb-date').each(function(){var planeDate=$(this).html();var dotDate=planeDate.replace(/-/g,'.');$(this).html(dotDate);})
if(document.querySelector('.featured-categories')!==null){var html=document.querySelector('.entry-categories').innerHTML;html=html.match(/\n?/g).join('');document.querySelector('.featured-categories').innerHTML=html;}
$(window).on('load',function(){var timer=setInterval(function(){if($('.featured-archive .archive-entry').length){var categories=document.querySelectorAll('.featured-archive .archive-entry');Array.prototype.slice.call(categories).map(function(category){var target=category.querySelector('.entry-thumb-date');var href=category.querySelector('.entry-thumb-link').getAttribute('href');var categoryName=category.querySelectorAll('.archive-category-link')[0].textContent;target.classList.add('category-'+categoryName);category.style.setProperty('opacity',1,null);})
clearInterval(timer)}},100);})
if(!location.search.match(/page=[0-9]*/)){$('.archive-entries.featured-archive').addClass('current-page-1');}
$(window).on('resize',function(){sliderInit();});});})(window,document,jq2);
');var currentPage=1;var requestedPage=getParam('page')-0;if((2<=requestedPage)&&(requestedPage<=pageNum)){currentPage=requestedPage;}
jq2('section.page-break').hide();jq2('section.page-break#page-'+zeroPadding(currentPage,2)).show();jq2('.entry-paging').append('');var firstPage=1;var lastPage=pageNum;var defaultURL=window.location.href.split(/\?|#/)[0];if((document.referrer.split('?')[0]==defaultURL)&&(requestedPage>=2)){jq2(function(){jq2(window).scrollTop(jq2('.social-buttons:first').offset().top-(jq2('.blog-menu')[0].offsetHeight+24));jq2('#container-inner').addClass('shrink-header');});}
if(pageNum>pageLimit){if(currentPage==1){firstPage=1;lastPage=pageLimit;}else if(currentPage==pageNum){firstPage=currentPage-(pageLimit-1);lastPage=pageNum;}else{firstPage=currentPage-1;lastPage=currentPage+1;}}
for(var i=firstPage;i<=lastPage;i++){var url;if(isXproject){if(currentPage==pageNum){jq2('.entry-paging').addClass('page-end');}
url='?page='+zeroPadding(i,2)+'#page-'+zeroPadding(i,2);}else{url=(i==1)?defaultURL:'?page='+zeroPadding(i,2)+'#page-'+zeroPadding(i,2);}
if(currentPage==i){jq2('.entry-paging-pagination').append('