PageSourceSearch

https://www.missouriwestern.edu/wp-content/plugins/swift-box-wp/js/sb/swift-box.min.js?ver=2.7.1

js missouriwestern.edu collected 2026-09-24 09:25:53 UTC 52,284 bytes, 9 lines download raw bytes

1/* ------------------------------------------------------------------------
2	* Swift Box - jQuery contents slider and viewer
3	*
4	* @version: 	2.6.0
5	* @requires:	jQuery v1.7 and later
6	* @author:		Luca Montanari (LCweb) (https://lcweb.it)
7------------------------------------------------------------------------- */
8
9!function(e){lcnb_box_id=1,lcnb_resize_tout=[],lcnb_exp_scroll_tout=[];var t=function(t,n){var i="undefined",s=e.extend({src:[],rss2json_token:!1,youtube_key:!1,only_w_images:!1,preloader:!0,theme:"light",layout:"horizontal",height:300,width:"100%",min_news_h:120,min_news_w:200,min_horiz_w:400,horiz_img_h:!1,vert_img_w:!1,read_more_txt:"..",boxed_news:!1,horiz_img_mode:!1,buttons_position:"bottom",max_news:6,news_per_time:3,social_share:!0,hide_elements:[],script_basepath:!1,scripts_man_added:!1,touchswipe:!0,lightbox:!0,oneline_title:!1,title_behavior:"expand",img_behavior:"lightbox",date_format:"d mmmm yyyy",elapsed_time:!1,read_more_btn:!1,read_more_btn_txt:"Read more",nav_arrows:!1,autoplay:!1,animation_time:700,slideshow_time:6e3,carousel:!1,slide_all:!1,pause_on_hover:!0,expandable_news:!0,scroll_exp_elem:!0,exp_main_img_pos:"inside",manage_exp_images:!0,group_exp_images:!1,exp_img_w:"1_2",exp_img_h:225,exp_img_on_row:!1,autop_after_exp:!1,exp_in_lightbox:!1,exp_lb_w:"90%",exp_lb_max_w:1200,short_d_names:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],full_d_names:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],short_m_names:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],full_m_names:["January","February","March","April","May","June","July","August","September","October","November","December"],elapsed_names:["ago","seconds","minute","minutes","hour","hours","day","days","week","weeks","month","months"],html_titles:["check original source","expand text","share","share on Facebook","share on Twitter","share on Pinterest"]},n),l={box_id:lcnb_box_id++,box_curr_w:Math.round(e(t).width()),news_array:[],sorted_news:[],fetches_done:0,news_count:0,inl_news_count:0,orig_texts:[],excerpts:[],clean_texts:[],news_w:0,news_h:0,news_to_show:0,first_shown:1,curr_box_margin:0,is_shown:!1,is_playing:!1,is_moving:!1,waiting_for_anim:!1,paused_on_h:!1,is_expanded:!1,event_type:"click"},r=e(t);r.data("lcnb_vars",l),r.data("lcnb_settings",s);var o=function(t,n,a,o,p,b){var m=s.hide_elements;"object"==typeof p.hide_elements&&(m=e.merge(m,p.hide_elements));var h=null!=p.img&&p.img,f=null==p.group_exp_images?s.group_exp_images:p.group_exp_images,u="object"==typeof p.max_img_size&&p.max_img_size,g=/(\b(https?|ftp|file):\/\/[-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|])/gi,w=-1!==e.inArray(n,["rss","pinterest"])?"json":"jsonp";e.ajax({url:a,data:o,dataType:w,error:function(e,t){console.error([n,a,t])},success:function(o){var b=!1;switch(l.fetches_done=l.fetches_done+1,n){case"youtube":typeof o.error!=i?b=o.error.message:o=o.items;break;case"tumblr":200==o.meta.status?o=o.response.posts:b=o.response;break;default:"ok"==o.status?o=o.items:b=o.message}if(b)return console.error([n,a,b]),!1;e.each(o,(function(a,r){switch(n){case"youtube":if("youtube#searchResult"!=r.kind&&"youtube#playlistItem"!=r.kind&&"upload"!=r.snippet.type)return!0;var o=r.snippet.publishedAt,d=new Date(o),b=typeof r.snippet.thumbnails.maxres!=i?r.snippet.thumbnails.maxres.url:r.snippet.thumbnails.high.url,w=h||b;u&&(w=c(w,u.w,u.h));var v=b.replace("/maxresdefault.jpg","").replace("/hqdefault.jpg","").split("/"),x="https://www.youtube.com/watch?v="+v[v.length-1],y={time:d.getTime(),date:o,title:r.snippet.title,txt:r.snippet.description.replace(/\n/g,"<br/>").replace(g,'<a href="$1">$1</a>'),link:x,s_link:x,img:w};break;case"tumblr":if("photo"!=r.type&&"link"!=r.type&&"text"!=r.type)return!0;if("photo"==r.type){var k="",C=(x=r.short_url,(T=_(e.trim(r.caption),"foo",u,s.src[t].strip_tags,s.src[t].remove_tags,!0,f)).txt);w=h||r.photos[0].original_size.url;u&&(w=c(w,u.w,u.h))}else if("link"==r.type){k=r.title,x=r.url;var T,z=e.trim(r.description)?e.trim(r.description):e.trim(r.excerpt);C=(T=_(z,h,u,s.src[t].strip_tags,s.src[t].remove_tags,!0,f)).txt,w=T.img;
9typeof r.photos!=i&&(w=r.photos[0].original_size.url)}else{k=r.title;x=r.short_url,C=(T=_(e.trim(r.body),h,u,s.src[t].strip_tags,s.src[t].remove_tags,!0,f)).txt,w=T.img}y={time:1e3*r.timestamp,date:new Date(1e3*r.timestamp),title:k,txt:C,link:x,s_link:"link"==r.type?r.short_url:x,img:w};break;default:if(null!=navigator.userAgent.match(/(iPhone|iPod|iPad)/)&&19==r.pubDate.length){var M=r.pubDate.substring(0,10).split("-"),I=r.pubDate.substr(11);r.pubDate=M[1]+"/"+M[2]+"/"+M[0]+" "+I}else-1!==navigator.userAgent.indexOf("Macintosh")&&-1!==navigator.userAgent.indexOf("Safari")&&19==r.pubDate.length&&(r.pubDate=r.pubDate.replace(" ","T"));d=new Date(r.pubDate),w="pinterest"==n?r.thumbnail.replace("/192x/","/550x/").replace("/236x/","/550x/"):r.thumbnail;var A="pinterest"==n?"a:first-child":s.src[t].strip_tags,O=_(r.content,h,u,A,s.src[t].remove_tags,!0,f);w||"rss"!=n||typeof r.enclosure==i||typeof r.enclosure.type==i?w||"rss"!=n||typeof r.link==i||-1===r.link.indexOf(".facebook.")||typeof r.enclosure==i||(w=r.enclosure.link):-1===e.inArray(r.enclosure.type,["image/jpeg","image/png","image/gif"])&&-1===r.enclosure.link.indexOf(".png")&&-1===r.enclosure.link.indexOf(".jpg")&&-1===r.enclosure.link.indexOf(".gif")||(w=r.enclosure.link),u&&(w=c(w,u.w,u.h));y={time:d.getTime(),date:r.pubDate,title:r.title,txt:O.txt,link:r.link,s_link:r.link,img:h||w}}if(-1!==e.inArray("title",m)&&(y.title=""),-1!==e.inArray("link",m)&&(y.link=""),-1!==e.inArray("image",m)&&(y.img=""),s.only_w_images&&!y.img)return!0;if("object"==typeof p.match_words&&p.match_words.length){var j=!1,H=y.title+y.txt;if(e.each(p.match_words,(function(e,t){if(-1!==H.indexOf(t))return j=!0,!1})),!j)return!0}y.type=n,y.link_target=p.link_target,y.author=typeof p.author!=i&&p.author;var D=typeof p.exp_img_manag!=i?p.exp_img_manag:{};return y.exp_img_pos=typeof D.pos!=i&&D.pos,y.exp_img_w=typeof D.w!=i&&D.w,y.exp_img_h=typeof D.h!=i&&D.h,typeof p.self_s_link!=i&&p.self_s_link&&(y.s_link=location.href),typeof y.txt!=i&&y.txt&&l.news_array.push(y),l.news_array.length-l.inl_news_count!=s.max_news*(l.fetches_done+1)&&void 0})),l.fetches_done==s.src.length&&d(r)}})},_=function(t,n,a,l,r,o,_){-1!=t.indexOf("<img")&&(t=typeof r!=i&&-1!==r.indexOf("img")&&-1===r.indexOf("img:first")?c(t,a,!0):c(t,a));var p=e("<div />");if(typeof o!=i&&o&&(t=t.replace(/\n/g,"<br/>")),p.append('<div id="lcnb_util" style="display: none !important;">'+t+"</div>"),e("#lcnb_util").lcnb_unselfclose_iframes(),!n&&p.find("#lcnb_util img").length){var d=p.find("#lcnb_util img").first().attr("fake-src");p.find("#lcnb_util img").first().remove()}else d=a?c(n,a.w,a.h):n;if(typeof r!=i&&r&&e.trim(r).length>0){var b=r.split(",");e.each(b,(function(e,t){p.find("#lcnb_util "+t).remove()}))}if("all"==l)p.find("#lcnb_util *").not("p, br, iframe").each((function(){var t=e(this).contents();e(this).replaceWith(t)}));else if(typeof l!=i&&l&&e.trim(l).length>0){var m=l.split(",");e.each(m,(function(t,n){p.find("#lcnb_util "+n).each((function(){var t=e(this).contents();e(this).replaceWith(t)}))}))}let h="";for(_&&s.manage_exp_images&&p.find("#lcnb_util img").each((function(){h+=this.outerHTML,e(this).remove()})),p.find('a[href="https://fetchrss.com/"]')&&p.find('a[href="https://fetchrss.com/"]').parent().remove(),p.find("#lcnb_util *").removeAttr("style"),p.find("*:empty").not("br, img, i, iframe").remove(),x=0;x<100;x++){let t=p.find("#lcnb_util").html().trim();-1!==t.substring(0,3).toLowerCase().indexOf("<br")&&p.find("#lcnb_util *:first").remove(),-1!==t.substring(t.length-5).toLowerCase().indexOf("<br")&&p.find("#lcnb_util *:last").remove(),p.find("br").each((function(){e(this).prev().is("p")&&e(this).remove()}))}h&&p.find("#lcnb_util").append('<div class="lcnb_grouped_images">'+h+"</div>");var f=p.find("#lcnb_util").html().trim();return{txt:e.trim(f),img:d}},c=function(t,n,a){if(!t)return t;var s=t,l=e("<div />");l.append('<div id="lcnb_fake_util" style="display: none !important;">'+s+"</div>"),l.find("img").wrap("<span></span>");var r=l.find("#lcnb_fake_util").html();return l.html('<div id="lcnb_fake_util" style="display: none !important;">'+r.replace(/<img/g,"<fake-img")+"</div>"),l.find("fake-img").each((function(){var t=e(this).attr("src");typeof t!=i&&-1!=t.indexOf("safe_image.php")&&(t=D(t,"url")),e('<img fake-src="'+t+'" />').insertBefore(this),e(this).remove()})),typeof a==i&&n&&l.find("img").each((function(){var t=e(this).attr("fake-src"),i=lcnb_script_basepath+"php_assets/img_size_check.php?src="+encodeURIComponent(t)+"&max_w="+n.w+"&max_h="+n.h;e(this).attr("fake-src",i)})),l.find("#lcnb_fake_util").html()};e.fn.lcnb_unselfclose_iframes=function(){return this.each((function(){e(this).find("iframe").each((function(){var t=e(this),n="<iframe ",i=t.prop("attributes");e.each(i,(function(){n+=this.name+'="'+this.value+'" '})),t.replaceWith(n+"></iframe>")}))})),this};var p=function(e,t,n){return parseInt(t)&&parseInt(n)?lcnb_script_basepath+"php_assets/img_size_check.php?src="+encodeURIComponent(e)+"&max_w="+t+"&max_h="+n:e},d=function(t){var n=t.data("lcnb_vars");if(n.sorted_news.length==s.max_news||0==n.news_array.length)return n.news_count=n.sorted_news.length,b(),!0;var i={index:0,time:0};e.each(n.news_array,(function(e,t){t.time>i.time&&(i={index:e,time:t.time})})),n.sorted_news.push(n.news_array[i.index]),n.news_array.splice(i.index,1),d(t)},b=function(){s.news_per_time>l.news_count&&(s.news_per_time=l.news_count),e.each(l.sorted_news,(function(t,n){var a=t+1;if(1==s.social_share)var o=T(n.type,n);else o="";if(typeof n.link!=i&&n.link)var _='<div class="lcnb_link"><a href="'+n.link+'" target="_blank" title="'+s.html_titles[0]+'"></a></div>';else{_="";"link"==s.title_behavior&&(s.title_behavior="none"),"link"==s.img_behavior&&(s.img_behavior="none")}if(-1===e.inArray("date",s.hide_elements))var c='<div class="lcnb_btn_time" '+(s.read_more_btn?'style="display: none;"':"")+'><time class="lcnb_date" pubdate="pubdate" datetime="'+n.date+'">'+f(n.date)+"</time></div>";else c="";if(s.read_more_btn&&typeof n.link!=i&&n.link){var p='<div class="lcnb_btn_time lcnb_rm_btn_wrap"><a class="lcnb_rm_btn" href="'+n.link+'">'+s.read_more_btn_txt+"</a></div>";_=""}else p="";if(1==s.expandable_news)var d='<div class="lcnb_btn_expand noSwipe" title="'+s.html_titles[1]+'"></div>';else{d="";"expand"==s.title_behavior&&(s.title_behavior="none"),"expand"==s.img_behavior&&(s.img_behavior="none")}var b="",g="",w="";if(-1===e.inArray("btn_bar",s.hide_elements))if("side"==s.buttons_position&&"vertical"==s.layout&&s.boxed_news)(1==s.social_share||_||-1===e.inArray("date",s.hide_elements))&&(b='<div class="lcnb_buttons noSwipe">'+d+_+o+"</div>"),(-1===e.inArray("date",s.hide_elements)||p)&&(w='<div class="lcnb_btm_bar">'+c+p+"</div>");else if("top"==s.buttons_position){if(1==s.social_share||_||-1===e.inArray("date",s.hide_elements)||p)g='<div class="lcnb_top_bar">'+d+o+_+c+p+"</div>"}else if(1==s.social_share||_||-1===e.inArray("date",s.hide_elements)||p)w='<div class="lcnb_btm_bar">'+d+o+_+c+p+"</div>";if(""==n.title)var v="";else if("link"==s.title_behavior)v='<h3 class="lcnb_title"><a href="'+n.link+'" class="lcnb_linked_title" target="'+n.link_target+'">'+n.title+"</a></h3>";else{v='<h3 class="lcnb_title '+("expand"==s.title_behavior?"lcnb_expand_trig noSwipe":"")+" "+(s.oneline_title?"lcnb_oneline_title":"")+'" '+(s.oneline_title?'title="'+n.title+'"':"")+">"+n.title+"</h3>"}var x=typeof n.author==i||""==n.author?"":'<span class="lcnb_author">'+n.author+"</span> ";l.excerpts[t+1]=typeof n.excerpt!=i?n.excerpt:"",l.orig_texts[t+1]=x+n.txt;var y="",k="",C="";if("none"!=s.img_behavior){var z="youtube"==n.type?"lcnb_video_lb":"lcnb_img_lb";if("inline"==n.type&&typeof n.video!=i&&(z="lcnb_video_lb"),"expand"==s.img_behavior&&s.expandable_news&&(z+=" lcnb_expand_trig"),"link"==s.img_behavior&&(z+=" lcnb_linked_img"),"youtube"==n.type)var M=n.s_link;else if("inline"==n.type&&typeof n.video!=i)M=n.video;else M=D(n.img,"src");M&&(y="link"==s.img_behavior?'data-link="'+n.link+'" data-link-target="'+n.link_target+'"':"",k='data-mfp-src="'+M+'"',C='<div class="lcnb_img_ol '+z+'"></div>')}var I=typeof n.img!=i&&n.img?'<div class="lcnb_img lcnb_loading_img" '+y+" "+k+">"+C+"<figure style=\"background-image: url('"+n.img+'\');"></figure><img src="'+n.img+'" alt="'+v.replace(/"/g,"&quot;")+'" /></div>':"",A='<section class="lcnb_contents"><div><div class="lcnb_contents_inner">'+v+'<div class="lcnb_txt">'+x+(typeof n.excerpt!=i&&n.excerpt?n.excerpt:n.txt)+"</div></div></div></section>",O=I&&"horizontal"==s.layout&&s.horiz_img_mode?"lcnb_h_img_mode":"",H=O&&!v?"lcnb_him_no_txt":"",S='<article class="lcnb_news lcnb_type_'+n.type+" "+O+" "+H+'" style="opacity: 0; top: 30px;" rel="'+a+'"><div class="lcnb_news_inner">'+b+I+'<div class="lcnb_contents_wrap">'+g+A+w+"</div></div></article>";if(typeof n.link_target!=i&&n.link_target){var R=e("<div>"+S+"</div>");R.find("article a").attr("target",n.link_target),S=R.html(),R=!1}r.find(".lcnb_inner").append(S),I&&r.find(".lcnb_news").last().lcnb_preload_img(),t==l.news_count-1&&(s.carousel&&m(),u(),h(),s.touchswipe&&j())}))},m=function(t){var n=r.find(".lcnb_inner"),i=n.find(".lcnb_news"),s=i.clone(),l=i.length,o=e("<div></div>").append(s);for(n.prepend(o.html()),n.append(o.html()),a=0;a<l;a++)n.find(".lcnb_news:eq("+a+"), .lcnb_news:eq("+(a+2*l)+")").addClass("lcnb_clone");n.find(".lcnb_clone").lcnb_preload_img()},h=function(){var t=r.data("lcnb_settings"),n=r.data("lcnb_vars");r.find(".lcnb_wrap").removeClass("lcnb_loading"),r.find(".lcnb_cmd").css("opacity",1),r.find(".lcnb_news").not(".lcnb_clone").each((function(i,a){var s=e(this);setTimeout((function(){s.css({opacity:1,top:0})}),200*i),setTimeout((function(){n.is_shown=!0}),300*t.news_per_time)})),r.find(".lcnb_clone").css({opacity:1,top:0}),t.autoplay&&!1===n.is_playing&&lcnb_start_slideshow(r)};e.fn.lcnb_preload_img=function(){this.each((function(){var t=!1;e(this).find(".lcnb_img").each((function(){var n=e(this);t||(t=n.parents(".lcnb_wrap").length?n.parents(".lcnb_wrap"):e('[data-lcnb-id="'+n.parents(".lcnb_mfp").attr("data-lcnb-instance")+'"]').find(".lcnb_wrap"));var i=e(this).find("figure").css("background-image");if(!i)return!0;let a=new Image;a.src=i.replace("url(","").replace(")","").replace(/\"/gi,""),a.onload=e=>{n.removeClass("lcnb_loading_img"),n.parents(".lcnb_exp_block").length&&O(t)}}))}))};var f=function(e){var t=new Date(e);if(s.elapsed_time){var n=new Date,i=Math.ceil((n.getTime()-t.getTime())/1e3);if(i<60)a=i+" "+s.elapsed_names[1];else if(i>=60&&i<120)a="1 "+s.elapsed_names[2];else if(i<3600)a=Math.floor(i/60)+" "+s.elapsed_names[3];else if(i>=3600&&i<7200)a="1 "+s.elapsed_names[4];else if(i<86400)a=Math.floor(i/60/60)+" "+s.elapsed_names[5];else if(i>=86400&&i<172800)a="1 "+s.elapsed_names[6];else if(i<604800)a=Math.floor(i/60/60/24)+" "+s.elapsed_names[7];else if(i>=604800&&i<1209600)a="1 "+s.elapsed_names[8];else if(i<2592e3)a=Math.floor(i/60/60/24/7)+" "+s.elapsed_names[9];else if(i>=2592e3&&i<5184e3)a="1 "+s.elapsed_names[10];else a=Math.floor(i/60/60/24/30)+" "+s.elapsed_names[11];a=a+" "+s.elapsed_names[0]}else{var a,l="";if((a=s.date_format).indexOf("SS")>-1&&(l=t.getSeconds()<10?"0":"",a=a.replace("SS",l+t.getSeconds())),a.indexOf("MM")>-1&&(l=t.getMinutes()<10?"0":"",a=a.replace("MM",l+t.getMinutes())),a.indexOf("HHH")>-1?(l=t.getHours()>=12?"PM":"AM",a=a.replace("HHH",t.getHours()%12+" "+l)):a.indexOf("HH")>-1?(l=t.getHours()<10?"0":"",a=a.replace("HH",l+t.getHours())):a.indexOf("H")>-1&&(a=a.replace("H",t.getHours())),a.indexOf("dddd")>-1?a=a.replace("dddd",s.full_d_names[t.getDay()]):a.indexOf("ddd")>-1?a=a.replace("ddd",s.short_d_names[t.getDay()]):a.indexOf("dd")>-1?(l=t.getDate()<10?"0":"",a=a.replace("dd",l+t.getDate())):a.indexOf("d")>-1&&(a=a=a.replace("d",t.getDate())),a.indexOf("mmmm")>-1?a=a.replace("mmmm",s.full_m_names[t.getMonth()]):a.indexOf("mmm")>-1?a=a.replace("mmm",s.short_m_names[t.getMonth()]):a.indexOf("mm")>-1?(l=t.getMonth()+1<10?"0":"",a=a.replace("mm",l+(t.getMonth()+1))):a.indexOf("m")>-1&&(a=a.replace("m",t.getMonth()+1)),a.indexOf("yyyy")>-1)a=a.replace("yyyy",t.getFullYear());else if(a.indexOf("yy")>-1){var r=t.getFullYear().toString();a=a.replace("yy",r.substr(2))}}return a},u=function(t){var n=r.data("lcnb_settings"),a=r.data("lcnb_vars");if(typeof a==i)return!1;var s=r.find(".lcnb_wrap"),l=s.find(".lcnb_news"),o=typeof t==i?n.news_per_time:t;a.news_count<=o?s.removeClass("lcnb_has_cmd"):s.addClass("lcnb_has_cmd");var _="",c=s.attr("id"),p="#"+c;e("#"+c+"-css").remove();var d=s.hasClass("lcnb_horizontal"),b=s.hasClass("lcnb_uniblock"),m=Math.round(s.width()),h=n.height,f=b?H(l.first().css("border-left-width")):0,w=(b?0:H(l.first().css("margin-left")))+(b?0:H(l.first().css("margin-right"))),v=b?H(l.first().css("border-top-width")):0,x=(b?0:H(l.first().css("margin-top")))+(b?0:H(l.first().css("margin-bottom")));if(d){var y=m/o-w;
9if(y<n.min_news_w&&o>1)return u(o-1),!1;var k=Math.floor(y),C=o*(k+w);if(b){n.carousel||a.news_count;C-=f*(o-1)}m>C&&(_+=p+" {max-width: "+(Math.round(s.outerWidth())-(m-C))+"px !important;}"),a.news_w=k,a.news_to_show=o}else{var T=h/o-x;if(T<n.min_news_h&&o>1)return u(o-1),!1;var z=Math.floor(T),M=o*(z+x);if(b){n.carousel||a.news_count;M-=v*(o-1)}h>M&&(_+=p+":not(.lcnb_expanded_mode), "+p+":not(.lcnb_expanded_mode) .lcnb_inner_wrapper {max-height: "+(Math.round(s.outerHeight())-(h-M))+"px;}"),a.news_h=z,a.news_to_show=o}if(d)_+=p+" .lcnb_contents {max-height: none;}",_+=p+" .lcnb_contents > * {height: auto;}";else{var I=z-(l.outerHeight(!0)-l.height());_+=p+" .lcnb_contents {max-height: "+I+"px;}";l.find(".lcnb_btm_bar, .lcnb_top_bar").outerHeight(!0),l.find(".lcnb_contents").outerHeight(!0),l.find(".lcnb_contents").height()}if(_+=p+" .lcnb_news_overflow {height: "+n.height+"px; max-height: "+n.height+"px;}",_+=d?p+" .lcnb_news {width: "+k+"px;}":p+" .lcnb_news {height: "+z+"px;}",n.horiz_img_h&&!n.horiz_img_mode&&(_+=p+".lcnb_horizontal .lcnb_img {height: "+n.horiz_img_h+"px;}"),n.vert_img_w&&(_+=p+".lcnb_vertical .lcnb_img {width: "+n.vert_img_w+"px; max-width: "+n.vert_img_w+"px;}"),n.exp_in_lightbox&&(_+='.lcnb_exp_in_lb[data-lcnb-instance="'+a.box_id+'"] .mfp-content {width: calc('+n.exp_lb_w+" - 130px); max-width: calc("+n.exp_lb_max_w+"px - 130px);}"),o<a.news_count){var A=d?k:z,O=d?w:x;if(ublock_border_trick=b?f:0,n.carousel){var j=A*(3*a.news_count)+O*(3*a.news_count)-ublock_border_trick*(3*a.news_count-1),D=(A+O)*a.news_count-ublock_border_trick*a.news_count;_+=d?p+" .lcnb_inner {width: "+j+"px; margin-left: -"+D+"px;}":p+" .lcnb_inner {height: "+j+"px !important; margin-top: -"+D+"px;}"}else{j=A*a.news_count+O*a.news_count-ublock_border_trick*(a.news_count-1);_+=d?p+" .lcnb_inner {width: "+j+"px;}":p+" .lcnb_inner {height: "+j+"px !important;}"}}e("head").append('<style type="text/css" id="'+c+'-css">'+_+"</style>"),d&&n.horiz_img_mode&&s.find(".lcnb_h_img_mode").each((function(){e(this).find(".lcnb_img").css("bottom",e(this).find(".lcnb_contents_wrap").outerHeight())})),setTimeout((function(){g()}),50);var S=-1!==navigator.appVersion.indexOf("MSIE 10"),R=-1!==navigator.userAgent.indexOf("Trident")&&-1!==navigator.userAgent.indexOf("rv:11"),Q=navigator.userAgent.toLowerCase(),q=-1!==Q.indexOf("safari/")&&-1!==Q.indexOf("windows")&&-1===Q.indexOf("chrom");e("#lcnb-old-ie-css-fix").length||!S&&!R||e("head").append('<style type="text/css" id="lcnb-old-ie-css-fix">.lcnb_vertical .lcnb_news_inner .lcnb_img img {min-height: 100% !important; position: relative !important;}</style>'),!e("#lcnb-ie11-vb-socials-css-fix").length&&R&&e("head").append('<style type="text/css" id="lcnb-ie11-vb-socials-css-fix">.lcnb_vertical .lcnb_buttons .lcnb_social_box {transform: translateY(0);}</style>'),setTimeout((function(){!e("#"+c+"-ie10-vb-css-fix").length&&e("#"+c+" .lcnb_buttons > div").length&&(S||q)&&e("head").append('<style type="text/css" id="'+c+'-ie10-vb-css-fix">#'+c+" .lcnb_buttons > div  {display: inline-block;height: "+e("#"+c+" .lcnb_news").first().height()/3+"px;}</style>")}),50)},g=function(){var t=r.find(".lcnb_wrap"),n=r.data("lcnb_settings"),a=r.data("lcnb_vars"),s=r.find(".lcnb_news").first().height()-17;r.find(".lcnb_news").not(".lcnb_clone").each((function(){var l=parseInt(e(this).attr("rel"),10),r=e(this),o=s;$incl_clones=t.find(".lcnb_news[rel="+l+"]"),author=r.find(".lcnb_txt .lcnb_author").length?r.find(".lcnb_txt .lcnb_author").clone().wrap("<div>").parent().html():"",r.find(".lcnb_txt *:empty, .lcnb_txt iframe").not("br, img, i").remove();var _=r.find(".lcnb_txt");if(typeof a.orig_texts[l]==i&&(a.orig_texts[l]=_.html()),r.find(".lcnb_shorten").length){var c=a.excerpts[l]?author+a.excerpts[l]:a.orig_texts[l];$incl_clones.find(".lcnb_txt").html(c).removeClass("lcnb_shorten")}if(t.hasClass("lcnb_horizontal")){r.find(".lcnb_img").length&&(o-=r.find(".lcnb_img").outerHeight(!0)),r.find(".lcnb_btm_bar, .lcnb_top_bar").length&&(o-=r.find(".lcnb_btm_bar, .lcnb_top_bar").outerHeight(!1));var p=Math.round(r.find(".lcnb_contents").height())}else{p=parseInt(r.find(".lcnb_contents_inner").outerHeight(),10);o-=H(r.find(".lcnb_contents").css("padding-bottom")),r.find(".lcnb_title").length&&(o-=parseInt(r.find(".lcnb_title").outerHeight(!0),10)),r.find(".lcnb_btm_bar, .lcnb_top_bar").length&&(o-=parseInt(r.find(".lcnb_btm_bar, .lcnb_top_bar").outerHeight(!0),10))}if(o>=p)return!0;
9if(author&&r.find(".lcnb_txt .lcnb_author").remove(),typeof a.clean_texts[l]!=i)var d=a.clean_texts[l];else{r.find(".lcnb_txt *").not("a, p, br, i, iframe").each((function(){var t=e(this).contents();e(this).replaceWith(t)})),r.find(".lcnb_txt *").lcnb_remove_all_attr();d=r.find(".lcnb_txt").html();a.clean_texts[l]=d}for(var b=d.split(" "),m="",h="",f=(p=0,0);p<o&&f<b.length;)if(typeof b[f]!=i){for(h=m,m=m+b[f]+" ",r.find(".lcnb_txt").html(author+m+'<span class="lcnb_read_more">'+n.read_more_txt+"</span>"),x=0;x<2;x++)r.find(".lcnb_txt > *:first").is("br")&&r.find(".lcnb_txt > *:first").remove(),r.find(".lcnb_txt br").each((function(){e(this).prev().is("p")&&e(this).remove()}));for(;-1!=r.find(".lcnb_txt").html().indexOf('<br> <span class="lcnb_read_more">');)r.find(".lcnb_read_more").prev().remove();p=t.hasClass("lcnb_horizontal")?r.find(".lcnb_contents").height():r.find(".lcnb_txt").height(),f++}var u=["a","p","i"];e.each(u,(function(t,i){var a=h.match("<"+i,"g"),s=h.match("</"+i,"g");if(null!=a&&(null!=a&&null==s||a.length>s.length)&&(h=h+"</"+i+">"),t==u.length-1){for(r.find(".lcnb_txt").html(author+h+'<span class="lcnb_read_more">'+n.read_more_txt+"</span>"),r.find(".lcnb_txt *:empty").not("br").remove(),x=0;x<2;x++)r.find(".lcnb_txt > *:first").is("br")&&r.find(".lcnb_txt > *:first").remove(),r.find(".lcnb_txt br").each((function(){e(this).next().is("br")&&e(this).next().remove(),e(this).prev().is("p")&&e(this).remove()}));for(;-1!=r.find(".lcnb_txt").html().indexOf('<br> <span class="lcnb_read_more">');)r.find(".lcnb_read_more").prev().remove()}})),r.find(".lcnb_txt p").last().replaceWith(r.find(".lcnb_txt p").last().html());var g=r.find(".lcnb_txt").html();t.find(".lcnb_clone[rel="+l+"]").find(".lcnb_txt").html(g),$incl_clones.find(".lcnb_txt").addClass("lcnb_shorten")}))};e.fn.lcnb_remove_all_attr=function(){return this.each((function(){var t=e.map(this.attributes,(function(e){return e.name})),n=e(this);e.each(t,(function(e,t){"href"!=t&&"target"!=t&&n.removeAttr(t)}))}))};var w=function(){var e=r.data("lcnb_settings"),t=r.find(".lcnb_wrap"),n=e.min_horiz_w<e.min_news_w?e.min_news_w:e.min_horiz_w;return t.width()<n?t.hasClass("lcnb_horizontal")&&(t.removeClass("lcnb_horizontal").addClass("lcnb_vertical"),l.news_to_show=e.news_per_time,e.touchswipe&&j(!0)):"horizontal"!=e.layout||t.hasClass("lcnb_horizontal")||(t.removeClass("lcnb_vertical").addClass("lcnb_horizontal"),t.find(".lcnb_inner").css("height",e.height),l.news_to_show=e.news_per_time,e.touchswipe&&j(!0)),!0},v=function(t){var n=t.data("lcnb_vars"),i=e(".lcnb_wrap",t),a=e(".lcnb_news",t).first();if(i.hasClass("lcnb_horizontal")){var s=n.news_w+H(a.css("margin-left"))+H(a.css("margin-right"));i.hasClass("lcnb_uniblock")&&(s-=H(i.find(".lcnb_news").css("border-left-width")))}else{s=n.news_h+H(a.css("margin-top"))+H(a.css("margin-bottom"));i.hasClass("lcnb_uniblock")&&(s-=H(i.find(".lcnb_news").css("border-top-width")))}return s};lcnb_news_slide=function(t,n,a,s){var l=t.data("lcnb_vars"),r=t.data("lcnb_settings"),o=e(".lcnb_wrap",t),_=e(".lcnb_inner",t),c=!!o.hasClass("lcnb_horizontal"),p=v(t),d=0==r.slideshow_time&&l.is_playing?"linear":"swing",b=typeof s!=i?350:r.animation_time;if(l.is_expanded&&(b=0),l.is_moving||l.news_to_show>=l.news_count)return!1;if(!r.carousel&&(1===l.first_shown&&"prev"==n||l.first_shown+l.news_to_show>l.news_count&&"next"==n))return!1;typeof a==i&&(a=1),!r.carousel&&"next"==n&&l.first_shown+a+l.news_to_show-1>l.news_count&&(a-=l.first_shown+a+l.news_to_show-1-l.news_count);var m=p*a,h=r.carousel?l.news_count*p*-1:l.curr_box_margin;if(new_margin="next"==n?h-m:h+m,l.curr_box_margin=new_margin,new_margin>0&&(new_margin=0),!r.carousel){l.first_shown;l.first_shown="next"==n?l.first_shown+a:l.first_shown-a,l.first_shown<1&&(l.first_shown=1),l.first_shown>l.news_count-l.news_to_show&&(l.first_shown=l.news_count-l.news_to_show+1)}if(c?_.clearQueue().animate({"margin-left":new_margin},b,d):_.clearQueue().animate({"margin-top":new_margin},b,d),l.is_expanded){var f=e(".lcnb_inner_wrapper",t);if("next"==n){var u=f.find(".expanded").next(".lcnb_news");M(f,u,!0)}else{var g=f.find(".expanded").prev(".lcnb_news");M(f,g,!0)}}r.carousel||y(t);var w=b?b-10:0;l.is_moving=!0,setTimeout((function(){if(l.is_moving=!1,r.carousel){if("next"==n){_.find(".lcnb_clone").slice(l.news_count,l.news_count+a).removeClass("lcnb_clone"),_.find(".lcnb_news").not(".lcnb_clone").slice(0,a).addClass("lcnb_clone");var e=_.find(".lcnb_clone").slice(0,a);_.append(e)}else{_.find(".lcnb_clone").slice(l.news_count-a,l.news_count).removeClass("lcnb_clone"),_.find(".lcnb_news").not(".lcnb_clone").slice(l.news_count-a,l.news_count).addClass("lcnb_clone");e=_.find(".lcnb_clone").slice(_.find(".lcnb_clone").length-a,_.find(".lcnb_clone").length);
9_.prepend(e)}var t=_.height();_.stop().removeAttr("style"),_.css("height",t)}}),w)};var y=function(t){var n=t.data("lcnb_vars"),i=t.find(".lcnb_wrap");n.news_to_show>=n.news_count?i.removeClass("lcnb_has_cmd"):i.addClass("lcnb_has_cmd"),1===n.first_shown?(e(".lcnb_prev",t).addClass("lcnb_disabled"),e(".lcnb_next",t).removeClass("lcnb_disabled")):n.first_shown+n.news_to_show<=n.news_count?e(".lcnb_prev, .lcnb_next",t).removeClass("lcnb_disabled"):(e(".lcnb_prev",t).removeClass("lcnb_disabled"),e(".lcnb_next",t).addClass("lcnb_disabled"))};lcnb_start_slideshow=function(e,t){typeof t!=i&&(e=e.parents(".lcnb_wrap").parent());var n=e.data("lcnb_vars"),a=e.data("lcnb_settings"),s=0!=a.slideshow_time||n.is_shown?0:1200,l=a.slide_all&&a.slideshow_time>0?n.news_to_show:1;if(n.is_expanded||n.is_playing)return!0;0==a.slideshow_time&&setTimeout((function(){n.is_playing=!0,lcnb_news_slide(e,"next",l)}),s),setTimeout((function(){n.is_playing=setInterval((function(){var t=a.slide_all&&a.slideshow_time>0?n.news_to_show:1;lcnb_news_slide(e,"next",t)}),a.slideshow_time+a.animation_time)}),s+10)};var k=function(e,t){typeof t==i&&(e=e.parents(".lcnb_wrap").parent());var n=e.data("lcnb_vars"),a=e.data("lcnb_settings");if(clearInterval(n.is_playing),n.is_playing=null,a.autoplay&&0==a.slideshow_time&&a.animation_time>1800){var s=a.animation_time;a.animation_time=1800,setTimeout((function(){a.animation_time=s}),200)}};s.autoplay&&s.pause_on_hover&&r.on("mouseenter",".lcnb_inner_wrapper",(function(){e(this).parents(".lcnb_wrap").parent().lcsb_stop_slideshow()})).on("mouseleave",".lcnb_inner_wrapper",(function(){e(this).parents(".lcnb_wrap").parent().lcsb_start_slideshow()}));var C=function(t){var n=e("<div/>");n.append('<div id="lcnb_util_2" style="display: none !important;">'+t+"</div>"),n.find("*").not("iframe").each((function(){var t=e(this).contents();e(this).replaceWith(t)}));var i=n.text().replace(/[^ -~]/g,"").substring(0,117);return encodeURIComponent(i).replace(/'/g,"\\'")},T=function(t,n){var a=r.data("lcnb_settings"),s=e("<div />").append(n.txt);s.find(".lcnb_author, iframe").remove(),s.find("*").not("a, iframe").each((function(){var t=e(this).contents();e(this).replaceWith(t)}));var l=s.html(),o=encodeURIComponent(n.title).replace(/'/g,"\\'"),_=(encodeURIComponent(l.substring(0,1e3)).replace(/'/g,"\\'"),typeof n.s_link==i||""==n.s_link?encodeURIComponent(location.href):encodeURIComponent(n.s_link)),c=typeof n.img==i||""==n.img?"":encodeURIComponent(n.img);s_fb_image=c?"&picture="+a.fb_share_fix+"?u="+c.replace(/'/g,"\\'"):"";var p='<div class="lcnb_social_trigger noSwipe" title="'+a.html_titles[2]+'"><ul class="lcnb_social_box">';return p+='<li class="lcnb_share_fb" title="'+a.html_titles[3]+'" onClick="window.open(\'https://www.facebook.com/sharer/sharer.php?u='+_+"&display=popup','sharer','toolbar=0,status=0,width=548,height=325');\"></li>",p+='<li class="lcnb_share_tw" title="'+a.html_titles[4]+'" onClick="window.open(\'https://twitter.com/share?text='+C(l)+"&amp;url="+_+"','sharer','toolbar=0,status=0,width=548,height=325');\" ontouchstart=\"window.open('https://twitter.com/share?text="+C(l)+"&amp;url="+_+"','sharer','toolbar=0,status=0,width=548,height=325');\"></li>",(p+='<li class="lcnb_share_pt" title="'+a.html_titles[5]+'" onClick="window.open(\'http://pinterest.com/pin/create/button/?url='+_+"&media="+c+"&description="+o+"','sharer','toolbar=0,status=0,width=575,height=330');\" href=\"javascript: void(0)\"></li>")+"</ul></div>"};e.fn.lcnb_toggle_socials=function(t){return this.each((function(){e(this),e(this).parents(".lcnb_news");var n=e(this).find(".lcnb_social_box");if(typeof t!=i)return n.parent(".lcnb_social_trigger").removeClass("socials_shown"),!0;n.parent(".lcnb_social_trigger").toggleClass("socials_shown")}))},e(".lcnb_social_trigger").off("click"),r.on(l.event_type,".lcnb_social_trigger",(function(){var t=e(this);typeof lcnb_one_click!=i&&clearTimeout(lcnb_one_click),lcnb_one_click=setTimeout((function(){k(t),t.lcnb_toggle_socials(),t.parents(".lcnb_wrap").find(".lcnb_social_trigger").not(t).lcnb_toggle_socials(!0)}),20)})),e(document).off(l.event_type,".lcnb_mfp .lcnb_social_trigger"),e(document).on(l.event_type,".lcnb_mfp .lcnb_social_trigger",(function(){var t=e(this);typeof lcnb_one_click!=i&&clearTimeout(lcnb_one_click),lcnb_one_click=setTimeout((function(){t.lcnb_toggle_socials()}),20)})),e(document).off(l.event_type,".lcnb_linked_img"),e(document).on(l.event_type,".lcnb_linked_img",(function(){var t=e(this).parent();window.open(t.data("link"),t.data("link-target"))}));var z=function(t,n,a){t.data("lcnb_vars");var s=t.data("lcnb_settings"),l=typeof a.exp_img_pos!=i&&a.exp_img_pos?a.exp_img_pos:s.exp_main_img_pos;t.find(".lcnb_news").removeClass("expanded"),n.addClass("expanded");var r=!!a.img;
9"hidden"!=l&&"inside"!=l||(r=!1);var o=r&&typeof n.find(".lcnb_img").attr("data-mfp-src")!=i?'data-mfp-src="'+n.find(".lcnb_img").attr("data-mfp-src")+'"':"",_=r?'<div class="lcnb_img lcnb_exp_main_img" '+o+">"+n.find(".lcnb_img").html().replace("lcnb_expand_trig","")+"</div>":"",c=r?"":"lcnb_only_text";if(r&&_){var p=e(_);n.find(".lcnb_img").hasClass("lcnb_no_lightbox")&&p.find(".lcnb_img_lb, .lcnb_video_lb").remove(),_=p.clone().wrap("<div>").parent().html()}var d=s.social_share?T(a.type,a):"",b=s.read_more_btn||-1!==e.inArray("date",s.hide_elements)?"":'<div class="lcnb_exp_date"><div class="lcnb_btn_time"><time class="lcnb_date">'+f(a.date)+"</time></div></div>";if(typeof a.link!=i&&a.link)var m='<div class="lcnb_link"><a href="'+a.link+'" target="_blank"></a></div>';else m="";var h='<div class="lcnb_exp_data">'+b+d+m+"</div>",u=a.title?n.find(".lcnb_title").clone().removeAttr("style").wrap("<div>").parent().html():"",g=a.txt.replace(/fake-src="/g,'src="');return"inside"==l&&a.img&&(g='<p><img src="'+a.img+'" alt="'+u.replace(/"/g,"&quot;")+'" class="lcnb_exp_main_img" /></p>'+g),s.manage_exp_images&&(g=A(g,s,n,a)),'<div class="lcnb_exp_block noSwipe '+c+'" data-news-id="'+n.attr("rel")+'"><span class="lcnb_close"></span>'+_+'<div class="lcnb_exp_txt">'+u+g+'</div><div class="lcnb_exp_clearboth"></div>'+h+"</div>"},M=function(e,t,n){var a=e.parents(".lcnb_wrap").parent(),s=a.data("lcnb_vars"),l=a.data("lcnb_settings");if(s.is_expanded&&typeof n==i)return!1;s.is_expanded=!0;var r=s.sorted_news[t.attr("rel")-1],o=z(a,t,r);if(l.exp_in_lightbox)return I(a,t,o),!1;if(a.find(".lcnb_wrap, .lcnb_inner_wrapper").addClass("lcnb_expanded_mode"),typeof n!=i&&(e.find(".lcnb_exp_block").last().css("z-index",150).fadeTo(300,0),setTimeout((function(){e.find(".lcnb_exp_block").last().remove()}),300)),e.css("position","relative").prepend(o),l.boxed_news)var _=e.find(".lcnb_exp_block").first(),c=H(_.css("margin-top"))+H(_.css("margin-bottom")),p=l.height-c;else p=l.height;e.find(".lcnb_exp_block").first().css("min-height",p),e.find(".lcnb_exp_block").lcnb_preload_img(),typeof n==i&&e.find(".lcnb_news_overflow").clearQueue().animate({opacity:0,top:"80%"},500),setTimeout((function(){typeof r.link_target!=i&&r.link_target&&e.find(".lcnb_exp_block a").attr("target",r.link_target),e.find(".lcnb_exp_block").clearQueue().animate({opacity:1,top:0},400),setTimeout((function(){O(e.parents(".lcnb_wrap"))}),200)}),100),setTimeout((function(){e.find(".lcnb_exp_txt").fadeIn(200)}),400)},I=function(t,n,i){var a=t.data("lcnb_vars"),s=t.data("lcnb_settings"),l=n.attr("rel");if("function"!=typeof e.fn.magnificPopup)return console.error("Magnific Popup not found"),!1;var r=[];e.each(a.sorted_news,(function(e,n){if(e==l-1)var a=i;else{var s=t.find(".lcnb_news[rel="+(e+1)+"]");a=z(t,s,n)}r.push({src:a})})),e.magnificPopup.open({type:"inline",items:r,gallery:{enabled:!0},closeBtnInside:!1,removalDelay:300,mainClass:"lcnb_mfp lcnb_exp_in_lb lcnb_"+s.theme+"_theme",callbacks:{change:function(){setTimeout((function(){e(".lcnb_exp_in_lb .lcnb_exp_block").lcnb_preload_img()}),50)},close:function(){a.is_expanded=!1,s.autoplay&&s.autop_after_exp&&lcnb_start_slideshow(t.find(".lcnb_news").first(),!0)}}},l-1),e(".lcnb_exp_in_lb").attr("data-lcnb-instance",a.box_id)};r.on(l.event_type,".lcnb_btn_expand, .lcnb_expand_trig",(function(){var t=e(this).parents(".lcnb_wrap").parent().data("lcnb_vars"),n=e(this).parents(".lcnb_news"),i=e(this).parents(".lcnb_inner_wrapper");t.paused_on_h=!1,k(e(this)),i.find(".socials_shown").lcnb_toggle_socials(!0),M(i,n);var a=i.offset();e(window).scrollTop()>a.top-20&&e("html, body").animate({scrollTop:a.top-10},600,"linear")}));var A=function(t,n,i,a){var s=e('<div class="outer_wrap">'+t+"</div>");s.find("img").each((function(t,a){for(;e(this).parent().not(".outer_wrap, .lcnb_grouped_images").length;)e(this).unwrap();var s=e(this),l=n.lightbox?D(s.attr("src"),"src"):"",r=l?'data-mfp-src="'+l+'"':"",o=r?"lcnb_img_lb":"";e(this).hasClass("lcnb_exp_main_img")&&n.lightbox&&i.find(".lcnb_video_lb").length&&(r='data-mfp-src="'+(l=i.find(".lcnb_img").data("mfp-src"))+'"',o="lcnb_video_lb");var _=r?'<div class="lcnb_img_ol '+o+'"></div>':"",c=n.exp_img_on_row?"lcnb_exp_img_on_row":"",p='<div class="lcnb_img lcnb_loading_img" '+r+">"+_+"<figure style=\"background-image: url('"+e(this).attr("src")+'\');"></figure><img src="'+e(this).attr("src")+'" alt="" /></div>';e(this).replaceWith('<div class="lcnb_exp_body_img '+c+'">'+p+"</div>")})),s.find("*:empty").not("br, img, i, iframe, .lcnb_exp_body_img *").remove(),s.find(".lcnb_exp_body_img img").addClass("lcnb_exp_man_img");var l=a.exp_img_w?a.exp_img_w:n.exp_img_w,r=a.exp_img_h?a.exp_img_h:n.exp_img_h;return 225!=r&&s.find(".lcnb_exp_body_img .lcnb_img").css("height",r),"auto"==r&&s.find(".lcnb_exp_body_img .lcnb_img").addClass("lcnb_exp_body_img_auto_h"),s.find(".lcnb_exp_body_img").addClass("lcnb_exp_img_"+l),s.html()},O=function(e){var t=e.parent().data("lcnb_settings"),n=e.find(".lcnb_exp_txt:first .lcnb_exp_body_img")>1?450:350;if(e.find(".lcnb_exp_txt").width()<n){e.find(".lcnb_exp_block").addClass("lcnb_exp_mobile");var a=!0}else{e.find(".lcnb_exp_block").removeClass("lcnb_exp_mobile");a=!1}setTimeout((function(){var n=e.find(".lcnb_exp_txt").outerHeight(!0)+e.find(".lcnb_exp_clearboth").outerHeight(!0)+(e.find(".lcnb_exp_block ").outerHeight(!1)-e.find(".lcnb_exp_block").height());a&&typeof $img_wrap!=i&&$img_wrap.length&&(n+=$img_wrap.find("img").outerHeight(!0));var s=t.boxed_news?H(e.css("margin-top"))+H(e.css("margin-bottom")):0;if(n+s>t.height){if(e.height()!=n+s)if(n+s-t.height>70){var l=Math.round((n+s-400)/30*17);e.clearQueue().animate({height:n+s},400+l)}else e.clearQueue().animate({height:n+s},400)}else e.height()!=t.height&&e.clearQueue().animate({height:t.height},400)}),300)};r.on(l.event_type,".lcnb_exp_block .lcnb_close",(function(){!function(t){var n=t.parents(".lcnb_wrap").parent(),i=n.data("lcnb_settings");n.data("lcnb_vars").is_expanded=!1;var a=t.find(".lcnb_exp_block").height(),s=a-i.height>70?500+Math.round(a/30*18):500;if(t.parents(".lcnb_wrap").clearQueue().animate({height:i.height},500),i.scroll_exp_elem){var l=t.offset();e(window).scrollTop()>l.top+i.height-20&&e("html, body").animate({scrollTop:l.top-10},600,"linear")}t.find(".lcnb_exp_block").clearQueue().animate({top:"-"+(a+100)},s),t.find(".lcnb_exp_block").clearQueue().animate({opacity:0}
9,500),setTimeout((function(){t.find(".lcnb_news_overflow").clearQueue().animate({opacity:1,top:0},400)}),100),setTimeout((function(){n.find(".lcnb_wrap, .lcnb_inner_wrapper").removeClass("lcnb_expanded_mode"),t.find(".lcnb_news").removeClass("expanded"),t.find(".lcnb_exp_block").remove(),t.css("height","inherit"),i.autoplay&&i.autop_after_exp&&lcnb_start_slideshow(t.find(".lcnb_news").first(),!0)}),550)}(e(this).parents(".lcnb_inner_wrapper"))})),r.on("click ontouchstart",".lcnb_img_lb:not(.lcnb_expand_trig, .lcnb_linked_img)",(function(){var t=e(this).parents(".lcnb_wrap").parent().data("lcnb_settings");e(this).parents(".lcnb_wrap").parent().data("lcnb_vars").paused_on_h=!1,k(e(this));var n=e(this).parents(".lcnb_img").attr("data-mfp-src"),i=e(this).parents(".lcnb_exp_block").length?e(this).parents(".lcnb_exp_block").find(".lcnb_img"):e(this).parents(".lcnb_img"),a=(e(this).parents(".lcnb_img"),0),s=[];i.each((function(t,i){e(this).attr("data-mfp-src")==n&&(a=t),s.push({src:e(this).attr("data-mfp-src")})})),e.magnificPopup.open({items:s,gallery:{enabled:!0},type:"image",mainClass:"lcnb_mfp mfp-with-zoom lcnb_"+t.theme+"_theme",closeOnContentClick:!0,closeBtnInside:!1,image:{verticalFit:!0},removalDelay:300},a)})),r.on("click ontouchstart",".lcnb_video_lb:not(.lcnb_expand_trig, .lcnb_linked_img)",(function(){k(e(this));var t=e(this).parents(".lcnb_wrap").parent().data("lcnb_settings"),n=e(this).parents(".lcnb_img").attr("data-mfp-src");e.magnificPopup.open({items:{src:n},type:"iframe",mainClass:"lcnb_mfp lcnb_"+t.theme+"_theme",closeBtnInside:!1,removalDelay:300,iframe:{patterns:{youtube:{src:"//www.youtube.com/embed/%id%?autoplay=1&rel=0"}}}},0)}));var j=function(t){if("function"!=typeof e.fn.swipe)return!1;typeof t!=i&&r.find(".lcnb_touchswipe .lcnb_inner_wrapper").swipe("destroy"),r.find(".lcnb_touchswipe .lcnb_inner_wrapper").swipe({swipeStatus:function(t,n,a,s,l,o,_,c){var p=e(this),d=p.parents(".lcnb_wrap").parent(),b=p.find(".lcnb_inner"),m=d.data("lcnb_settings"),h=d.data("lcnb_vars"),f=v(d);if(s>10&&!h.is_moving)if(d.find(".lcnb_wrap").hasClass("lcnb_horizontal")){if(typeof p.attr("data-swipe-base")==i){var u=H(b.css("margin-left"));p.attr("data-swipe-base",u)}else u=p.attr("data-swipe-base");if((x="right"==a?-1*Math.abs(u)+s:u-s)>0&&(x=0),!m.carousel&&Math.abs(x)>b.width()-h.news_to_show*f&&(x=-1*(b.width()-h.news_to_show*f)),b.css("margin-left",x),"end"==n){var g=Math.ceil(Math.abs(s)/h.news_w),w="right"==a?"prev":"next";lcnb_news_slide(r,w,g,!0),p.removeAttr("data-swipe-base")}}else{if(typeof p.attr("data-swipe-base")==i){u=H(b.css("margin-top"));p.attr("data-swipe-base",u)}else u=p.attr("data-swipe-base");var x;if((x="down"==a?-1*Math.abs(u)+s:u-s)>0&&(x=0),!m.carousel&&Math.abs(x)>b.height()-h.news_to_show*f&&(x=-1*(b.height()-h.news_to_show*f)),b.css("margin-top",x),"end"==n){g=Math.ceil(Math.abs(s)/h.news_h),w="down"==a?"prev":"next";lcnb_news_slide(r,w,g,!0),p.removeAttr("data-swipe-base")}}},threshold:10})},H=function(e){return parseInt(e,10)},D=function(e,t){var n=new RegExp("[?&]"+t+"=([^&#]*)").exec(e);return null==n?e:decodeURIComponent(n[1])||0};e(".lcnb_next").off("click"),r.on("click",".lcnb_next:not(.lcnb_disabled)",(function(){var t=e(this);typeof lcnb_one_click!=i&&clearTimeout(lcnb_one_click);var n=r.data("lcnb_vars"),a=r.data("lcnb_settings");to_slide=a.slide_all&&a.slideshow_time>0&&!n.is_expanded?n.news_to_show:1,lcnb_one_click=setTimeout((function(){k(t),lcnb_news_slide(r,"next",to_slide)}),5)})),e(".lcnb_prev").off("click"),r.on("click",".lcnb_prev:not(.lcnb_disabled)",(function(){var t=e(this);typeof lcnb_one_click!=i&&clearTimeout(lcnb_one_click);var n=r.data("lcnb_vars"),a=r.data("lcnb_settings");to_slide=a.slide_all&&a.slideshow_time>0&&!n.is_expanded?n.news_to_show:1,lcnb_one_click=setTimeout((function(){k(t),lcnb_news_slide(r,"prev",to_slide)}),5)})),e(window).resize((function(){var t=r.data("lcnb_vars"),n=r.data("lcnb_settings");if(t.box_curr_w==Math.round(r.width()))return!1;t.box_curr_w=Math.round(r.width()),typeof lcnb_resize_tout[t.box_id]!=i&&clearTimeout(lcnb_resize_tout[t.box_id]),lcnb_resize_tout[t.box_id]=setTimeout((function(){w(),u(),n.carousel||function(t){var n=t.data("lcnb_vars"),i=e(".lcnb_inner",t),a=v(t)*(n.first_shown-1)*-1;n.curr_box_margin=a,e(".lcnb_wrap",t).hasClass("lcnb_horizontal")?i.clearQueue().css("margin-left",a):i.
9clearQueue().css("margin-top",a)}(r),t.is_expanded&&O(r.find(".lcnb_wrap"))}),100)})),e(window).scroll((function(){typeof lcnb_exp_scroll_tout[l.box_id]!=i&&clearTimeout(lcnb_exp_scroll_tout[l.box_id]),lcnb_exp_scroll_tout[l.box_id]=setTimeout((function(){var t=r.data("lcnb_settings");if(r.find(".lcnb_exp_block").length&&t.scroll_exp_elem){var n=r.find(".lcnb_exp_block").first(),i=n.offset();if(n.height()>t.height+30&&e(window).scrollTop()>i.top+30){if(e(window).scrollTop()<i.top+(n.height()-35)){var a=Math.floor(e(window).scrollTop()-i.top-7);n.find(".lcnb_close").css("margin-top",a)}if(e(window).scrollTop()<i.top+(n.height()-(n.find("> .lcnb_exp_main_img").height()-25)))if(n.hasClass("lcnb_exp_mobile"))n.find("> .lcnb_exp_main_img").css("margin-top",0);else{a=Math.floor(e(window).scrollTop()-i.top);n.find("> .lcnb_exp_main_img").css("margin-top",a)}}else n.find(".lcnb_close, > .lcnb_exp_main_img").css("margin-top",0)}}),60)}));r.attr("data-lcnb-id",l.box_id);typeof lcnb_script_basepath==i&&(s.script_basepath?lcnb_script_basepath=s.script_basepath:e("script").each((function(t,n){var a=e(this).attr("src");if(typeof a==i||-1==a.indexOf("swift-box"))return lcnb_script_basepath="",!1;var s=a.split("/"),l=s[s.length-1];lcnb_script_basepath=a.replace(l,"")}))),s.scripts_man_added||(typeof lcnb_loaded_themes==i&&(lcnb_loaded_themes=[]),-1===e.inArray(s.theme,lcnb_loaded_themes)&&(lcnb_loaded_themes.push(s.theme),e("head").append('<link rel="stylesheet" href="'+lcnb_script_basepath+"themes/"+s.theme+'.css">')),typeof lcnb_loaded_scripts==i&&(lcnb_loaded_scripts=[]),s.lightbox&&-1===e.inArray("magnific_popup",lcnb_loaded_scripts)&&"function"!=typeof e.fn.magnificPopup&&(lcnb_loaded_scripts.push("magnific_popup"),e("head").append('<link rel="stylesheet" href="'+lcnb_script_basepath+'js_assets/magnific-popup/magnific-popup-style.css">'),e("body").append('<script src="'+lcnb_script_basepath+'js_assets/magnific-popup/magnific-popup.min.js" type="text/javascript"><\/script>')),s.touchswipe&&-1===e.inArray("touchswipe",lcnb_loaded_scripts)&&"function"!=typeof swipe&&(lcnb_loaded_scripts.push("touchswipe"),e("body").append('<script src="'+lcnb_script_basepath+'js_assets/TouchSwipe/jquery.touchSwipe.min.js" type="text/javascript"><\/script>')));r.find(".nb_news_wrap").length&&r.find(".nb_news_wrap").each((function(){var t=e(this),n=parseInt(t.attr("img_max_w")),a=parseInt(t.attr("img_max_h")),r=typeof t.attr("link_target")!=i&&t.attr("link_target"),o=typeof t.attr("strip_tags")!=i&&t.attr("strip_tags"),c=typeof t.attr("remove_tags")!=i&&t.attr("remove_tags"),d=typeof t.attr("group_exp_images")!=i?parseInt(t.attr("group_exp_images"),10):s.group_exp_images;t.find("article").each((function(b,m){n&&a&&e(this).find("section img").each((function(){var t=typeof e(this).attr("lazy-src")!=i?e(this).attr("lazy-src"):e(this).attr("src"),s=lcnb_script_basepath+"php_assets/img_size_check.php?src="+encodeURIComponent(t)+"&max_w="+n+"&max_h="+a;e(this).attr("src",s)}));var h=e(this).attr("datetime"),f=e(this).find("header").text(),u=e(this).find("section").lcnb_unselfclose_iframes().html(),g=e(this).children("blockquote").length?e(this).children("blockquote").html():"",w=e(this).find(".lcnb_inline_link").attr("href"),v=e(this).find(".lcnb_video").attr("src");e(this).find(".lcnb_inline_link").remove(),$main_img=e(this).find("img.lcnb_main_img").length?e(this).find("img.lcnb_main_img"):e(this).children("img");var x=typeof $main_img.attr("lazy-src")!=i?$main_img.attr("lazy-src"):$main_img.attr("src"),y=$main_img.length?p(x,n,a):"";if((o||c)&&(u=_(u,!1,!1,o,c,!1,d).txt),typeof h!=i&&typeof u!=i&&e.trim(u)){var k={type:"inline",time:new Date(h).getTime(),date:h,title:f,txt:u,excerpt:g,link:w,s_link:w,img:y,video:v,link_target:r,exp_img_pos:typeof t.attr("exp_img_pos")!=i&&t.attr("exp_img_pos"),exp_img_w:typeof t.attr("exp_img_w")!=i&&t.attr("exp_img_w"),exp_img_h:typeof t.attr("exp_img_h")!=i&&t.attr("exp_img_h")};if(-1!==e.inArray("title",s.hide_elements)&&(k.title=""),-1!==e.inArray("link",s.hide_elements)&&(k.link=""),-1!==e.inArray("image",s.hide_elements)&&(k.img=""),s.only_w_images&&!k.img)return!0;
9if(l.news_array.push(k),l.inl_news_count=l.inl_news_count+1,b==s.max_news-1)return!1}}))}));var S=[];s.preloader&&S.push("lcnb_loading"),S.push("lcnb_"+s.theme+"_theme"),s.nav_arrows&&(S.push("lcnb_has_cmd lcnb_"+s.nav_arrows+"_cmd"),s.nav_arrows.match(/top/g)&&S.push("lcnb_top_cmd"),s.nav_arrows.match(/bottom/g)&&S.push("lcnb_bottom_cmd"));var R=s.boxed_news?"lcnb_boxed":"lcnb_uniblock";S.push(R),s.touchswipe&&S.push("lcnb_touchswipe"),lcnb_count=typeof lcnb_count==i?1:lcnb_count+1;var Q='<div id="lcnb_'+lcnb_count+'" class="lcnb_wrap lcnb_'+s.layout+" "+S.join(" ")+'">';s.nav_arrows&&(Q+='<div class="lcnb_cmd"><div class="lcnb_prev '+(s.carousel?"":"lcnb_disabled")+'"><span></span></div><div class="lcnb_next"><span></span></div></div>');return Q+='<div class="lcnb_inner_wrapper"><div class="lcnb_news_overflow"><div class="lcnb_inner" style="height: '+s.height+'px;"></div></div></div>',r.html(Q+"</div>"),(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(navigator.userAgent)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(navigator.userAgent))&&(l.event_type="tap"),setTimeout((function(){w(),s.src.length||d(r),e.each(s.src,(function(t,n){var a=this,l="",r="";switch(this.type){case"youtube":var _=s.max_news>50?50:s.max_news,c=s.youtube_key;if(!c)return console.error("Youtube key missing"),!0;typeof a.playlist!=i?r="https://www.googleapis.com/youtube/v3/playlistItems?playlistId="+encodeURIComponent(a.playlist)+"&key="+c+"&part=snippet&order=date&maxResults="+_:e.ajax({url:"https://www.googleapis.com/youtube/v3/channels?part=snippet&forUsername="+a.id+"&maxResults=1&key="+c,dataType:"jsonp",success:function(e){if("object"==typeof e.error)return console.error(e.error.message),!1;if(void 0!==e.items&&e.items.length){var n=0==e.items.length?"":e.items[0].id;r="https://www.googleapis.com/youtube/v3/activities?part=snippet&channelId="+n+"&maxResults="+_+"&fields=items(contentDetails%2Csnippet)&key="+c}else r="https://www.googleapis.com/youtube/v3/search?channelId="+encodeURIComponent(a.id)+"&key="+c+"&part=snippet&order=date&maxResults="+_;var i=void 0===e.items||!e.items.length;o(t,"youtube",r,l,a,{is_yt_channel:i})},error:function(e){console.error(e)}});break;case"pinterest":"/"==(p=a.url).substr(p.length-1)&&(p=p.substr(0,p.length-1)),r=p.toLowerCase().replace("http://","https://")+".rss";break;case"tumblr":var p,d=(p=a.url).toLowerCase().replace("http://","").replace("https://","").split("/")[0];r="https://api.tumblr.com/v2/blog/"+d+"/posts?api_key=pcCK9NCjhSoA0Yv9TGoXI0vH6YzLRiqKPul9iC6OQ6Pr69l2MV&filter=text&limit="+s.max_news;break;default:r=a.url}"rss"!=this.type&&"pinterest"!=this.type||(l={rss_url:r,api_key:s.rss2json_token,count:s.max_news},r="https://api.rss2json.com/v1/api.json"),("youtube"!=a.type||"youtube"==a.type&&typeof a.playlist!=i)&&o(t,a.type,r,l,a)}))}),50),this};e.fn.lc_swift_box=function(n){return e.fn.lcsb_destroy=function(){var t=e(this),n=t.data("lcnb_vars");return n.is_playing&&clearInterval(n.is_playing),t.find(".lcnb_inner").stop(),t.data("lcnb_settings").touchswipe&&t.find(".lcnb_touchswipe .lcnb_inner_wrapper").swipe("destroy"),t.off("mouseenter mouseleave",".lcnb_inner_wrapper"),t.off(n.event_type,".lcnb_social_trigger"),t.off(n.event_type,".lcnb_btn_expand"),t.off(n.event_type,".lcnb_exp_block .lcnb_close"),t.off("click ontouchstart",".lcnb_img_lb, .lcnb_video_lb"),t.find(".lcnb_next, .lcnb_prev").off("click"),t.removeData("lcnb_vars"),t.removeData("lcnb_settings"),t.removeData("lc_swiftbox"),!0},e.fn.lcsb_paginate=function(t){var n=e(this),i=n.data("lcnb_vars"),a=n.data("lcnb_settings"),s=a.slide_all&&a.slideshow_time>
90?i.news_to_show:1;return typeof i.is_playing!=udf&&clearInterval(i.is_playing),i.is_playing=null,lcnb_news_slide(n,t,s),!0},e.fn.lcsb_start_slideshow=function(){var t=e(this),n=t.data("lcnb_vars"),i=t.data("lcnb_settings");return n.waiting_for_anim=setInterval((function(){if(void 0===n.is_moving||!n.is_moving){var e=i.slideshow_time>1e3?1e3:i.slideshow_time;setTimeout((function(){lcnb_start_slideshow(t)}),e),clearInterval(n.waiting_for_anim)}}),5),!0},e.fn.lcsb_stop_slideshow=function(){var t=e(this),n=t.data("lcnb_vars");t.data("lcnb_settings");return clearInterval(n.is_playing),n.is_playing=null,void 0!==n.waiting_for_anim&&clearInterval(n.waiting_for_anim),!0},this.each((function(){if(e(this).data("lc_swiftbox"))return e(this).data("lc_swiftbox");var i=new t(this,n);e(this).data("lc_swiftbox",i)}))}}(jQuery);

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.