PageSourceSearch

http://www.wedo-fitness.com/guanwang/dist/js/lightbox/lc_lightbox.lite.min.js

js wedo-fitness.com collected 2026-10-07 03:36:17 UTC 40,705 bytes, 86 lines download raw bytes

1/**
2  * LC Lightbox - LITE
3  * yet.. another jQuery lightbox.. or not?
4  *
5  * @version	: 	1.1
6  * @copyright	:	Luca Montanari aka LCweb
7  * @website	:	https://lcweb.it
8  * @requires	:	jQuery v1.7 or later
9  
10  * Released under the MIT license
11  */
12
13(function(a){lcl_objs=[];lcl_is_active=lcl_shown=!1;lcl_slideshow=void 0;lcl_on_mobile=/(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);
14lcl_hashless_url=lcl_deeplink_tracked=lcl_curr_vars=lcl_curr_opts=lcl_curr_obj=!1;lcl_url_hash="";lcl_vid_instance_num=0;lc_lightbox=function(g,A){if("string"!=typeof g&&("object"!=typeof g||!g.length))return!1;var q=!1;a.each(lcl_objs,function(a,e){if(JSON.stringify(e)==JSON.stringify(g))return q=e,!1});if(!1===q){var r=new B(g,A);lcl_objs.push(r);return r}return q};lcl_destroy=function(g){g=a.inArray(g,lcl_objs);-1!==g&&lcl_objs.splice(g,1)};var B=function(g,A){var q=a.extend({gallery:!0,gallery_hook:"rel",
15live_elements:!0,preload_all:!1,global_type:"image",src_attr:"href",title_attr:"title",txt_attr:"data-lcl-txt",author_attr:"data-lcl-author",slideshow:!0,open_close_time:500,ol_time_diff:100,fading_time:150,animation_time:300,slideshow_time:6E3,autoplay:!1,counter:!1,progressbar:!0,carousel:!0,max_width:"93%",max_height:"93%",ol_opacity:.7,ol_color:"#111",ol_pattern:!1,border_w:3,border_col:"#ddd",padding:10,radius:4,shadow:!0,remove_scrollbar:!0,wrap_class:"",skin:"light",data_position:"over",cmd_position:"inner",
16ins_close_pos:"normal",nav_btn_pos:"normal",txt_hidden:500,show_title:!0,show_descr:!0,show_author:!0,thumbs_nav:!0,tn_icons:!0,tn_hidden:500,thumbs_w:110,thumbs_h:110,thumb_attr:!1,thumbs_maker_url:!1,fullscreen:!0,fs_img_behavior:"fit",fs_only:500,browser_fs_mode:!0,socials:!0,txt_toggle_cmd:!0,download:!0,touchswipe:!0,mou
16sewheel:!0,modal:!1,rclick_prevent:!1,elems_parsed:function(){},html_is_ready:function(){},on_open:function(){},on_elem_switch:function(){},slideshow_start:function(){},slideshow_end:function(){},
17on_fs_enter:function(){},on_fs_exit:function(){},on_close:function(){}},A),r={elems:[],is_arr_instance:"string"!=typeof g&&"undefined"==typeof g[0].childNodes?!0:!1,elems_count:"string"!=typeof g&&"undefined"==typeof g[0].childNodes?g.length:a(g).length,elems_selector:"string"==typeof g?g:!1,elem_index:!1,gallery_hook_val:!1,preload_all_used:!1,img_sizes_cache:[],inner_cmd_w:!1,txt_exists:!1,txt_und_sizes:!1,force_fullscreen:!1,html_style:"",body_style:""};"string"==typeof g&&(g=a(g));var h=a.data(g,
18"lcl_settings",q),e=a.data(g,"lcl_vars",r),x=function(a){if("string"!=typeof a)return a;for(var b=0,d=0,f=a.toString().length;d<f;)b=(b<<5)-b+a.charCodeAt(d++)<<0;return 0>b?-1*b:b},B=function(b){var c=!1;a.each(e.elems,function(a,f){if(f.hash==b)return c=f,!1});return c},z=function(b){if(!b)return b;b=b.replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&amp;/g,"&").replace(/&quot;/g,'"').replace(/&#039;/g,"'");return a.trim(b)},C=function(b,c){var d=h[c];return-1!==d.indexOf("> ")?b.find(d.replace("> ",
19"")).length?a.trim(b.find(d.replace("> ","")).html()):"":"undefined"!=typeof b.attr(d)?z(b.attr(d)):""},U=function(b){var c=h;c.gallery||(b=b.eq(e.elem_index));var d=[];b.each(function(){var b=a(this),k=b.attr(c.src_attr),g=x(k);if(e.gallery_hook_val&&b.attr(c.gallery_hook)!=e.gallery_hook_val)return!0;if(g=B(g))b=g;else{g=k;var t=b.data("lcl-type");"undefined"==typeof t&&(t=h.global_type);-1!==a.inArray(t,["image"])?g=t:(g=g.toLowerCase(),g=/^https?:\/\/(?:[a-z\-]+\.)+[a-z]{2,6}(?:\/[^\/#?]+)+\.(?:jpe?g|gif|png)$/.test(g)?
20"image":"unknown");b="unknown"!=g?{src:k,type:g,hash:c.deeplink?x(k):!1,title:c.show_title?C(b,"title_attr"):"",txt:c.show_descr?C(b,"txt_attr"):"",author:c.show_author?C(b,"author_attr"):"",thumb:c.thumb_attr&&"undefined"!=typeof c.thumb_attr?b.attr(c.thumb_attr):"",download:"image"==g&&"undefined"!=typeof b.data("lcl-path")?b.data("lcl-path"):!1,force_outer_cmd:"undefined"!=typeof b.data("lcl-outer-cmd")?b.data("lcl-outer-cmd"):"",canonical_url:"undefined"!=typeof b.data("lcl-canonical-url")?b.data("lcl-canonical-url"):
21""}:{src:k,type:g,hash:c.deeplink?x(k):!1}}d.push(b)});2>d.length&&a(".lcl_prev, .lcl_next, #lcl_thumb_nav").remove();if(!d.length)return!1;e.elems=d;return!0},J=function(){if(2>e.elems.length||!h.gallery)return!1;0<e.elem_index&&w(!1,e.elem_index-1);e.elem_index!=e.elems.length-1&&w(!1,e.elem_index+1)},w=function(b,c){var d=e;"undefined"==typeof c&&(c=d.elem_index);if("undefined"==typeof c)return!1;var f="image"==d.elems[c].type?"image"==d.elems[c].type?d.elems[c].src:d.elems[c].poster:"";f&&"undefined"==
22typeof d.img_sizes_cache[f]?a("<img/>").bind("load",function(){d.img_sizes_cache[f]={w:this.width,h:this.height};b&&c==d.elem_index&&K()}).attr("src",f):b&&K()},L=function(b,c){var d=a.data(b,"lcl_settings"),f=a.data(b,"lcl_vars");if(f.is_arr_instance){var k=[];a.each(b,function(b,c){var f={},e="undefined"==typeof c.type&&d.global_type?d.global_type:!1;"undefined"!=typeof c.type&&(e=c.type);e&&-1!==a.inArray(e,["image"])?"undefined"!=typeof c.src&&c.src&&(f.src=c.src,f.type=e,f.hash=x(c.src),f.title=
23"undefined"==typeof c.title?"":z(c.title),f.txt="undefined"==typeof c.txt?"":z(c.txt),f.author="undefined"==typeof c.author?"":z(c.author),f.force_outer_cmd="undefined"==typeof c.force_outer_cmd?!1:c.force_outer_cmd,f.canonical_url="undefined"==typeof c.canonical_url?!1:c.canonical_url,f.thumb="undefined"==typeof c.thumb?!1:c.thumb,f.download="image"!=e||"undefined"==typeof c.download?!1:f.download,k.push(f)):(f={src:f.src,type:"unknown",hash:d.deeplink?x(f.src):!1},k.push(f))});f.elems=k}else{var v=
24b;d.live_elements&&f.elems_selector&&(v=c&&d.gallery&&d.gallery_hook&&"undefined"!=typeof a(g[0]).attr(d.gallery_hook)?f.elems_selector+"["+d.gallery_hook+"="+c.attr(d.gallery_hook)+"]":f.elems_selector,v=a(v));if(!U(v))return(!d.live_elements||d.live_elements&&!f.elems_selector)&&console.error("LC Lightbox - no valid elements found"),!1}d.preload_all&&!f.preload_all_used&&(f.preload_all_used=!0,a(document).ready(function(b){a.each(f.elems,function(a,b){w(!1,a)})}));"function"==typeof d.elems_parsed&&
25d.elems_parsed.call({opts:h,vars:e});f.is_arr_instance||(v=f.elems_selector?a(f.elems_selector):b,v.first().trigger("lcl_elems_parsed",[f.elems]));return!0};L(g);var E=function(b,c){if(lcl_shown||lcl_is_active)return!1;lcl_is_active=lcl_shown=!0;lcl_curr_obj=b;h=a.data(b,"lcl_settings");e=a.data(b,"lcl_vars");lcl_curr_opts=h;lcl_curr_vars=e;var d=h,f=e,k="undefined"!=typeof c?c:!1;if(!e)return console.error("LC Lightbox - cannot open. Object not initialized"),!1;f.gallery_hook_val=k&&d.gallery&&d.gallery_hook&&
26"undefined"!=typeof k.attr(d.gallery_hook)?k.attr(d.gallery_hook):!1;if(!L(b,c))return!1;if(k)a.each(f.elems,function(a,b){if(b.src==k.attr(d.src_attr))return f.elem_index=a,!1});else if(parseInt(f.elem_index,10)>=f.elems_count)return console.error("LC Lightbox - selected index does not exist"),!1;w(!1);V();W();f.force_fullscreen&&D(!0,!0);a("#lcl_thumbs_nav").length&&X();w(!0);J()},M=function(){a("#lcl_wrap").removeClass("lcl_pre_show").addClass("lcl_shown");a("#lcl_loader").removeClass("lcl_loader_pre_first_el")},
27V=function(){var b=h,c=e,d=[],f="";"number"==typeof document.documentMode&&(a("body").addClass("lcl_old_ie"),"outer"!=b.cmd_position&&(b.nav_btn_pos="normal"));a("#lcl_wrap").length&&a("#lcl_wrap").remove();a("body").append('<div id="lcl_wrap" class="lcl_pre_show lcl_pre_first_el lcl_first_sizing lcl_is_resizing"><div id="lcl_window"><div id="lcl_corner_close" title="close"></div><div id="lcl_loader" class="lcl_loader_pre_first_el"><span id="lcll_1"></span><span id="lcll_2"></span></div><div id="lcl_nav_cmd"><div class="lcl_icon lcl_prev" title="previous"></div><div class="lcl_icon lcl_play"></div><div class="lcl_icon lcl_next" title="next"></div><div class="lcl_icon lcl_counter"></div><div class="lcl_icon lcl_right_icon lcl_close" title="close"></div><div class="lcl_icon lcl_right_icon lcl_fullscreen" title="toggle fullscreen"></div><div class="lcl_icon lcl_right_icon lcl_txt_toggle" title="toggle text"></div><div class="lcl_icon lcl_right_icon lcl_download" title="download"></div><div class="lcl_icon lcl_right_icon lcl_thumbs_toggle" title="toggle thumbnails"></div><div class="lcl_icon lcl_right_icon lcl_socials" title="toggle socials"></div></div><div id="lcl_contents_wrap"><div id="lcl_subj"><div id="lcl_elem_wrap"></div></div><div id="lcl_txt"></div></div></div><div id="lcl_thumbs_nav"></div><div id="lcl_overlay"></div></div>');
28d.push("lcl_"+b.ins_close_pos+"_close lcl_nav_btn_"+b.nav_btn_pos+" lcl_"+b.ins_close_pos+"_close lcl_nav_btn_"+b.nav_btn_pos);(!0===b.tn_hidden||"number"==typeof b.tn_hidden&&(a(window).width()<b.tn_hidden||a(window).height()<b.tn_hidden))&&d.push("lcl_tn_hidden");(!0===b.txt_hidden||"number"==typeof b.txt_hidden&&(a(window).width()<b.txt_hidden||a(window).height()<b.txt_hidden))&&d.push("lcl_hidden_txt");b.carousel||d.push("lcl_no_carousel");lcl_on_mobile&&d.push("lcl_on_mobile");b.wrap_class&&
29d.push(b.wrap_class);d.push("lcl_"+b.cmd_position+"_cmd");if("inner"!=b.cmd_position){var k=a("#lcl_nav_cmd").detach();a("#lcl_wrap").prepend(k)}b.slideshow||a(".lcl_play").remove();b.txt_toggle_cmd||a(".lcl_txt_toggle").remove();b.socials||a(".lcl_socials").remove();b.download||a(".lcl_download").remove();(!b.counter||2>c.elems.length)&&a(".lcl_counter").remove();b.img_zoom||a(".lcl_zoom_icon").remove();c.force_fullscreen=!1;if(!b.fullscreen)a(".lcl_fullscreen").remove();else if(!0===b.fs_only||
30"number"==typeof b.fs_only&&(a(window).width()<b.fs_only||a(window).height()<b.fs_only))a(".lcl_fullscreen").remove(),e.force_fullscreen=!0;2>c.elems.length?a(".lcl_prev, .lcl_play, .lcl_next").remove():"middle"==b.nav_btn_pos&&(f+=".lcl_prev, .lcl_next {margin: "+b.padding+"px;}");!b.thumbs_nav||2>e.elems.length?a("#lcl_thumbs_nav, .lcl_thumbs_toggle").remove():(a("#lcl_thumbs_nav").css("height",b.thumbs_h),k=a("#lcl_thumbs_nav").outerHeight(!0)-b.thumbs_h,f+="#lcl_window {margin-top: "+-1*(b.thumbs_h-
31k)+"px;}");d.push("lcl_txt_"+b.data_position+" lcl_"+b.skin);f+=F();f+="#lcl_overlay {background-color: "+b.thumbs_h+"px; opacity: "+b.ol_opacity+";}";b.ol_pattern&&a("#lcl_overlay").addClass("lcl_pattern_"+b.ol_pattern);b.modal&&a("#lcl_overlay").addClass("lcl_modal");b.border_w&&(f+="#lcl_window {border: "+b.border_w+"px solid "+b.border_col+";}");b.padding&&(f+="#lcl_subj, #lcl_txt, #lcl_nav_cmd {margin: "+b.padding+"px;}");b.radius&&(f+="#lcl_window, #lcl_contents_wrap {border-radius: "+b.radius+
32"px;}");b.shadow&&(f+="#lcl_window {box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);}");"inner"==b.cmd_position&&"corner"==b.ins_close_pos&&(f+="#lcl_corner_close {top: "+-1*(b.border_w+Math.ceil(a("#lcl_corner_close").outerWidth()/2))+"px;right: "+-1*(b.border_w+Math.ceil(a("#lcl_corner_close").outerHeight()/2))+";}");a("#lcl_inline_style").length&&a("#lcl_inline_style").remove();a("head").append('<style type="text/css" id="lcl_inline_style">'+f+"#lcl_overlay {background-color: "+b.ol_color+";opacity: "+
33b.ol_opacity+";}#lcl_window, #lcl_txt, #lcl_subj {-webkit-transition-duration: "+b.animation_time+"ms; transition-duration: "+b.animation_time+"ms;}#lcl_overlay {-webkit-transition-duration: "+b.open_close_time+"ms; transition-duration: "+b.open_close_time+"ms;}.lcl_first_sizing #lcl_window, .lcl_is_closing #lcl_window {-webkit-transition-duration: "+(b.open_close_time-b.ol_time_diff)+"ms; transition-duration: "+(b.open_close_time-b.ol_time_diff)+"ms;}.lcl_first_sizing #lcl_window {-webkit-transition-delay: "+
34b.ol_time_diff+"ms; transition-delay: "+b.ol_time_diff+"ms;}#lcl_loader, #lcl_contents_wrap, #lcl_corner_close {-webkit-transition-duration: "+b.fading_time+"ms; transition-duration: "+b.fading_time+"ms;}.lcl_toggling_txt #lcl_subj {-webkit-transition-delay: "+(b.fading_time+200)+"ms !important;  transition-delay: "+(b.fading_time+200)+"ms !important;}.lcl_fullscreen_mode.lcl_txt_over:not(.lcl_tn_hidden) #lcl_txt, .lcl_fullscreen_mode.lcl_force_txt_over:not(.lcl_tn_hidden) #lcl_txt {max-height: calc(100% - 42px - "+
35b.thumbs_h+"px);}.lcl_fullscreen_mode.lcl_playing_video.lcl_txt_over:not(.lcl_tn_hidden) #lcl_txt,.lcl_fullscreen_mode.lcl_playing_video.lcl_force_txt_over:not(.lcl_tn_hidden) #lcl_txt {max-height: calc(100% - 42px - 45px - "+b.thumbs_h+"px);}</style>");b.remove_scrollbar&&(e.html_style="undefined"!=typeof jQuery("html").attr("style")?jQuery("html").attr("style"):"",e.body_style="undefined"!=typeof jQuery("body").attr("style")?jQuery("body").attr("style"):"",f=a(window).width(),a("html").css("overflow",
36"hidden"),a("html").css({"margin-right":a(window).width()-f,"touch-action":"none"}),a("body").css({overflow:"visible","touch-action":"none"}));f=e.elems[c.elem_index];"image"!=f.type||"image"==f.type&&"undefined"!=typeof c.img_sizes_cache[f.src]?d.push("lcl_show_already_shaped"):M();a("#lcl_wrap").addClass(d.join(" "));"function"==typeof b.html_is_ready&&b.html_is_ready.call({opts:h,vars:e});e.is_arr_instance||(e.elems_selector?a(e.elems_selector):lcl_curr_obj).first().trigger("lcl_html_is_ready",
37[h,e])},F=function(a){return"undefined"==typeof a?(a=(100-parseInt(h.max_width,10))/2,"#lcl_wrap {padding: "+(100-parseInt(h.max_height,10))/2+"vh "+a+"vw;}"):"#lcl_wrap {padding: 0;}"},Y=function(b){var c=a(b)[0],d=null;c.addEventListener("touchstart",function(a){1===a.targetTouches.length&&(d=a.targetTouches[0].clientY)},!1);
37c.addEventListener("touchmove",function(a){if(1===a.targetTouches.length){var b=a.targetTouches[0].clientY-d;0===c.scrollTop&&0<b&&a.preventDefault();c.scrollHeight-c.scrollTop<=
38c.clientHeight&&0>b&&a.preventDefault()}},!1)},K=function(){if(!lcl_shown)return!1;var b=e,c=b.elems[b.elem_index];a("#lcl_wrap").attr("lc-lelem",b.elem_index);h.carousel||(a("#lcl_wrap").removeClass("lcl_first_elem lcl_last_elem"),b.elem_index?b.elem_index==b.elems.length-1&&a("#lcl_wrap").addClass("lcl_last_elem"):a("#lcl_wrap").addClass("lcl_first_elem"));a(document).trigger("lcl_before_populate_global",[c,b.elem_index]);var d=e.elem_index;a("#lcl_elem_wrap").removeAttr("style").removeAttr("class").empty();
39a("#lcl_wrap").attr("lcl-type",c.type);a("#lcl_elem_wrap").addClass("lcl_"+c.type+"_elem");switch(c.type){case "image":a("#lcl_elem_wrap").html('<img class="lcl_elem" style="visibility: hidden;" src="'+c.src+'" />');a("#lcl_elem_wrap").css("background-image","url('"+c.src+"')");break;default:a("#lcl_elem_wrap").html('<div id="lcl_inline" class="lcl_elem"><br/><br/>Error loading the resource .. </div>')}if(c.download){a(".lcl_download").show();var f=c.download.split("/");f=f[f.length-1];a(".lcl_download").html('<a href="'+
40c.download+'" target="_blank" download="'+f+'"></a>')}else a(".lcl_download").hide();a(".lcl_counter").html(d+1+" / "+e.elems.length);G(c)&&"unknown"!=c.type?(a("#lcl_wrap").removeClass("lcl_no_txt"),a(".lcl_txt_toggle").show(),c.title&&a("#lcl_txt").append('<h3 id="lcl_title">'+c.title+"</h3>"),c.author&&a("#lcl_txt").append('<h5 id="lcl_author">by '+c.author+"</h5>"),c.txt&&a("#lcl_txt").append('<section id="lcl_descr">'+c.txt+"</section>"),c.txt&&(c.title&&c.author?a("#lcl_txt h5").addClass("lcl_txt_border"):
41a("#lcl_txt h3").length?a("#lcl_txt h3").addClass("lcl_txt_border"):a("#lcl_txt h5").addClass("lcl_txt_border"))):(a(".lcl_txt_toggle").hide(),a("#lcl_wrap").addClass("lcl_no_txt"));Y("#lcl_txt");b.is_arr_instance||(d=b.elems_selector?a(b.elems_selector):lcl_curr_obj,d.first().trigger("lcl_before_show",[c,b.elem_index]));a(document).trigger("lcl_before_show_global",[c,b.elem_index]);a("#lcl_wrap").hasClass("lcl_pre_first_el")&&("function"==typeof h.on_open&&h.on_open.call({opts:h,vars:e}),b.is_arr_instance||
42(d=b.elems_selector?a(b.elems_selector):lcl_curr_obj,d.first().trigger("lcl_on_open",[c,b.elem_index])));p(c);a("#lcl_subj").removeClass("lcl_switching_el")},G=function(a){return a.title||a.txt||a.author?!0:!1},p=function(b,c,d){var f=h;"undefined"==typeof c&&(c={});var k=a(".lcl_fullscreen_mode").length?!0:!1,g=k?0:2*parseInt(f.border_w,10)+2*parseInt(f.padding,10);"undefined"==typeof c.side_txt_checked&&a("#lcl_wrap").removeClass("lcl_force_txt_over");var t=a(".lcl_force_txt_over").length||a(".lcl_hidden_txt").length||
43-1===a.inArray(f.data_position,["rside","lside"])||!G(b)?0:a("#lcl_txt").outerWidth(),m=k||!a("#lcl_thumbs_nav").length||a(".lcl_tn_hidden").length?0:a("#lcl_thumbs_nav").outerHeight(!0),n=!k&&a(".lcl_outer_cmd").length?a("#lcl_nav_cmd").outerHeight():0;var u=k?a(window).width():Math.floor(a("#lcl_wrap").width())-g-t;m=k?a(window).height():Math.floor(a("#lcl_wrap").height())-g-m-n;if("object"==typeof e.txt_und_sizes){u=e.txt_und_sizes.w;var l=e.txt_und_sizes.h}else switch(b.type){case "image":a("#lcl_elem_wrap").css("bottom",
440);n=e.img_sizes_cache[b.src];a("#lcl_elem_wrap img").css({maxWidth:n.w<u?n.w:u,maxHeight:n.h<m?n.h:m});u=a("#lcl_elem_wrap img").width();l=a("#lcl_elem_wrap img").height();if(!u||!l)return setTimeout(function(){p(b,c,d)},30),!1;if(G(b)&&!a(".lcl_hidden_txt").length&&"under"==f.data_position&&"undefined"==typeof c.no_txt_under)return N(u,l,m),a(document).off("lcl_txt_und_calc").on("lcl_txt_und_calc",function(){if(e.txt_und_sizes)return"no_under"==e.txt_und_sizes&&(c.no_txt_under=!0),p(b,c)}),!1;a("#lcl_subj").css("maxHeight",
45"none");break;default:u=280,l=125}if(("rside"==f.data_position||"lside"==f.data_position)&&!a(".lcl_no_txt").length&&"undefined"==typeof c.side_txt_checked&&((n="image"==b.type?e.img_sizes_cache[b.src]:"")&&400<n.w&&400<n.h||"undefined"!=typeof cust_w&&(!cu
45st_w||400<cust_w)||"undefined"!=typeof cust_h&&(!cust_h||400<cust_h))&&!Z(u+g,l+g,t))return c.side_txt_checked=!0,p(b,c);e.txt_und_sizes=!1;if("undefined"==typeof c.inner_cmd_checked&&("inner"==f.cmd_position||b.force_outer_cmd)&&aa(b,u))return c.inner_cmd_checked=
46!0,p(b,c);a("#lcl_wrap").removeClass("lcl_pre_first_el");a("#lcl_window").css({width:k?"100%":u+g+t,height:k?"100%":l+g});a(".lcl_show_already_shaped").length&&setTimeout(function(){a("#lcl_wrap").removeClass("lcl_show_already_shaped");M()},10);O();"undefined"!=typeof lcl_size_n_show_timeout&&clearTimeout(lcl_size_n_show_timeout);k=a(".lcl_first_sizing").length?f.open_close_time:f.animation_time;a(".lcl_browser_resize").length&&(k=0);lcl_size_n_show_timeout=setTimeout(function(){lcl_is_active&&(lcl_is_active=
47!1);a(".lcl_first_sizing").length&&f.autoplay&&1<e.elems.length&&(f.carousel||e.elem_index<e.elems.length-1)&&lcl_start_slideshow();"image"==b.type&&(a(".lcl_fullscreen_mode").length?ba():a(".lcl_image_elem").css("background-size","cover"));a("#lcl_wrap").removeClass("lcl_first_sizing lcl_switching_elem lcl_is_resizing lcl_browser_resize");a(document).trigger("lcl_resized_window")},k)};a(window).resize(function(){if(!lcl_shown||g!=lcl_curr_obj||a(".lcl_toggling_fs").length)return!1;a("#lcl_wrap").addClass("lcl_browser_resize");
48"undefined"!=typeof lcl_rs_defer&&clearTimeout(lcl_rs_defer);lcl_rs_defer=setTimeout(function(){lcl_resize()},50)});var N=function(b,c,d,f){var k="undefined"==typeof f?1:f,g=a(".lcl_fullscreen_mode").length;a("#lcl_txt").outerHeight();var t=b/c;if(g&&a("#lcl_thumbs_nav").length)return a("#lcl_wrap").addClass("lcl_force_txt_over"),a("#lcl_subj").css("maxHeight","none"),a("#lcl_txt").css({right:0,width:"auto"}),e.txt_und_sizes="no_under",a(document).trigger("lcl_txt_und_calc"),!1;a("#lcl_wrap").removeClass("lcl_force_txt_over").addClass("lcl_txt_under_calc");
49g?a("#lcl_txt").css({right:0,width:"auto"}):a("#lcl_txt").css({right:"auto",width:b});"undefined"!=typeof lcl_txt_under_calc&&clearInterval(lcl_txt_under_calc);lcl_txt_under_calc=setTimeout(function(){var m=Math.ceil(a("#lcl_txt").outerHeight()),n=c+m-d;if(g)return a("#lcl_wrap").removeClass("lcl_txt_under_calc"),a("#lcl_subj").css("maxHeight",c-m),e.txt_und_sizes={w:b,h:c},a(document).trigger("lcl_txt_und_calc"),!1;if(0<n&&("undefined"==typeof f||10>f))return m=c-n,n=Math.floor(m*t),200>n||200>m?
50(a("#lcl_wrap").removeClass("lcl_txt_under_calc").addClass("lcl_force_txt_over"),a("#lcl_subj").css("maxHeight","none"),a("#lcl_txt").css({right:0,width:"auto"}),e.txt_und_sizes="no_under",a(document).trigger("lcl_txt_und_calc"),!0):N(n,m,d,k+1);a("#lcl_wrap").removeClass("lcl_txt_under_calc");a("#lcl_subj").css("maxHeight",c+h.padding);e.txt_und_sizes={w:b,h:c+m};a(document).trigger("lcl_txt_und_calc");return!0},80)},Z=function(b,c,d){d=a(".lcl_force_txt_over").length;if(400>b||400>c){if(d)return!0;
51a("#lcl_wrap").addClass("lcl_force_txt_over")}else{if(!d)return!0;a("#lcl_wrap").removeClass("lcl_force_txt_over")}return!1},aa=function(b,c){var d=h,f=a(".lcl_fullscreen_mode").length?!0:!1;if(a(".lcl_forced_outer_cmd").length){a("#lcl_wrap").removeClass("lcl_forced_outer_cmd");a("#lcl_wrap").removeClass("lcl_outer_cmd").addClass("lcl_inner_cmd");var g=a("#lcl_nav_cmd").detach();a("#lcl_window").prepend(g)}f||!1!==e.inner_cmd_w||(e.inner_cmd_w=0,jQuery("#lcl_nav_cmd .lcl_icon").each(function(){if((a(this).hasClass("lcl_prev")||
52a(this).hasClass("lcl_next"))&&"middle"==d.nav_btn_pos)return!0;e.inner_cmd_w+=a(this).outerWidth(!0)}));return f||b.force_outer_cmd||c<=e.inner_cmd_w?(a("#lcl_wrap").addClass("lcl_forced_outer_cmd"),a("#lcl_wrap").removeClass("lcl_inner_cmd").addClass("lcl_outer_cmd"),g=a("#lcl_nav_cmd").detach(),a("#lcl_wrap").prepend(g),!0):!1},l=function(b,c){var d=e,f=h.carousel;if(lcl_is_active||2>d.elems.length||a(".lcl_switching_elem").length)return!1;if("next"==b)if(d.elem_index==d.elems.length-1){if(!f)return!1;
53b=0}else b=d.elem_index+1;else if("prev"==b)if(d.elem_index)b=d.elem_index-1;else{if(!f)return!1;b=d.elems.length-1}else if(b=parseInt(b,10),0>b||b>=d.elems.length||b==d.elem_index)return!1;"undefined"!=typeof lcl_slideshow&&("undefined"==typeof c||!f&&b==d.elems.length-1)&&lcl_stop_slideshow();lcl_is_active=!0;P(b);a("#lcl_wrap").addClass("lcl_switching_elem");setTimeout(function(){a("#lcl_wrap").removeClass("lcl_playing_video");"function"==typeof h.on_elem_switch&&h.on_elem_switch.call({opts:h,
54vars:e,new_el:b});
54!d.is_arr_instance&&lcl_curr_obj&&(d.elems_selector?a(d.elems_selector):lcl_curr_obj).first().trigger("lcl_on_elem_switch",[d.elem_index,b]);a("#lcl_wrap").removeClass("lcl_no_txt lcl_loading_iframe");a("#lcl_txt").empty();d.elem_index=b;w(!0);J()},h.fading_time)},Q=function(b){var c=h;if(!c.progressbar)return!1;b=b?0:c.animation_time+c.fading_time;var d=c.slideshow_time+c.animation_time-b;a("#lcl_progressbar").length||a("#lcl_wrap").append('<div id="lcl_progressbar"></div>');"undefined"!=
55typeof lcl_pb_timeout&&clearTimeout(lcl_pb_timeout);lcl_pb_timeout=setTimeout(function(){a("#lcl_progressbar").stop(!0).removeAttr("style").css("width",0).animate({width:"100%"},d,"linear",function(){a("#lcl_progressbar").fadeTo(0,0)})},b)},H=function(){if(!lcl_shown)return!1;"function"==typeof h.on_close&&h.on_close.call({opts:h,vars:e});e.is_arr_instance||(e.elems_selector?a(e.elems_selector):lcl_curr_obj).first().trigger("lcl_on_close");a(document).trigger("lcl_on_close_global");a("#lcl_wrap").removeClass("lcl_shown").addClass("lcl_is_closing lcl_tn_hidden");
56lcl_stop_slideshow();a(".lcl_fullscreen_mode").length&&R();setTimeout(function(){a("#lcl_wrap, #lcl_inline_style").remove();h.remove_scrollbar&&(jQuery("html").attr("style",e.html_style),jQuery("body").attr("style",e.body_style));a(document).trigger("lcl_closed_global");lcl_is_active=lcl_shown=lcl_curr_vars=lcl_curr_opts=lcl_curr_obj=!1},h.open_close_time+80);"undefined"!=typeof lcl_size_check&&clearTimeout(lcl_size_check)},D=function(b,c){"undefined"==typeof c&&(c=!1);if(!lcl_shown||!h.fullscreen||
57!c&&lcl_is_active)return!1;var d=h,f=e;a("#lcl_wrap").addClass("lcl_toggling_fs");d.browser_fs_mode&&"undefined"!=typeof b&&(document.documentElement.requestFullscreen?document.documentElement.requestFullscreen():document.documentElement.msRequestFullscreen?document.documentElement.msRequestFullscreen():document.documentElement.mozRequestFullScreen?document.documentElement.mozRequestFullScreen():document.documentElement.webkitRequestFullscreen&&document.documentElement.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT));
58setTimeout(function(){a("#lcl_wrap").addClass("lcl_fullscreen_mode");F(!0);c||p(f.elems[f.elem_index]);a(document).on("lcl_resized_window",function(){a(document).off("lcl_resized_window");(c||"under"==lcl_curr_opts.data_position&&!a(".lcl_force_txt_over").length)&&p(lcl_curr_vars.elems[lcl_curr_vars.elem_index]);setTimeout(function(){a("#lcl_wrap").removeClass("lcl_toggling_fs")},200)})},c?d.open_close_time:d.fading_time);"function"==typeof d.on_fs_enter&&d.on_fs_enter.call({opts:d,vars:f});e.is_arr_instance||
59lcl_curr_obj.first().trigger("lcl_on_fs_enter")},ba=function(){var b=h.fs_img_behavior;if("image"!=e.elems[e.elem_index].type)return!1;var c=e.img_sizes_cache[e.elems[e.elem_index].src];if(a(".lcl_fullscreen_mode").length&&c.w<=a("#lcl_subj").width()&&c.h<=a("#lcl_subj").height())return a(".lcl_image_elem").css("background-size","auto"),!1;if("fit"==b)a(".lcl_image_elem").css("background-size","contain");else if("fill"==b)a(".lcl_image_elem").css("background-size","cover");else{if("undefined"==typeof c)return a(".lcl_image_elem").css("background-size",
60"cover"),!1;b=a(window).width()/a(window).height()-c.w/c.h;var d=a(window).width()-c.w;c=a(window).height()-c.h;1.15>=b&&-1.15<=b&&350>=d&&350>=c?a(".lcl_image_elem").css("background-size","cover"):a(".lcl_image_elem").css("background-size","contain")}},S=function(b){if(!lcl_shown||!h.fullscreen||lcl_is_active)return!1;var c=h;a("#lcl_wrap").addClass("lcl_toggling_fs");setTimeout(function(){c.browser_fs_mode&&"undefined"!=typeof b&&R();F();a("#lcl_wrap").removeClass("lcl_fullscreen_mode");setTimeout(function(){p(e.elems[e.elem_index]);
61setTimeout(function(){a("#lcl_wrap").removeClass("lcl_toggling_fs")},c.animation_time)},550)},c.fading_time);"function"==typeof c.on_fs_exit&&c.on_fs_exit.call({opts:h,vars:e});e.is_arr_instance||(e.elems_selector?a(e.elems_selector):lcl_curr_obj).first().trigger("lcl_on_fs_exit")},R=function(){document.exitFullscreen?document.exitFullscreen():document.msExitFullscreen?document.msExitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen&&document.webkitExitFullscreen()},
62X=function(){var b=!1,c=!1,d=Date.now();a("#lcl_thumbs_nav").append('<span class="lcl_tn_prev"></span><ul class="lcl_tn_inner"></ul><span class="lcl_tn_next"></span>');a("#lcl_thumbs_nav").attr("rel",d);a.each(e.elems,function(f,e){if("unknown"!=e.type){b||(c&&c!=e.type?b=!0:c=e.type);var g="",k="";tpc="";if(e.thumb)k=e.thumb,g="style=\"background-image: url('"+e.thumb+"');\"";else{switch(e.type){case "image":k=e.src}k&&(h.thumbs_maker_url&&e.poster&&(k=h.thumbs_maker_url.replace("%URL%",encodeURIComponent(k)).replace("%W%",
63h.thumbs_w).replace("%H%",h.thumbs_h)),g="style=\"background-image: url('"+k+"');\"")}if(("html"==e.type||"iframe"==e.type)&&!g)return!0;var m="video"!=e.type||g?"":'<video src="'+e.src+'"></video>';tpc="lcl_tn_preload";a(".lcl_tn_inner").append('<li class="lcl_tn_'+e.type+" "+tpc+'" title="'+e.title+'" rel="'+f+'" '+g+">"+m+"</li>");tpc&&ca(k,f,d)}});if(2>a(".lcl_tn_inner > li").length)return a("#lcl_thumbs_nav").remove(),!1;a(".lcl_tn_inner > li").css("width",h.thumbs_w);lcl_on_mobile||a(".lcl_tn_inner").lcl_smoothscroll(.3,
64400,!1,!0);b&&h.tn_icons&&a(".lcl_tn_inner").addClass("lcl_tn_mixed_types");P(e.elem_index)},ca=function(b,c,d){a("<img/>").bind("load",function(){if(!e)return!1;e.img_sizes_cache[b]={w:this.width,h:this.height};a("#lcl_thumbs_nav[rel="+d+"] li[rel="+c+"]").removeClass("lcl_tn_preload");setTimeout(function(){O();I()},500)}).attr("src",b)},T=function(){var b=0;a(".lcl_tn_inner > li").each(function(){b+=a(this).outerWidth(!0)});return b},O=function(){if(!a("#lcl_thumbs_nav").length)return!1;T()>a(".lcl_tn_inner").width()?
65a("#lcl_thumbs_nav").addClass("lcl_tn_has_arr"):a("#lcl_thumbs_nav").removeClass("lcl_tn_has_arr")},I=function(){var b=a(".lcl_tn_inner").scrollLeft();b?a(".lcl_tn_prev").removeClass("lcl_tn_disabled_arr").stop(!0).fadeTo(150,1):a(".lcl_tn_prev").addClass("lcl_tn_disabled_arr").stop(!0).fadeTo(150,.5);b>=T()-a(".lcl_tn_inner").width()?a(".lcl_tn_next").addClass("lcl_tn_disabled_arr").stop(!0).fadeTo(150,.5):a(".lcl_tn_next").removeClass("lcl_tn_disabled_arr").stop(!0).fadeTo(150,1)};a(document).on("lcl_smoothscroll_end",
66".lcl_tn_inner",function(a){if(g!=lcl_curr_obj)return!0;I()});var P=function(b){var c=a(".lcl_tn_inner > li[rel="+b+"]");if(!c.length)return!1;var d=0;a(".lcl_tn_inner > li").each(function(c,e){if(a(this).attr("rel")==b)return d=c,!1});var f=a(".lcl_tn_inner > li").last().outerWidth(),e=parseInt(a(".lcl_tn_inner > li").last().css("margin-left"),10);a(".lcl_tn_inner").width();var g=Math.floor((a(".lcl_tn_inner").width()-f-e)/2);f=f*d+e*(d-1)+Math.floor(e/2)-g;a(".lcl_tn_inner").stop(!0).animate({scrollLeft:f},
67500,function(){a(".lcl_tn_inner").trigger("lcl_smoothscroll_end")});a(".lcl_tn_inner > li").removeClass("lcl_sel_thumb");c.addClass("lcl_sel_thumb")};a.fn.lcl_smoothscroll=function(b,c,d,e){if(lcl_on_mobile)return!1;this.off("mousemove mousedown mouseup mouseenter mouseleave");var f=this,g="undefined"!=typeof d&&d?!1:!0,h="undefined"!=typeof e&&e?!1:!0,m=!1,n=!1,l=0,r=0,p=0,q=0;f.mousemove(function(a){!0===n&&(f.stop(!0),g&&f.scrollLeft(q+(r-a.pageX)),h&&f.scrollTop(p+(l-a.pageY)))});f.mouseover(function(){m&&
68clearTimeout(m)});f.mouseout(function(){m=setTimeout(function(){m=n=!1},500)});f.mousedown(function(a){"undefined"!=typeof lc_sms_timeout&&clearTimeout(lc_sms_timeout);n=!0;p=f.scrollTop();q=f.scrollLeft();l=a.pageY;r=a.pageX});f.mouseup(function(d){n=!1;var e=f.scrollTop(),k=-1*(p-e);e+=k*b;var l=f.scrollLeft(),m=-1*(q-l);l+=m*b;if(3>k&&-3<k&&3>m&&-3<m)return a(d.target).trigger("lcl_tn_elem_click"),!1;if(20<k||20<m)d={},h&&(d.scrollTop=e),g&&(d.scrollLeft=l),f.stop(!0).animate(d,c,"linear",function(){f.trigger("lcl_smoothscroll_end")})})};
69if(!r.is_arr_instance)if(q.live_elements&&r.elems_selector)a(document).off("click",r.elems_selector).on("click",r.elems_selector,function(b){b.preventDefault();a.data(g,"lcl_vars").elems_count=a(r.elems_selector).length;E(g,a(this));g.first().trigger("lcl_clicked_elem",[a(this)])});else g.off("click"),g.on("click",function(b){b.preventDefault();E(g,a(this));g.first().trigger("lcl_clicked_elem",[a(this)])});a(document).on("click","#lcl_overlay:not(.lcl_modal), .lcl_close, #lcl_corner_close",function(a){if(g!=
70lcl_curr_obj)return!0;H()});a(document).on("click",".lcl_prev",function(a){if(g!=lcl_curr_obj)return!0;l("prev")});a(document).on("click",".lcl_next",function(a){if(g!=lcl_curr_obj)return!0;l("next")});a(document).bind("keydown",function(b){if(lcl_shown){if(g!=lcl_curr_obj)return!0;39==b.keyCode?(b.preventDefault(),l("next")):37==b.keyCode?(b.preventDefault(),l("prev")):27==b.keyCode?(b.preventDefault(),H()):122==b.keyCode&&h.fullscreen&&("undefined"!=typeof lcl_fs_key_timeout&&clearTimeout(lcl_fs_key_timeout),
71lcl_fs_key_timeout=setTimeout(function(){a(".lcl_fullscreen_mode").length?S():D()},50))}});a(document).on("wheel","#lcl_overlay, #lcl_window, #lcl_thumbs_nav:not(.lcl_tn_has_arr)",function(b){if(g!=lcl_curr_obj)return!0;lcl_curr_opts.mousewheel&&b.target.scrollHeight<=a(b.target).height()&&(b.preventDefault(),0<b.originalEvent.deltaY?l("next"):l("prev"))});a(document).on("click",".lcl_image_elem",function(b){if(g!=lcl_curr_obj)return!0;lcl_img_click_track=setTimeout(function(){a(".lcl_zoom_wrap").length||
72l("next")},250)});a(document).on("click",".lcl_txt_toggle",function(b){if(g!=lcl_curr_obj)return!0;b=h;
72if(!lcl_is_active&&!a(".lcl_no_txt").length&&!a(".lcl_toggling_txt").length)if("over"!=b.data_position){var c="rside"==b.data_position||"lside"==b.data_position?!0:!1,d=a(".lcl_force_txt_over").length,f=150>b.animation_time?b.animation_time:150,e=0;c&&!d?a("#lcl_subj").fadeTo(f,0):d||(a("#lcl_contents_wrap").fadeTo(f,0),e=f);setTimeout(function(){a("#lcl_wrap").toggleClass("lcl_hidden_txt")},e);
73d||(lcl_is_active=!0,a("#lcl_wrap").addClass("lcl_toggling_txt"),setTimeout(function(){lcl_is_active=!1;lcl_resize()},b.animation_time),setTimeout(function(){a("#lcl_wrap").removeClass("lcl_toggling_txt");c&&!d?a("#lcl_subj").fadeTo(f,1):d||a("#lcl_contents_wrap").fadeTo(f,1)},2*b.animation_time+50))}else a("#lcl_wrap").toggleClass("lcl_hidden_txt")});a(document).on("click",".lcl_play",function(b){if(g!=lcl_curr_obj)return!0;a(".lcl_is_playing").length?lcl_stop_slideshow():lcl_start_slideshow()});
74a(document).on("click",".lcl_socials",function(b){if(g!=lcl_curr_obj)return!0;if(a(".lcl_socials > div").length)a(".lcl_socials_tt").removeClass("lcl_show_tt"),setTimeout(function(){a(".lcl_socials").removeClass("lcl_socials_shown").empty()},260);else{var c=lcl_curr_vars.elems[lcl_curr_vars.elem_index];b=encodeURIComponent(window.location.href);var d=encodeURIComponent(c.src),e=encodeURIComponent(c.title);encodeURIComponent(c.txt);c='<div class="lcl_socials_tt lcl_tooltip lcl_tt_bottom"><a class="lcl_icon lcl_fb" onClick="window.open(\'https://www.facebook.com/sharer?u='+
75b+"&display=popup','sharer','toolbar=0,status=0,width=590,height=325');\" href=\"javascript: void(0)\"></a><a class=\"lcl_icon lcl_twit\" onClick=\"window.open('https://twitter.com/share?text=Check%20out%20%22"+e+"%22%20@&url="+b+"','sharer','toolbar=0,status=0,width=548,height=325');\" href=\"javascript: void(0)\"></a>";lcl_on_mobile&&(c+='<br/><a class="lcl_icon lcl_wa" href="whatsapp://send?text='+b+'" data-action="share/whatsapp/share"></a>');c+='<a class="lcl_icon lcl_pint" onClick="window.open(\'http://pinterest.com/pin/create/button/?url='+
76b+"&media="+d+"&description="+e+"','sharer','toolbar=0,status=0,width=575,height=330');\" href=\"javascript: void(0)\"></a></div>";a(".lcl_socials").addClass("lcl_socials_shown").html(c);setTimeout(function(){a(".lcl_socials_tt").addClass("lcl_show_tt")},20)}});a(document).on("click",".lcl_fullscreen",function(b){if(g!=lcl_curr_obj)return!0;a(".lcl_fullscreen_mode").length?S(!0):D(!0)});a(document).on("click",".lcl_thumbs_toggle",function(b){if(g!=lcl_curr_obj)return!0;b=a(".lcl_fullscreen_mode").length;
77a("#lcl_wrap").addClass("lcl_toggling_tn").toggleClass("lcl_tn_hidden");b||setTimeout(function(){lcl_resize()},160);setTimeout(function(){a("#lcl_wrap").removeClass("lcl_toggling_tn")},lcl_curr_opts.animation_time+50)});q=lcl_on_mobile?" click":"";a(document).on("lcl_tn_elem_click"+q,".lcl_tn_inner > li",function(b){if(g!=lcl_curr_obj)return!0;b=a(this).attr("rel");l(b)});a(document).on("click",".lcl_tn_prev:not(.lcl_tn_disabled_arr)",function(b){if(g!=lcl_curr_obj)return!0;a(".lcl_tn_inner").stop(!0).animate({scrollLeft:a(".lcl_tn_inner").scrollLeft()-
78lcl_curr_opts.thumbs_w-10},300,"linear",function(){a(".lcl_tn_inner").trigger("lcl_smoothscroll_end")})});a(document).on("click",".lcl_tn_next:not(.lcl_tn_disabled_arr)",function(b){if(g!=lcl_curr_obj)return!0;a(".lcl_tn_inner").stop(!0).animate({scrollLeft:a(".lcl_tn_inner").scrollLeft()+lcl_curr_opts.thumbs_w+10},300,"linear",function(){a(".lcl_tn_inner").trigger("lcl_smoothscroll_end")})});a(document).on("wheel","#lcl_thumbs_nav.lcl_tn_has_arr",function(b){if(g!=lcl_curr_obj)return!0;b.preventDefault();
790<b.originalEvent.deltaY?a(".lcl_tn_prev:not(.lcl_tn_disabled_arr)").trigger("click"):a(".lcl_tn_next:not(.lcl_tn_disabled_arr)").trigger("click")});a(document).on("contextmenu","#lcl_wrap *",function(){if(g!=lcl_curr_obj)return!0;if(h.rclick_prevent)return!1});a(window).on("touchmove",function(b){a(b.target);if(!lcl_shown||!lcl_on_mobile||g!=lcl_curr_obj)return!0;a(b.target).parents("#lcl_window").length||a(b.target).parents("#lcl_thumbs_nav").length||b.preventDefault()});var W=function(){if("function"!=
80typeof AlloyFinger)return!1;lcl_is_pinching=!1;var b=document.querySelector("#lcl_wrap");new AlloyFinger(b,{singleTap:function(b){"lcl_overlay"!=a(b.target).attr("id")||h.modal||lcl_close()},doubleTap:function(a){a.preventDefault();zoom(!0)},pinch:function(a){a.preventDefault();lcl_is_pinching=!0;"undefined"!=typeof lcl_swipe_delay&&clearTimeout(lcl_swipe_delay);"undefined"!=typeof lcl_pinch_delay&&clearTimeout(lcl_pinch_delay);lcl_pinch_delay=setTimeout(function(){1.2<a.scale?zoom(!0):.8>a.scale&&
81zoom(!1);setTimeout(function(){lcl_is_pinching=!1},300)},20)},touchStart:function(a){lcl_touchstartX=a.changedTouches[0].clientX},touchEnd:function(b){var c=lcl_touchstartX-b.changedTouches[0].clientX;if((-50>c||50<c)&&!lcl_is_pinching){if(a(b.target).parents("#lcl_thumbs_nav").length||a(b.target).parents(".lcl_zoom_wrap").length)return!1;b=a(b.target).parents(".lcl_zoomable").length?250:0;"undefined"!=typeof lcl_swipe_delay&&clearTimeout(lcl_swipe_delay);lcl_swipe_delay=setTimeout(function(){-50>
82c?l("prev"):l("next")},b)}}})},y=function(){if(!lcl_curr_obj)return!1;e=a.data(lcl_curr_obj,"lcl_vars");h=a.data(lcl_curr_obj,"lcl_settings");return e?!0:(console.error("LC Lightbox. Object not initialized"),!1)};lcl_open=function(b,c){var d=e=a.data(b,"lcl_vars");if(d){if("undefined"==typeof d.elems[c])return console.error("LC Lightbox - cannot open. Unexisting index"),!1;d.elem_index=c;$clicked_obj=d.is_arr_instance?!1:a(b[c]);return E(b,$clicked_obj)}console.error("LC Lightbox - cannot open. Object not initialized");
83return!1};
83lcl_resize=function(){if(!lcl_shown||lcl_is_active||!y())return!1;var b=e;"undefined"!=typeof lcl_size_check&&clearTimeout(lcl_size_check);lcl_size_check=setTimeout(function(){a("#lcl_wrap").addClass("lcl_is_resizing");I();return p(b.elems[b.elem_index])},20)};lcl_close=function(){return lcl_shown&&!lcl_is_active&&y()?H():!1};lcl_switch=function(a){return lcl_shown&&!lcl_is_active&&y()?l(a):!1};lcl_start_slideshow=function(b){if(!lcl_shown||"undefined"==typeof b&&"undefined"!=typeof lcl_slideshow||
84!y())return!1;var c=h;if(!c.carousel&&e.elem_index==e.elems.length-1)return!1;"undefined"!=typeof lcl_slideshow&&clearInterval(lcl_slideshow);a("#lcl_wrap").addClass("lcl_is_playing");var d=c.animation_time+c.slideshow_time;Q(!0);lcl_slideshow=setInterval(function(){Q(!1);l("next",!0)},d);"undefined"==typeof b&&("function"==typeof c.slideshow_start&&c.slideshow_start.call({opts:c,vars:e}),e.is_arr_instance||(e.elems_selector?a(e.elems_selector):lcl_curr_obj).first().trigger("lcl_slideshow_start",
85[d]));return!0};lcl_stop_slideshow=function(){if(!lcl_shown||"undefined"==typeof lcl_slideshow||!y())return!1;var b=h;if(!b)return console.error("LC Lightbox. Object not initialized"),!1;clearInterval(lcl_slideshow);lcl_slideshow=void 0;a("#lcl_wrap").removeClass("lcl_is_playing");a("#lcl_progressbar").stop(!0).animate({marginTop:-3*a("#lcl_progressbar").height()},300,function(){a(this).remove()});"function"==typeof b.slideshow_end&&b.slideshow_end.call({opts:h,vars:e});e.is_arr_instance||(e.elems_selector?
86a(e.elems_selector):lcl_curr_obj).first().trigger("lcl_slideshow_end",[]);return!0};return g}})(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.