YITH WooCommerce Zoom Magnifier - Version 2.7.0

Version Description

Download this release

Release Info

Developer yithemes
Plugin Icon 128x128 YITH WooCommerce Zoom Magnifier
Version 2.7.0
Comparing to
See all releases

Code changes from version 2.6.0 to 2.7.0

assets/js/init.min.js CHANGED
@@ -1 +1 @@
1
- !function(y){function k(){var t=location.href;return hashtag=-1!==t.indexOf("#prettyPhoto")&&decodeURI(t.substring(t.indexOf("#prettyPhoto")+1,t.length)),hashtag=hashtag&&hashtag.replace(/<|>/g,""),hashtag}function b(t,e){t=t.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");t=new RegExp("[\\?&]"+t+"=([^&#]*)").exec(e);return null==t?"":t[1]}y.prettyPhoto={version:"3.1.6"},y.fn.prettyPhoto=function(e){e=jQuery.extend({hook:"rel",animation_speed:"fast",ajaxcallback:function(){},slideshow:5e3,autoplay_slideshow:!1,opacity:.8,show_title:!0,allow_resize:!0,allow_expand:!0,default_width:500,default_height:344,counter_separator_label:"/",theme:"pp_default",horizontal_padding:20,hideflash:!1,wmode:"opaque",autoplay:!0,modal:!1,deeplinking:!0,overlay_gallery:!0,overlay_gallery_max:30,keyboard_shortcuts:!0,changepicturecallback:function(){},callback:function(){},ie6_fallback:!0,markup:'<div class="pp_pic_holder"> \t\t\t\t\t\t<div class="ppt">&nbsp;</div> \t\t\t\t\t\t<div class="pp_top"> \t\t\t\t\t\t\t<div class="pp_left"></div> \t\t\t\t\t\t\t<div class="pp_middle"></div> \t\t\t\t\t\t\t<div class="pp_right"></div> \t\t\t\t\t\t</div> \t\t\t\t\t\t<div class="pp_content_container"> \t\t\t\t\t\t\t<div class="pp_left"> \t\t\t\t\t\t\t<div class="pp_right"> \t\t\t\t\t\t\t\t<div class="pp_content"> \t\t\t\t\t\t\t\t\t<div class="pp_loaderIcon"></div> \t\t\t\t\t\t\t\t\t<div class="pp_fade"> \t\t\t\t\t\t\t\t\t\t<a href="#" class="pp_expand" title="Expand the image">\t\t\t\t\t\t\t\t\t\t<div class="expand-button-hidden">\t<svg width="19px" height="19px" viewBox="0 0 19 19" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\t\t<defs>\t\t\t<rect id="path-1" x="0" y="0" width="30" height="30"></rect>\t\t</defs>\t\t<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\t\t\t<g id="Product-page---example-1" transform="translate(-940.000000, -1014.000000)">\t\t\t\t<g id="arrow-/-expand" transform="translate(934.500000, 1008.500000)">\t\t\t\t\t<mask id="mask-2" fill="white">\t\t\t\t\t\t<use xlink:href="#path-1"></use>\t\t\t\t\t</mask>\t\t\t\t\t<g id="arrow-/-expand-(Background/Mask)"></g>\t\t\t\t\t<path d="M21.25,8.75 L15,8.75 L15,6.25 L23.75,6.25 L23.740468,15.0000006 L21.25,15.0000006 L21.25,8.75 Z M8.75,21.25 L15,21.25 L15,23.75 L6.25,23.75 L6.25953334,14.9999988 L8.75,14.9999988 L8.75,21.25 Z" fill="#000000" mask="url(#mask-2)"></path>\t\t\t\t</g>\t\t\t</g>\t\t</g>\t</svg>\t</div></a> \t\t\t\t\t\t\t\t\t\t<div class="pp_hoverContainer"> \t\t\t\t\t\t\t\t\t\t\t<a class="pp_next" href="#">next</a> \t\t\t\t\t\t\t\t\t\t\t<a class="pp_previous" href="#">previous</a> \t\t\t\t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t\t\t\t<div id="pp_full_res"></div> \t\t\t\t\t\t\t\t\t\t<div class="pp_details"> \t\t\t\t\t\t\t\t\t\t\t<div class="pp_nav"> \t\t\t\t\t\t\t\t\t\t\t\t<a href="#" class="pp_arrow_previous">Previous</a> \t\t\t\t\t\t\t\t\t\t\t\t<p class="currentTextHolder">0/0</p> \t\t\t\t\t\t\t\t\t\t\t\t<a href="#" class="pp_arrow_next">Next</a> \t\t\t\t\t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t\t\t\t\t<p class="pp_description"></p> \t\t\t\t\t\t\t\t\t\t\t<div class="pp_social">{pp_social}</div> \t\t\t\t\t\t\t\t\t\t\t<a class="pp_close" href="#">Close</a> \t\t\t\t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t</div> \t\t\t\t\t\t</div> \t\t\t\t\t\t<div class="pp_bottom"> \t\t\t\t\t\t\t<div class="pp_left"></div> \t\t\t\t\t\t\t<div class="pp_middle"></div> \t\t\t\t\t\t\t<div class="pp_right"></div> \t\t\t\t\t\t</div> \t\t\t\t\t</div> \t\t\t\t\t<div class="pp_overlay"></div>',gallery_markup:'<div class="pp_gallery"> \t\t\t\t\t\t\t\t<a href="#" class="pp_arrow_previous">Previous</a> \t\t\t\t\t\t\t\t<div> \t\t\t\t\t\t\t\t\t<ul> \t\t\t\t\t\t\t\t\t\t{gallery} \t\t\t\t\t\t\t\t\t</ul> \t\t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t\t<a href="#" class="pp_arrow_next">Next</a> \t\t\t\t\t\t\t</div>',image_markup:'<img id="fullResImage" src="{path}" />',flash_markup:'<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="{width}" height="{height}"><param name="wmode" value="{wmode}" /><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="{path}" /><embed src="{path}" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="{width}" height="{height}" wmode="{wmode}"></embed></object>',quicktime_markup:'<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="https://www.apple.com/qtactivex/qtplugin.cab" height="{height}" width="{width}"><param name="src" value="{path}"><param name="autoplay" value="{autoplay}"><param name="type" value="video/quicktime"><embed src="{path}" height="{height}" width="{width}" autoplay="{autoplay}" type="video/quicktime" pluginspage="https://www.apple.com/quicktime/download/"></embed></object>',iframe_markup:'<iframe src ="{path}" width="{width}" height="{height}" frameborder="no"></iframe>',inline_markup:'<div class="pp_inline">{content}</div>',custom_markup:"",social_tools:'<div class="twitter"><a href="//twitter.com/share" class="twitter-share-button" data-count="none">Tweet</a><script type="text/javascript" src="//platform.twitter.com/widgets.js"><\/script></div><div class="facebook"><iframe src="//www.facebook.com/plugins/like.php?locale=en_US&href={location_href}&amp;layout=button_count&amp;show_faces=true&amp;width=500&amp;action=like&amp;font&amp;colorscheme=light&amp;height=23" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:500px; height:23px;" allowTransparency="true"></iframe></div>'},e);var i,t,d,h,o,p,a,c=this,s=!1,n=y(window).height(),l=y(window).width();function _(){y(".pp_loaderIcon").hide(),projectedTop=scroll_pos.scrollTop+(n/2-i.containerHeight/2),projectedTop<0&&(projectedTop=0),$ppt.fadeTo(settings.animation_speed,1),$pp_pic_holder.find(".pp_content").animate({height:i.contentHeight,width:i.contentWidth},settings.animation_speed),$pp_pic_holder.animate({top:projectedTop,left:l/2-i.containerWidth/2<0?0:l/2-i.containerWidth/2,width:i.containerWidth},settings.animation_speed,function(){$pp_pic_holder.find(".pp_hoverContainer,#fullResImage").height(i.height).width(i.width),$pp_pic_holder.find(".pp_fade").fadeIn(settings.animation_speed),isSet&&"image"==f(pp_images[set_position])?$pp_pic_holder.find(".pp_hoverContainer").show():$pp_pic_holder.find(".pp_hoverContainer").hide(),settings.allow_expand&&(i.resized?y("a.pp_expand,a.pp_contract").show():y("a.pp_expand").hide()),!settings.autoplay_slideshow||a||t||y.prettyPhoto.startSlideshow(),settings.changepicturecallback(),t=!0}),isSet&&settings.overlay_gallery&&"image"==f(pp_images[set_position])?(itemWidth=57,navWidth="facebook"==settings.theme||"pp_default"==settings.theme?50:30,itemsPerPage=Math.floor((i.containerWidth-100-navWidth)/itemWidth),itemsPerPage=itemsPerPage<pp_images.length?itemsPerPage:pp_images.length,totalPage=Math.ceil(pp_images.length/itemsPerPage)-1,0==totalPage?(navWidth=0,$pp_gallery.find(".pp_arrow_next,.pp_arrow_previous").hide()):$pp_gallery.find(".pp_arrow_next,.pp_arrow_previous").show(),galleryWidth=itemsPerPage*itemWidth,fullGalleryWidth=pp_images.length*itemWidth,$pp_gallery.css("margin-left",-(galleryWidth/2+navWidth/2)).find("div:first").width(galleryWidth+5).find("ul").width(fullGalleryWidth).find("li.selected").removeClass("selected"),goToPage=Math.floor(set_position/itemsPerPage)<totalPage?Math.floor(set_position/itemsPerPage):totalPage,y.prettyPhoto.changeGalleryPage(goToPage),$pp_gallery_li.filter(":eq("+set_position+")").addClass("selected")):$pp_pic_holder.find(".pp_content").off("mouseenter mouseleave"),e.ajaxcallback()}function g(t){$pp_pic_holder.find("#pp_full_res object,#pp_full_res embed").css("visibility","hidden"),$pp_pic_holder.find(".pp_fade").fadeOut(settings.animation_speed,function(){y(".pp_loaderIcon").show(),t()})}function r(t,e){if(resized=!1,m(t,e),imageWidth=t,imageHeight=e,(l<p||n<o)&&doresize&&settings.allow_resize&&!s){for(resized=!0,fitting=!1;!fitting;)l<p?(imageWidth=l-200,imageHeight=e/t*imageWidth):n<o?(imageHeight=n-200,imageWidth=t/e*imageHeight):fitting=!0,o=imageHeight,p=imageWidth;(l<p||n<o)&&r(p,o),m(imageWidth,imageHeight)}return{width:Math.floor(imageWidth),height:Math.floor(imageHeight),containerHeight:Math.floor(o),containerWidth:Math.floor(p)+2*settings.horizontal_padding,contentHeight:Math.floor(d),contentWidth:Math.floor(h),resized:resized}}function m(t,e){t=parseFloat(t),e=parseFloat(e),$pp_details=$pp_pic_holder.find(".pp_details"),$pp_details.width(t),detailsHeight=parseFloat($pp_details.css("marginTop"))+parseFloat($pp_details.css("marginBottom")),$pp_details=$pp_details.clone().addClass(settings.theme).width(t).appendTo(y("body")).css({position:"absolute",top:-1e4}),detailsHeight+=$pp_details.height(),detailsHeight=detailsHeight<=34?36:detailsHeight,$pp_details.remove(),$pp_title=$pp_pic_holder.find(".ppt"),$pp_title.width(t),titleHeight=parseFloat($pp_title.css("marginTop"))+parseFloat($pp_title.css("marginBottom")),$pp_title=$pp_title.clone().appendTo(y("body")).css({position:"absolute",top:-1e4}),titleHeight+=$pp_title.height(),$pp_title.remove(),d=e+detailsHeight,h=t,o=d+titleHeight+$pp_pic_holder.find(".pp_top").height()+$pp_pic_holder.find(".pp_bottom").height(),p=t}function f(t){return t.match(/youtube\.com\/watch/i)||t.match(/youtu\.be/i)?"youtube":t.match(/vimeo\.com/i)?"vimeo":t.match(/\b.mov\b/i)?"quicktime":t.match(/\b.swf\b/i)?"flash":t.match(/\biframe=true\b/i)?"iframe":t.match(/\bajax=true\b/i)?"ajax":t.match(/\bcustom=true\b/i)?"custom":"#"==t.substr(0,1)?"inline":"image"}function u(){if(doresize&&"undefined"!=typeof $pp_pic_holder){if(scroll_pos=v(),contentHeight=$pp_pic_holder.height(),contentwidth=$pp_pic_holder.width(),projectedTop=n/2+scroll_pos.scrollTop-contentHeight/2,projectedTop<0&&(projectedTop=0),contentHeight>n)return;$pp_pic_holder.css({top:projectedTop,left:l/2+scroll_pos.scrollLeft-contentwidth/2})}}function v(){return self.pageYOffset?{scrollTop:self.pageYOffset,scrollLeft:self.pageXOffset}:document.documentElement&&document.documentElement.scrollTop?{scrollTop:document.documentElement.scrollTop,scrollLeft:document.documentElement.scrollLeft}:document.body?{scrollTop:document.body.scrollTop,scrollLeft:document.body.scrollLeft}:void 0}function w(){if(settings.social_tools&&(facebook_like_link=settings.social_tools.replace("{location_href}",encodeURIComponent(location.href))),settings.markup=settings.markup.replace("{pp_social}",""),y("body").append(settings.markup),$pp_pic_holder=y(".pp_pic_holder"),$ppt=y(".ppt"),$pp_overlay=y("div.pp_overlay"),isSet&&settings.overlay_gallery){currentGalleryPage=0,toInject="";for(var t=0;t<pp_images.length;t++)img_src=pp_images[t].match(/\b(jpg|jpeg|png|gif)\b/gi)?(classname="",pp_images[t]):(classname="default",""),toInject+="<li class='"+classname+"'><a href='#'><img src='"+img_src+"' width='50' alt='' /></a></li>";toInject=settings.gallery_markup.replace(/{gallery}/g,toInject),$pp_pic_holder.find("#pp_full_res").after(toInject),$pp_gallery=y(".pp_pic_holder .pp_gallery"),$pp_gallery_li=$pp_gallery.find("li"),$pp_gallery.find(".pp_arrow_next").on("click",function(){return y.prettyPhoto.changeGalleryPage("next"),y.prettyPhoto.stopSlideshow(),!1}),$pp_gallery.find(".pp_arrow_previous").on("click",function(){return y.prettyPhoto.changeGalleryPage("previous"),y.prettyPhoto.stopSlideshow(),!1}),$pp_pic_holder.find(".pp_content").on("mouseenter",function(){$pp_pic_holder.find(".pp_gallery:not(.disabled)").fadeIn()}).on("mouseleave",function(){$pp_pic_holder.find(".pp_gallery:not(.disabled)").fadeOut()}),itemWidth=57,$pp_gallery_li.each(function(t){y(this).find("a").on("click",function(){return y.prettyPhoto.changePage(t),y.prettyPhoto.stopSlideshow(),!1})})}settings.slideshow&&($pp_pic_holder.find(".pp_nav").prepend('<a href="#" class="pp_play">Play</a>'),$pp_pic_holder.find(".pp_nav .pp_play").on("click",function(){return y.prettyPhoto.startSlideshow(),!1})),$pp_pic_holder.attr("class","pp_pic_holder "+settings.theme),$pp_overlay.css({opacity:0,height:y(document).height(),width:y(window).width()}).on("click",function(){settings.modal||y.prettyPhoto.close()}),y("a.pp_close").on("click",function(){return y.prettyPhoto.close(),!1}),settings.allow_expand&&y("a.pp_expand").on("click",function(t){return doresize=y(this).hasClass("pp_expand")?(y(this).removeClass("pp_expand").addClass("pp_contract"),!1):(y(this).removeClass("pp_contract").addClass("pp_expand"),!0),g(function(){y.prettyPhoto.open()}),!1}),$pp_pic_holder.find(".pp_previous, .pp_nav .pp_arrow_previous").on("click",function(){return y.prettyPhoto.changePage("previous"),y.prettyPhoto.stopSlideshow(),!1}),$pp_pic_holder.find(".pp_next, .pp_nav .pp_arrow_next").on("click",function(){return y.prettyPhoto.changePage("next"),y.prettyPhoto.stopSlideshow(),!1}),u()}return doresize=!0,scroll_pos=v(),y(window).off("resize.prettyphoto").on("resize.prettyphoto",function(){u(),n=y(window).height(),l=y(window).width(),"undefined"!=typeof $pp_overlay&&$pp_overlay.height(y(document).height()).width(l)}),e.keyboard_shortcuts&&y(document).off("keydown.prettyphoto").on("keydown.prettyphoto",function(t){if("undefined"!=typeof $pp_pic_holder&&$pp_pic_holder.is(":visible"))switch(t.keyCode){case 37:y.prettyPhoto.changePage("previous"),t.preventDefault();break;case 39:y.prettyPhoto.changePage("next"),t.preventDefault();break;case 27:settings.modal||y.prettyPhoto.close(),t.preventDefault()}}),y.prettyPhoto.initialize=function(){return settings=e,"pp_default"==settings.theme&&(settings.horizontal_padding=16),theRel=y(this).attr(settings.hook),galleryRegExp=/\[(?:.*)\]/,isSet=!!galleryRegExp.exec(theRel),pp_images=isSet?jQuery.map(c,function(t,e){if(-1!=y(t).attr(settings.hook).indexOf(theRel))return y(t).attr("href")}):y.makeArray(y(this).attr("href")),pp_titles=isSet?jQuery.map(c,function(t,e){if(-1!=y(t).attr(settings.hook).indexOf(theRel))return y(t).find("img").attr("alt")?y(t).find("img").attr("alt"):""}):y.makeArray(y(this).find("img").attr("alt")),pp_descriptions=isSet?jQuery.map(c,function(t,e){if(-1!=y(t).attr(settings.hook).indexOf(theRel))return y(t).attr("title")?y(t).attr("title"):""}):y.makeArray(y(this).attr("title")),pp_images.length>settings.overlay_gallery_max&&(settings.overlay_gallery=!1),set_position=jQuery.inArray(y(this).attr("href"),pp_images),rel_index=isSet?set_position:y("a["+settings.hook+"^='"+theRel+"']").index(y(this)),w(),settings.allow_resize&&y(window).on("scroll.prettyphoto",function(){u()}),y.prettyPhoto.open(),!1},y.prettyPhoto.open=function(t){return"undefined"==typeof settings&&(settings=e,pp_images=y.makeArray(t),pp_titles=arguments[1]?y.makeArray(arguments[1]):y.makeArray(""),pp_descriptions=arguments[2]?y.makeArray(arguments[2]):y.makeArray(""),isSet=1<pp_images.length,set_position=arguments[3]||0,w(t.target)),settings.hideflash&&y("object,embed,iframe[src*=youtube],iframe[src*=vimeo]").css("visibility","hidden"),1<y(pp_images).length?y(".pp_nav").show():y(".pp_nav").hide(),y(".pp_loaderIcon").show(),settings.deeplinking&&"undefined"!=typeof theRel&&(location.hash=theRel+"/"+rel_index+"/"),settings.social_tools&&(facebook_like_link=settings.social_tools.replace("{location_href}",encodeURIComponent(location.href)),$pp_pic_holder.find(".pp_social").html(facebook_like_link)),$ppt.is(":hidden")&&$ppt.css("opacity",0).show(),$pp_overlay.show().fadeTo(settings.animation_speed,settings.opacity),$pp_pic_holder.find(".currentTextHolder").text(set_position+1+settings.counter_separator_label+y(pp_images).length),"undefined"!=typeof pp_descriptions[set_position]&&""!=pp_descriptions[set_position]?$pp_pic_holder.find(".pp_description").show().html(unescape(pp_descriptions[set_position])):$pp_pic_holder.find(".pp_description").hide(),movie_width=parseFloat(b("width",pp_images[set_position]))?b("width",pp_images[set_position]):settings.default_width.toString(),movie_height=parseFloat(b("height",pp_images[set_position]))?b("height",pp_images[set_position]):settings.default_height.toString(),s=!1,-1!=movie_height.indexOf("%")&&(movie_height=parseFloat(y(window).height()*parseFloat(movie_height)/100-150),s=!0),-1!=movie_width.indexOf("%")&&(movie_width=parseFloat(y(window).width()*parseFloat(movie_width)/100-150),s=!0),$pp_pic_holder.fadeIn(function(){switch(settings.show_title&&""!=pp_titles[set_position]&&"undefined"!=typeof pp_titles[set_position]?$ppt.html(unescape(pp_titles[set_position])):$ppt.html("&nbsp;"),imgPreloader="",skipInjection=!1,f(pp_images[set_position])){case"image":imgPreloader=new Image,nextImage=new Image,isSet&&set_position<y(pp_images).length-1&&(nextImage.src=pp_images[set_position+1]),prevImage=new Image,isSet&&pp_images[set_position-1]&&(prevImage.src=pp_images[set_position-1]),$pp_pic_holder.find("#pp_full_res")[0].innerHTML=settings.image_markup.replace(/{path}/g,pp_images[set_position]),imgPreloader.onload=function(){i=r(imgPreloader.width,imgPreloader.height),_()},imgPreloader.onerror=function(){alert("Image cannot be loaded. Make sure the path is correct and image exist."),y.prettyPhoto.close()},imgPreloader.src=pp_images[set_position];break;case"youtube":i=r(movie_width,movie_height),movie_id=b("v",pp_images[set_position]),""==movie_id&&(movie_id=pp_images[set_position].split("youtu.be/"),movie_id=movie_id[1],0<movie_id.indexOf("?")&&(movie_id=movie_id.substr(0,movie_id.indexOf("?"))),0<movie_id.indexOf("&")&&(movie_id=movie_id.substr(0,movie_id.indexOf("&")))),movie="//www.youtube.com/embed/"+movie_id,b("rel",pp_images[set_position])?movie+="?rel="+b("rel",pp_images[set_position]):movie+="?rel=1",settings.autoplay&&(movie+="&autoplay=1"),toInject=settings.iframe_markup.replace(/{width}/g,i.width).replace(/{height}/g,i.height).replace(/{wmode}/g,settings.wmode).replace(/{path}/g,movie);break;case"vimeo":i=r(movie_width,movie_height),movie_id=pp_images[set_position];var t=movie_id.match(/http(s?):\/\/(www\.)?vimeo.com\/(\d+)/);movie="//player.vimeo.com/video/"+t[3]+"?title=0&amp;byline=0&amp;portrait=0",settings.autoplay&&(movie+="&autoplay=1;"),vimeo_width=i.width+"/embed/?moog_width="+i.width,toInject=settings.iframe_markup.replace(/{width}/g,vimeo_width).replace(/{height}/g,i.height).replace(/{path}/g,movie);break;case"quicktime":(i=r(movie_width,movie_height)).height+=15,i.contentHeight+=15,i.containerHeight+=15,toInject=settings.quicktime_markup.replace(/{width}/g,i.width).replace(/{height}/g,i.height).replace(/{wmode}/g,settings.wmode).replace(/{path}/g,pp_images[set_position]).replace(/{autoplay}/g,settings.autoplay);break;case"flash":i=r(movie_width,movie_height),flash_vars=pp_images[set_position],flash_vars=flash_vars.substring(pp_images[set_position].indexOf("flashvars")+10,pp_images[set_position].length),filename=pp_images[set_position],filename=filename.substring(0,filename.indexOf("?")),toInject=settings.flash_markup.replace(/{width}/g,i.width).replace(/{height}/g,i.height).replace(/{wmode}/g,settings.wmode).replace(/{path}/g,filename+"?"+flash_vars);break;case"iframe":i=r(movie_width,movie_height),frame_url=pp_images[set_position],frame_url=frame_url.substr(0,frame_url.indexOf("iframe")-1),toInject=settings.iframe_markup.replace(/{width}/g,i.width).replace(/{height}/g,i.height).replace(/{path}/g,frame_url);break;case"ajax":doresize=!1,i=r(movie_width,movie_height),doresize=!0,skipInjection=!0,y.get(pp_images[set_position],function(t){toInject=settings.inline_markup.replace(/{content}/g,t),$pp_pic_holder.find("#pp_full_res")[0].innerHTML=toInject,_()});break;case"custom":i=r(movie_width,movie_height),toInject=settings.custom_markup;break;case"inline":myClone=y(pp_images[set_position]).clone().append('<br clear="all" />').css({width:settings.default_width}).wrapInner('<div id="pp_full_res"><div class="pp_inline"></div></div>').appendTo(y("body")).show(),doresize=!1,i=r(y(myClone).width(),y(myClone).height()),doresize=!0,y(myClone).remove(),toInject=settings.inline_markup.replace(/{content}/g,y(pp_images[set_position]).html())}imgPreloader||skipInjection||($pp_pic_holder.find("#pp_full_res")[0].innerHTML=toInject,_())}),!1},y.prettyPhoto.changePage=function(t){currentGalleryPage=0,"previous"==t?(set_position--,set_position<0&&(set_position=y(pp_images).length-1)):"next"==t?(set_position++,set_position>y(pp_images).length-1&&(set_position=0)):set_position=t,rel_index=set_position,doresize=doresize||!0,settings.allow_expand&&y(".pp_contract").removeClass("pp_contract").addClass("pp_expand"),g(function(){y.prettyPhoto.open()})},y.prettyPhoto.changeGalleryPage=function(t){"next"==t?(currentGalleryPage++,currentGalleryPage>totalPage&&(currentGalleryPage=0)):"previous"==t?(currentGalleryPage--,currentGalleryPage<0&&(currentGalleryPage=totalPage)):currentGalleryPage=t,slide_speed="next"==t||"previous"==t?settings.animation_speed:0,slide_to=currentGalleryPage*(itemsPerPage*itemWidth),$pp_gallery.find("ul").animate({left:-slide_to},slide_speed)},y.prettyPhoto.startSlideshow=function(){void 0===a?($pp_pic_holder.find(".pp_play").off("click").removeClass("pp_play").addClass("pp_pause").on("click",function(){return y.prettyPhoto.stopSlideshow(),!1}),a=setInterval(y.prettyPhoto.startSlideshow,settings.slideshow)):y.prettyPhoto.changePage("next")},y.prettyPhoto.stopSlideshow=function(){$pp_pic_holder.find(".pp_pause").off("click").removeClass("pp_pause").addClass("pp_play").on("click",function(){return y.prettyPhoto.startSlideshow(),!1}),clearInterval(a),a=undefined},y.prettyPhoto.close=function(){$pp_overlay.is(":animated")||(y.prettyPhoto.stopSlideshow(),$pp_pic_holder.stop().find("object,embed").css("visibility","hidden"),y("div.pp_pic_holder,div.ppt,.pp_fade").fadeOut(settings.animation_speed,function(){y(this).remove()}),$pp_overlay.fadeOut(settings.animation_speed,function(){settings.hideflash&&y("object,embed,iframe[src*=youtube],iframe[src*=vimeo]").css("visibility","visible"),y(this).remove(),y(window).off("scroll.prettyphoto"),-1!==location.href.indexOf("#prettyPhoto")&&(location.hash="prettyPhoto"),settings.callback(),doresize=!0,t=!1,delete settings}))},!pp_alreadyInitialized&&k()&&(pp_alreadyInitialized=!0,hashIndex=k(),hashRel=hashIndex,hashIndex=hashIndex.substring(hashIndex.indexOf("/")+1,hashIndex.length-1),hashRel=hashRel.substring(0,hashRel.indexOf("/")),setTimeout(function(){y("a["+e.hook+"^='"+hashRel+"']:eq("+hashIndex+")").trigger("click")},50)),this.off("click.prettyphoto").on("click.prettyphoto",y.prettyPhoto.initialize)}}(jQuery);var pp_alreadyInitialized=!1;
1
+ !function(y){function k(){var t=location.href;return hashtag=(hashtag=-1!==t.indexOf("#prettyPhoto")&&decodeURI(t.substring(t.indexOf("#prettyPhoto")+1,t.length)))&&hashtag.replace(/<|>/g,"")}function b(t,e){t=t.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");t=new RegExp("[\\?&]"+t+"=([^&#]*)").exec(e);return null==t?"":t[1]}y.prettyPhoto={version:"3.1.6"},y.fn.prettyPhoto=function(e){e=jQuery.extend({hook:"rel",animation_speed:"fast",ajaxcallback:function(){},slideshow:5e3,autoplay_slideshow:!1,opacity:.8,show_title:!0,allow_resize:!0,allow_expand:!0,default_width:500,default_height:344,counter_separator_label:"/",theme:"pp_default",horizontal_padding:20,hideflash:!1,wmode:"opaque",autoplay:!0,modal:!1,deeplinking:!0,overlay_gallery:!0,overlay_gallery_max:30,keyboard_shortcuts:!0,changepicturecallback:function(){},callback:function(){},ie6_fallback:!0,markup:'<div class="pp_pic_holder"> \t\t\t\t\t\t<div class="ppt">&nbsp;</div> \t\t\t\t\t\t<div class="pp_top"> \t\t\t\t\t\t\t<div class="pp_left"></div> \t\t\t\t\t\t\t<div class="pp_middle"></div> \t\t\t\t\t\t\t<div class="pp_right"></div> \t\t\t\t\t\t</div> \t\t\t\t\t\t<div class="pp_content_container"> \t\t\t\t\t\t\t<div class="pp_left"> \t\t\t\t\t\t\t<div class="pp_right"> \t\t\t\t\t\t\t\t<div class="pp_content"> \t\t\t\t\t\t\t\t\t<div class="pp_loaderIcon"></div> \t\t\t\t\t\t\t\t\t<div class="pp_fade"> \t\t\t\t\t\t\t\t\t\t<a href="#" class="pp_expand" title="Expand the image">\t\t\t\t\t\t\t\t\t\t<div class="expand-button-hidden">\t<svg width="19px" height="19px" viewBox="0 0 19 19" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\t\t<defs>\t\t\t<rect id="path-1" x="0" y="0" width="30" height="30"></rect>\t\t</defs>\t\t<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\t\t\t<g id="Product-page---example-1" transform="translate(-940.000000, -1014.000000)">\t\t\t\t<g id="arrow-/-expand" transform="translate(934.500000, 1008.500000)">\t\t\t\t\t<mask id="mask-2" fill="white">\t\t\t\t\t\t<use xlink:href="#path-1"></use>\t\t\t\t\t</mask>\t\t\t\t\t<g id="arrow-/-expand-(Background/Mask)"></g>\t\t\t\t\t<path d="M21.25,8.75 L15,8.75 L15,6.25 L23.75,6.25 L23.740468,15.0000006 L21.25,15.0000006 L21.25,8.75 Z M8.75,21.25 L15,21.25 L15,23.75 L6.25,23.75 L6.25953334,14.9999988 L8.75,14.9999988 L8.75,21.25 Z" fill="#000000" mask="url(#mask-2)"></path>\t\t\t\t</g>\t\t\t</g>\t\t</g>\t</svg>\t</div></a> \t\t\t\t\t\t\t\t\t\t<div class="pp_hoverContainer"> \t\t\t\t\t\t\t\t\t\t\t<a class="pp_next" href="#">next</a> \t\t\t\t\t\t\t\t\t\t\t<a class="pp_previous" href="#">previous</a> \t\t\t\t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t\t\t\t<div id="pp_full_res"></div> \t\t\t\t\t\t\t\t\t\t<div class="pp_details"> \t\t\t\t\t\t\t\t\t\t\t<div class="pp_nav"> \t\t\t\t\t\t\t\t\t\t\t\t<a href="#" class="pp_arrow_previous">Previous</a> \t\t\t\t\t\t\t\t\t\t\t\t<p class="currentTextHolder">0/0</p> \t\t\t\t\t\t\t\t\t\t\t\t<a href="#" class="pp_arrow_next">Next</a> \t\t\t\t\t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t\t\t\t\t<p class="pp_description"></p> \t\t\t\t\t\t\t\t\t\t\t<div class="pp_social">{pp_social}</div> \t\t\t\t\t\t\t\t\t\t\t<a class="pp_close" href="#">Close</a> \t\t\t\t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t</div> \t\t\t\t\t\t</div> \t\t\t\t\t\t<div class="pp_bottom"> \t\t\t\t\t\t\t<div class="pp_left"></div> \t\t\t\t\t\t\t<div class="pp_middle"></div> \t\t\t\t\t\t\t<div class="pp_right"></div> \t\t\t\t\t\t</div> \t\t\t\t\t</div> \t\t\t\t\t<div class="pp_overlay"></div>',gallery_markup:'<div class="pp_gallery"> \t\t\t\t\t\t\t\t<a href="#" class="pp_arrow_previous">Previous</a> \t\t\t\t\t\t\t\t<div> \t\t\t\t\t\t\t\t\t<ul> \t\t\t\t\t\t\t\t\t\t{gallery} \t\t\t\t\t\t\t\t\t</ul> \t\t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t\t<a href="#" class="pp_arrow_next">Next</a> \t\t\t\t\t\t\t</div>',image_markup:'<img id="fullResImage" src="{path}" />',flash_markup:'<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="{width}" height="{height}"><param name="wmode" value="{wmode}" /><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="{path}" /><embed src="{path}" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="{width}" height="{height}" wmode="{wmode}"></embed></object>',quicktime_markup:'<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="https://www.apple.com/qtactivex/qtplugin.cab" height="{height}" width="{width}"><param name="src" value="{path}"><param name="autoplay" value="{autoplay}"><param name="type" value="video/quicktime"><embed src="{path}" height="{height}" width="{width}" autoplay="{autoplay}" type="video/quicktime" pluginspage="https://www.apple.com/quicktime/download/"></embed></object>',iframe_markup:'<iframe src ="{path}" width="{width}" height="{height}" frameborder="no"></iframe>',inline_markup:'<div class="pp_inline">{content}</div>',custom_markup:"",social_tools:'<div class="twitter"><a href="//twitter.com/share" class="twitter-share-button" data-count="none">Tweet</a><script type="text/javascript" src="//platform.twitter.com/widgets.js"><\/script></div><div class="facebook"><iframe src="//www.facebook.com/plugins/like.php?locale=en_US&href={location_href}&amp;layout=button_count&amp;show_faces=true&amp;width=500&amp;action=like&amp;font&amp;colorscheme=light&amp;height=23" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:500px; height:23px;" allowTransparency="true"></iframe></div>'},e);var i,t,o,p,a,s,n,l=this,r=!1,d=y(window).height(),h=y(window).width();function c(){y(".pp_loaderIcon").hide(),(projectedTop=scroll_pos.scrollTop+(d/2-i.containerHeight/2))<0&&(projectedTop=0),$ppt.fadeTo(settings.animation_speed,1),$pp_pic_holder.find(".pp_content").animate({height:i.contentHeight,width:i.contentWidth},settings.animation_speed),$pp_pic_holder.animate({top:projectedTop,left:h/2-i.containerWidth/2<0?0:h/2-i.containerWidth/2,width:i.containerWidth},settings.animation_speed,function(){$pp_pic_holder.find(".pp_hoverContainer,#fullResImage").height(i.height).width(i.width),$pp_pic_holder.find(".pp_fade").fadeIn(settings.animation_speed),isSet&&"image"==f(pp_images[set_position])?$pp_pic_holder.find(".pp_hoverContainer").show():$pp_pic_holder.find(".pp_hoverContainer").hide(),settings.allow_expand&&(i.resized?y("a.pp_expand,a.pp_contract").show():y("a.pp_expand").hide()),!settings.autoplay_slideshow||n||t||y.prettyPhoto.startSlideshow(),settings.changepicturecallback(),t=!0}),isSet&&settings.overlay_gallery&&"image"==f(pp_images[set_position])?(itemWidth=57,navWidth="facebook"==settings.theme||"pp_default"==settings.theme?50:30,itemsPerPage=(itemsPerPage=Math.floor((i.containerWidth-100-navWidth)/itemWidth))<pp_images.length?itemsPerPage:pp_images.length,0==(totalPage=Math.ceil(pp_images.length/itemsPerPage)-1)?(navWidth=0,$pp_gallery.find(".pp_arrow_next,.pp_arrow_previous").hide()):$pp_gallery.find(".pp_arrow_next,.pp_arrow_previous").show(),galleryWidth=itemsPerPage*itemWidth,fullGalleryWidth=pp_images.length*itemWidth,$pp_gallery.css("margin-left",-(galleryWidth/2+navWidth/2)).find("div:first").width(galleryWidth+5).find("ul").width(fullGalleryWidth).find("li.selected").removeClass("selected"),goToPage=Math.floor(set_position/itemsPerPage)<totalPage?Math.floor(set_position/itemsPerPage):totalPage,y.prettyPhoto.changeGalleryPage(goToPage),$pp_gallery_li.filter(":eq("+set_position+")").addClass("selected")):$pp_pic_holder.find(".pp_content").off("mouseenter mouseleave"),e.ajaxcallback()}function _(t){$pp_pic_holder.find("#pp_full_res object,#pp_full_res embed").css("visibility","hidden"),$pp_pic_holder.find(".pp_fade").fadeOut(settings.animation_speed,function(){y(".pp_loaderIcon").show(),t()})}function g(t,e){if(resized=!1,m(t,e),imageWidth=t,imageHeight=e,(h<s||d<a)&&doresize&&settings.allow_resize&&!r){for(resized=!0,fitting=!1;!fitting;)h<s?(imageWidth=h-200,imageHeight=e/t*imageWidth):d<a?(imageHeight=d-200,imageWidth=t/e*imageHeight):fitting=!0,a=imageHeight,s=imageWidth;(h<s||d<a)&&g(s,a),m(imageWidth,imageHeight)}return{width:Math.floor(imageWidth),height:Math.floor(imageHeight),containerHeight:Math.floor(a),containerWidth:Math.floor(s)+2*settings.horizontal_padding,contentHeight:Math.floor(o),contentWidth:Math.floor(p),resized:resized}}function m(t,e){t=parseFloat(t),e=parseFloat(e),($pp_details=$pp_pic_holder.find(".pp_details")).width(t),detailsHeight=parseFloat($pp_details.css("marginTop"))+parseFloat($pp_details.css("marginBottom")),$pp_details=$pp_details.clone().addClass(settings.theme).width(t).appendTo(y("body")).css({position:"absolute",top:-1e4}),detailsHeight=(detailsHeight+=$pp_details.height())<=34?36:detailsHeight,$pp_details.remove(),($pp_title=$pp_pic_holder.find(".ppt")).width(t),titleHeight=parseFloat($pp_title.css("marginTop"))+parseFloat($pp_title.css("marginBottom")),$pp_title=$pp_title.clone().appendTo(y("body")).css({position:"absolute",top:-1e4}),titleHeight+=$pp_title.height(),$pp_title.remove(),o=e+detailsHeight,p=t,a=o+titleHeight+$pp_pic_holder.find(".pp_top").height()+$pp_pic_holder.find(".pp_bottom").height(),s=t}function f(t){return t.match(/youtube\.com\/watch/i)||t.match(/youtu\.be/i)?"youtube":t.match(/vimeo\.com/i)?"vimeo":t.match(/\b.mov\b/i)?"quicktime":t.match(/\b.swf\b/i)?"flash":t.match(/\biframe=true\b/i)?"iframe":t.match(/\bajax=true\b/i)?"ajax":t.match(/\bcustom=true\b/i)?"custom":"#"==t.substr(0,1)?"inline":"image"}function u(){if(doresize&&"undefined"!=typeof $pp_pic_holder){if(scroll_pos=v(),contentHeight=$pp_pic_holder.height(),contentwidth=$pp_pic_holder.width(),(projectedTop=d/2+scroll_pos.scrollTop-contentHeight/2)<0&&(projectedTop=0),contentHeight>d)return;$pp_pic_holder.css({top:projectedTop,left:h/2+scroll_pos.scrollLeft-contentwidth/2})}}function v(){return self.pageYOffset?{scrollTop:self.pageYOffset,scrollLeft:self.pageXOffset}:document.documentElement&&document.documentElement.scrollTop?{scrollTop:document.documentElement.scrollTop,scrollLeft:document.documentElement.scrollLeft}:document.body?{scrollTop:document.body.scrollTop,scrollLeft:document.body.scrollLeft}:void 0}function w(){if(settings.social_tools&&(facebook_like_link=settings.social_tools.replace("{location_href}",encodeURIComponent(location.href))),settings.markup=settings.markup.replace("{pp_social}",""),y("body").append(settings.markup),$pp_pic_holder=y(".pp_pic_holder"),$ppt=y(".ppt"),$pp_overlay=y("div.pp_overlay"),isSet&&settings.overlay_gallery){currentGalleryPage=0,toInject="";for(var t=0;t<pp_images.length;t++)img_src=pp_images[t].match(/\b(jpg|jpeg|png|gif)\b/gi)?(classname="",pp_images[t]):(classname="default",""),toInject+="<li class='"+classname+"'><a href='#'><img src='"+img_src+"' width='50' alt='' /></a></li>";toInject=settings.gallery_markup.replace(/{gallery}/g,toInject),$pp_pic_holder.find("#pp_full_res").after(toInject),$pp_gallery=y(".pp_pic_holder .pp_gallery"),$pp_gallery_li=$pp_gallery.find("li"),$pp_gallery.find(".pp_arrow_next").on("click",function(){return y.prettyPhoto.changeGalleryPage("next"),y.prettyPhoto.stopSlideshow(),!1}),$pp_gallery.find(".pp_arrow_previous").on("click",function(){return y.prettyPhoto.changeGalleryPage("previous"),y.prettyPhoto.stopSlideshow(),!1}),$pp_pic_holder.find(".pp_content").on("mouseenter",function(){$pp_pic_holder.find(".pp_gallery:not(.disabled)").fadeIn()}).on("mouseleave",function(){$pp_pic_holder.find(".pp_gallery:not(.disabled)").fadeOut()}),itemWidth=57,$pp_gallery_li.each(function(t){y(this).find("a").on("click",function(){return y.prettyPhoto.changePage(t),y.prettyPhoto.stopSlideshow(),!1})})}settings.slideshow&&($pp_pic_holder.find(".pp_nav").prepend('<a href="#" class="pp_play">Play</a>'),$pp_pic_holder.find(".pp_nav .pp_play").on("click",function(){return y.prettyPhoto.startSlideshow(),!1})),$pp_pic_holder.attr("class","pp_pic_holder "+settings.theme),$pp_overlay.css({opacity:0,height:y(document).height(),width:y(window).width()}).on("click",function(){settings.modal||y.prettyPhoto.close()}),y("a.pp_close").on("click",function(){return y.prettyPhoto.close(),!1}),settings.allow_expand&&y("a.pp_expand").on("click",function(t){return doresize=y(this).hasClass("pp_expand")?(y(this).removeClass("pp_expand").addClass("pp_contract"),!1):(y(this).removeClass("pp_contract").addClass("pp_expand"),!0),_(function(){y.prettyPhoto.open()}),!1}),$pp_pic_holder.find(".pp_previous, .pp_nav .pp_arrow_previous").on("click",function(){return y.prettyPhoto.changePage("previous"),y.prettyPhoto.stopSlideshow(),!1}),$pp_pic_holder.find(".pp_next, .pp_nav .pp_arrow_next").on("click",function(){return y.prettyPhoto.changePage("next"),y.prettyPhoto.stopSlideshow(),!1}),u()}return doresize=!0,scroll_pos=v(),y(window).off("resize.prettyphoto").on("resize.prettyphoto",function(){u(),d=y(window).height(),h=y(window).width(),"undefined"!=typeof $pp_overlay&&$pp_overlay.height(y(document).height()).width(h)}),e.keyboard_shortcuts&&y(document).off("keydown.prettyphoto").on("keydown.prettyphoto",function(t){if("undefined"!=typeof $pp_pic_holder&&$pp_pic_holder.is(":visible"))switch(t.keyCode){case 37:y.prettyPhoto.changePage("previous"),t.preventDefault();break;case 39:y.prettyPhoto.changePage("next"),t.preventDefault();break;case 27:settings.modal||y.prettyPhoto.close(),t.preventDefault()}}),y.prettyPhoto.initialize=function(){return"pp_default"==(settings=e).theme&&(settings.horizontal_padding=16),theRel=y(this).attr(settings.hook),galleryRegExp=/\[(?:.*)\]/,isSet=!!galleryRegExp.exec(theRel),pp_images=isSet?jQuery.map(l,function(t,e){if(-1!=y(t).attr(settings.hook).indexOf(theRel))return y(t).attr("href")}):y.makeArray(y(this).attr("href")),pp_titles=isSet?jQuery.map(l,function(t,e){if(-1!=y(t).attr(settings.hook).indexOf(theRel))return y(t).find("img").attr("alt")?y(t).find("img").attr("alt"):""}):y.makeArray(y(this).find("img").attr("alt")),pp_descriptions=isSet?jQuery.map(l,function(t,e){if(-1!=y(t).attr(settings.hook).indexOf(theRel))return y(t).attr("title")?y(t).attr("title"):""}):y.makeArray(y(this).attr("title")),pp_images.length>settings.overlay_gallery_max&&(settings.overlay_gallery=!1),set_position=jQuery.inArray(y(this).attr("href"),pp_images),rel_index=isSet?set_position:y("a["+settings.hook+"^='"+theRel+"']").index(y(this)),w(),settings.allow_resize&&y(window).on("scroll.prettyphoto",function(){u()}),y.prettyPhoto.open(),!1},y.prettyPhoto.open=function(t){return"undefined"==typeof settings&&(settings=e,pp_images=y.makeArray(t),pp_titles=arguments[1]?y.makeArray(arguments[1]):y.makeArray(""),pp_descriptions=arguments[2]?y.makeArray(arguments[2]):y.makeArray(""),isSet=1<pp_images.length,set_position=arguments[3]||0,w(t.target)),settings.hideflash&&y("object,embed,iframe[src*=youtube],iframe[src*=vimeo]").css("visibility","hidden"),1<y(pp_images).length?y(".pp_nav").show():y(".pp_nav").hide(),y(".pp_loaderIcon").show(),settings.deeplinking&&"undefined"!=typeof theRel&&(location.hash=theRel+"/"+rel_index+"/"),settings.social_tools&&(facebook_like_link=settings.social_tools.replace("{location_href}",encodeURIComponent(location.href)),$pp_pic_holder.find(".pp_social").html(facebook_like_link)),$ppt.is(":hidden")&&$ppt.css("opacity",0).show(),$pp_overlay.show().fadeTo(settings.animation_speed,settings.opacity),$pp_pic_holder.find(".currentTextHolder").text(set_position+1+settings.counter_separator_label+y(pp_images).length),"undefined"!=typeof pp_descriptions[set_position]&&""!=pp_descriptions[set_position]?$pp_pic_holder.find(".pp_description").show().html(unescape(pp_descriptions[set_position])):$pp_pic_holder.find(".pp_description").hide(),movie_width=parseFloat(b("width",pp_images[set_position]))?b("width",pp_images[set_position]):settings.default_width.toString(),movie_height=parseFloat(b("height",pp_images[set_position]))?b("height",pp_images[set_position]):settings.default_height.toString(),r=!1,-1!=movie_height.indexOf("%")&&(movie_height=parseFloat(y(window).height()*parseFloat(movie_height)/100-150),r=!0),-1!=movie_width.indexOf("%")&&(movie_width=parseFloat(y(window).width()*parseFloat(movie_width)/100-150),r=!0),$pp_pic_holder.fadeIn(function(){switch(settings.show_title&&""!=pp_titles[set_position]&&"undefined"!=typeof pp_titles[set_position]?$ppt.html(unescape(pp_titles[set_position])):$ppt.html("&nbsp;"),imgPreloader="",skipInjection=!1,f(pp_images[set_position])){case"image":imgPreloader=new Image,nextImage=new Image,isSet&&set_position<y(pp_images).length-1&&(nextImage.src=pp_images[set_position+1]),prevImage=new Image,isSet&&pp_images[set_position-1]&&(prevImage.src=pp_images[set_position-1]),$pp_pic_holder.find("#pp_full_res")[0].innerHTML=settings.image_markup.replace(/{path}/g,pp_images[set_position]),imgPreloader.onload=function(){i=g(imgPreloader.width,imgPreloader.height),c()},imgPreloader.onerror=function(){alert("Image cannot be loaded. Make sure the path is correct and image exist."),y.prettyPhoto.close()},imgPreloader.src=pp_images[set_position];break;case"youtube":i=g(movie_width,movie_height),""==(movie_id=b("v",pp_images[set_position]))&&0<(movie_id=0<(movie_id=(movie_id=pp_images[set_position].split("youtu.be/"))[1]).indexOf("?")?movie_id.substr(0,movie_id.indexOf("?")):movie_id).indexOf("&")&&(movie_id=movie_id.substr(0,movie_id.indexOf("&"))),movie="//www.youtube.com/embed/"+movie_id,b("rel",pp_images[set_position])?movie+="?rel="+b("rel",pp_images[set_position]):movie+="?rel=1",settings.autoplay&&(movie+="&autoplay=1"),toInject=settings.iframe_markup.replace(/{width}/g,i.width).replace(/{height}/g,i.height).replace(/{wmode}/g,settings.wmode).replace(/{path}/g,movie);break;case"vimeo":i=g(movie_width,movie_height);var t=(movie_id=pp_images[set_position]).match(/http(s?):\/\/(www\.)?vimeo.com\/(\d+)/);movie="//player.vimeo.com/video/"+t[3]+"?title=0&amp;byline=0&amp;portrait=0",settings.autoplay&&(movie+="&autoplay=1;"),vimeo_width=i.width+"/embed/?moog_width="+i.width,toInject=settings.iframe_markup.replace(/{width}/g,vimeo_width).replace(/{height}/g,i.height).replace(/{path}/g,movie);break;case"quicktime":(i=g(movie_width,movie_height)).height+=15,i.contentHeight+=15,i.containerHeight+=15,toInject=settings.quicktime_markup.replace(/{width}/g,i.width).replace(/{height}/g,i.height).replace(/{wmode}/g,settings.wmode).replace(/{path}/g,pp_images[set_position]).replace(/{autoplay}/g,settings.autoplay);break;case"flash":i=g(movie_width,movie_height),flash_vars=(flash_vars=pp_images[set_position]).substring(pp_images[set_position].indexOf("flashvars")+10,pp_images[set_position].length),filename=(filename=pp_images[set_position]).substring(0,filename.indexOf("?")),toInject=settings.flash_markup.replace(/{width}/g,i.width).replace(/{height}/g,i.height).replace(/{wmode}/g,settings.wmode).replace(/{path}/g,filename+"?"+flash_vars);break;case"iframe":i=g(movie_width,movie_height),frame_url=(frame_url=pp_images[set_position]).substr(0,frame_url.indexOf("iframe")-1),toInject=settings.iframe_markup.replace(/{width}/g,i.width).replace(/{height}/g,i.height).replace(/{path}/g,frame_url);break;case"ajax":doresize=!1,i=g(movie_width,movie_height),doresize=!0,skipInjection=!0,y.get(pp_images[set_position],function(t){toInject=settings.inline_markup.replace(/{content}/g,t),$pp_pic_holder.find("#pp_full_res")[0].innerHTML=toInject,c()});break;case"custom":i=g(movie_width,movie_height),toInject=settings.custom_markup;break;case"inline":myClone=y(pp_images[set_position]).clone().append('<br clear="all" />').css({width:settings.default_width}).wrapInner('<div id="pp_full_res"><div class="pp_inline"></div></div>').appendTo(y("body")).show(),doresize=!1,i=g(y(myClone).width(),y(myClone).height()),doresize=!0,y(myClone).remove(),toInject=settings.inline_markup.replace(/{content}/g,y(pp_images[set_position]).html())}imgPreloader||skipInjection||($pp_pic_holder.find("#pp_full_res")[0].innerHTML=toInject,c())}),!1},y.prettyPhoto.changePage=function(t){currentGalleryPage=0,"previous"==t?--set_position<0&&(set_position=y(pp_images).length-1):"next"==t?++set_position>y(pp_images).length-1&&(set_position=0):set_position=t,rel_index=set_position,doresize=doresize||!0,settings.allow_expand&&y(".pp_contract").removeClass("pp_contract").addClass("pp_expand"),_(function(){y.prettyPhoto.open()})},y.prettyPhoto.changeGalleryPage=function(t){"next"==t?++currentGalleryPage>totalPage&&(currentGalleryPage=0):"previous"==t?--currentGalleryPage<0&&(currentGalleryPage=totalPage):currentGalleryPage=t,slide_speed="next"==t||"previous"==t?settings.animation_speed:0,slide_to=currentGalleryPage*(itemsPerPage*itemWidth),$pp_gallery.find("ul").animate({left:-slide_to},slide_speed)},y.prettyPhoto.startSlideshow=function(){void 0===n?($pp_pic_holder.find(".pp_play").off("click").removeClass("pp_play").addClass("pp_pause").on("click",function(){return y.prettyPhoto.stopSlideshow(),!1}),n=setInterval(y.prettyPhoto.startSlideshow,settings.slideshow)):y.prettyPhoto.changePage("next")},y.prettyPhoto.stopSlideshow=function(){$pp_pic_holder.find(".pp_pause").off("click").removeClass("pp_pause").addClass("pp_play").on("click",function(){return y.prettyPhoto.startSlideshow(),!1}),clearInterval(n),n=undefined},y.prettyPhoto.close=function(){$pp_overlay.is(":animated")||(y.prettyPhoto.stopSlideshow(),$pp_pic_holder.stop().find("object,embed").css("visibility","hidden"),y("div.pp_pic_holder,div.ppt,.pp_fade").fadeOut(settings.animation_speed,function(){y(this).remove()}),$pp_overlay.fadeOut(settings.animation_speed,function(){settings.hideflash&&y("object,embed,iframe[src*=youtube],iframe[src*=vimeo]").css("visibility","visible"),y(this).remove(),y(window).off("scroll.prettyphoto"),-1!==location.href.indexOf("#prettyPhoto")&&(location.hash="prettyPhoto"),settings.callback(),doresize=!0,t=!1,delete settings}))},!pp_alreadyInitialized&&k()&&(pp_alreadyInitialized=!0,hashIndex=k(),hashIndex=(hashRel=hashIndex).substring(hashIndex.indexOf("/")+1,hashIndex.length-1),hashRel=hashRel.substring(0,hashRel.indexOf("/")),setTimeout(function(){y("a["+e.hook+"^='"+hashRel+"']:eq("+hashIndex+")").trigger("click")},50)),this.off("click.prettyphoto").on("click.prettyphoto",y.prettyPhoto.initialize)}}(jQuery);var pp_alreadyInitialized=!1;
assets/js/jquery.min.js CHANGED
@@ -1 +1 @@
1
- !function($){function sc_setScroll(t,e,s){return{anims:[],duration:t,orgDuration:t,easing:e="transition"==s.transition&&"swing"==e?"ease":e,startTime:getTime()}}function sc_startScroll(t,e){for(var s=0,i=t.anims.length;s<i;s++){var o=t.anims[s];o&&o[0][e.transition](o[1],t.duration,t.easing,o[2])}}function sc_stopScroll(t,e){is_boolean(e)||(e=!0),is_object(t.pre)&&sc_stopScroll(t.pre,e);for(var s=0,i=t.anims.length;s<i;s++){var o=t.anims[s];o[0].stop(!0),e&&(o[0].css(o[1]),is_function(o[2])&&o[2]())}is_object(t.post)&&sc_stopScroll(t.post,e)}function sc_afterScroll(t,e,s){switch(e&&e.remove(),s.fx){case"fade":case"crossfade":case"cover-fade":case"uncover-fade":t.css("opacity",1),t.css("filter","")}}function sc_fireCallbacks(t,e,s,i,o){if(e[s]&&e[s].call(t,i),o[s].length)for(var n=0,r=o[s].length;n<r;n++)o[s][n].call(t,i);return[]}function sc_fireQueue(t,e,s){return e.length&&(t.trigger(cf_e(e[0][0],s),e[0][1]),e.shift()),e}function sc_hideHiddenItems(t){t.each(function(){var t=$(this);t.data("_cfs_isHidden",t.is(":hidden")).hide()})}function sc_showHiddenItems(t){t&&t.each(function(){var t=$(this);t.data("_cfs_isHidden")||t.show()})}function sc_clearTimers(t){return t.auto&&clearTimeout(t.auto),t.progress&&clearInterval(t.progress),t}function sc_mapCallbackArguments(t,e,s,i,o,n,r){return{width:r.width,height:r.height,items:{old:t,skipped:e,visible:s},scroll:{items:i,direction:o,duration:n}}}function sc_getDuration(t,e,s,i){var o=t.duration;return"none"==t.fx?0:("auto"==o?o=e.scroll.duration/e.scroll.items*s:o<10&&(o=i/o),o<1?0:("fade"==t.fx&&(o/=2),Math.round(o)))}function nv_showNavi(t,e,s){var i=is_number(t.items.minimum)?t.items.minimum:t.items.visible+1,i="show"==(e="show"==e||"hide"==e?e:e<i?(debug(s,"Not enough items ("+e+" total, "+i+" needed): Hiding navigation."),"hide"):"show")?"removeClass":"addClass",s=cf_c("hidden",s);t.auto.button&&t.auto.button[e]()[i](s),t.prev.button&&t.prev.button[e]()[i](s),t.next.button&&t.next.button[e]()[i](s),t.pagination.container&&t.pagination.container[e]()[i](s)}function nv_enableNavi(t,e,s){var i,o;t.circular||t.infinite||(i=("removeClass"==e||"addClass"==e)&&e,s=cf_c("disabled",s),t.auto.button&&i&&t.auto.button[i](s),t.prev.button&&t.prev.button[o=i||0==e?"addClass":"removeClass"](s),t.next.button&&(o=i||e==t.items.visible?"addClass":"removeClass",t.next.button[o](s)))}function go_getObject(t,e){return is_function(e)?e=e.call(t):is_undefined(e)&&(e={}),e}function go_getItemsObject(t,e){return is_number(e=go_getObject(t,e))?e={visible:e}:"variable"==e?e={visible:e,width:e,height:e}:is_object(e)||(e={}),e}function go_getScrollObject(t,e){return is_number(e=go_getObject(t,e))?e=e<=50?{items:e}:{duration:e}:is_string(e)?e={easing:e}:is_object(e)||(e={}),e}function go_getNaviObject(t,e){return e=is_string(e=go_getObject(t,e))?-1==(t=cf_getKeyCode(e))?$(e):t:e}function go_getAutoObject(t,e){return is_jquery(e=go_getNaviObject(t,e))?e={button:e}:is_boolean(e)?e={play:e}:is_number(e)&&(e={timeoutDuration:e}),e.progress&&(is_string(e.progress)||is_jquery(e.progress))&&(e.progress={bar:e.progress}),e}function go_complementAutoObject(t,e){return is_function(e.button)&&(e.button=e.button.call(t)),is_string(e.button)&&(e.button=$(e.button)),is_boolean(e.play)||(e.play=!0),is_number(e.delay)||(e.delay=0),is_undefined(e.pauseOnEvent)&&(e.pauseOnEvent=!0),is_boolean(e.pauseOnResize)||(e.pauseOnResize=!0),is_number(e.timeoutDuration)||(e.timeoutDuration=e.duration<10?2500:5*e.duration),e.progress&&(is_function(e.progress.bar)&&(e.progress.bar=e.progress.bar.call(t)),is_string(e.progress.bar)&&(e.progress.bar=$(e.progress.bar)),e.progress.bar?(is_function(e.progress.updater)||(e.progress.updater=$.fn.carouFredSel.progressbarUpdater),is_number(e.progress.interval)||(e.progress.interval=50)):e.progress=!1),e}function go_getPrevNextObject(t,e){return is_jquery(e=go_getNaviObject(t,e))?e={button:e}:is_number(e)&&(e={key:e}),e}function go_complementPrevNextObject(t,e){return is_function(e.button)&&(e.button=e.button.call(t)),is_string(e.button)&&(e.button=$(e.button)),is_string(e.key)&&(e.key=cf_getKeyCode(e.key)),e}function go_getPaginationObject(t,e){return is_jquery(e=go_getNaviObject(t,e))?e={container:e}:is_boolean(e)&&(e={keys:e}),e}function go_complementPaginationObject(t,e){return is_function(e.container)&&(e.container=e.container.call(t)),is_string(e.container)&&(e.container=$(e.container)),is_number(e.items)||(e.items=!1),is_boolean(e.keys)||(e.keys=!1),is_function(e.anchorBuilder)||is_false(e.anchorBuilder)||(e.anchorBuilder=$.fn.carouFredSel.pageAnchorBuilder),is_number(e.deviation)||(e.deviation=0),e}function go_getSwipeObject(t,e){return is_true(e=is_undefined(e=is_function(e)?e.call(t):e)?{onTouch:!1}:e)?e={onTouch:e}:is_number(e)&&(e={items:e}),e}function go_complementSwipeObject(t,e){return is_boolean(e.onTouch)||(e.onTouch=!0),is_boolean(e.onMouse)||(e.onMouse=!1),is_object(e.options)||(e.options={}),is_boolean(e.options.triggerOnTouchEnd)||(e.options.triggerOnTouchEnd=!1),e}function go_getMousewheelObject(t,e){return is_true(e=is_function(e)?e.call(t):e)?e={}:is_number(e)?e={items:e}:is_undefined(e)&&(e=!1),e}function go_complementMousewheelObject(t,e){return e}function gn_getItemIndex(t,e,s,i,o){if(is_jquery(t=is_object(t=is_string(t)?$(t,o):t)?$(t,o):t)?(t=o.children().index(t),is_boolean(s)||(s=!1)):is_boolean(s)||(s=!0),is_number(t)||(t=0),is_number(e)||(e=0),s&&(t+=i.first),t+=e,0<i.total){for(;t>=i.total;)t-=i.total;for(;t<0;)t+=i.total}return t}function gn_getVisibleItemsPrev(t,e,s){for(var i=0,o=0,n=s;0<=n;n--){var r=t.eq(n);if((i+=r.is(":visible")?r[e.d.outerWidth](!0):0)>e.maxDimension)return o;0==n&&(n=t.length),o++}}function gn_getVisibleItemsPrevFilter(t,e,s){return gn_getItemsPrevFilter(t,e.items.filter,e.items.visibleConf.org,s)}function gn_getScrollItemsPrevFilter(t,e,s,i){return gn_getItemsPrevFilter(t,e.items.filter,i,s)}function gn_getItemsPrevFilter(t,e,s,i){for(var o=0,n=0,r=i,c=t.length;0<=r;r--){if(++n==c)return n;var a=t.eq(r);if(a.is(e)&&++o==s)return n;0==r&&(r=c)}}function gn_getVisibleOrg(t,e){return e.items.visibleConf.org||t.children().slice(0,e.items.visible).filter(e.items.filter).length}function gn_getVisibleItemsNext(t,e,s){for(var i=0,o=0,n=s,r=t.length-1;n<=r;n++){var c=t.eq(n);if((i+=c.is(":visible")?c[e.d.outerWidth](!0):0)>e.maxDimension)return o;if(++o==1+r)return o;n==r&&(n=-1)}}function gn_getVisibleItemsNextTestCircular(t,e,s,i){t=gn_getVisibleItemsNext(t,e,s);return e.circular||i<s+t&&(t=i-s),t}function gn_getVisibleItemsNextFilter(t,e,s){return gn_getItemsNextFilter(t,e.items.filter,e.items.visibleConf.org,s,e.circular)}function gn_getScrollItemsNextFilter(t,e,s,i){return gn_getItemsNextFilter(t,e.items.filter,i+1,s,e.circular)-1}function gn_getItemsNextFilter(t,e,s,i,f){for(var o=0,n=0,r=i,c=t.length-1;r<=c;r++){if(c<=++n)return n;var a=t.eq(r);if(a.is(e)&&++o==s)return n;r==c&&(r=-1)}}function gi_getCurrentItems(t,e){return t.slice(0,e.items.visible)}function gi_getOldItemsPrev(t,e,s){return t.slice(s,e.items.visibleConf.old+s)}function gi_getNewItemsPrev(t,e){return t.slice(0,e.items.visible)}function gi_getOldItemsNext(t,e){return t.slice(0,e.items.visibleConf.old)}function gi_getNewItemsNext(t,e,s){return t.slice(s,e.items.visible+s)}function sz_storeMargin(t,s,i){s.usePadding&&(is_string(i)||(i="_cfs_origCssMargin"),t.each(function(){var t=$(this),e=parseInt(t.css(s.d.marginRight),10);is_number(e)||(e=0),t.data(i,e)}))}function sz_resetMargin(t,e,s){var i;e.usePadding&&(i=!!is_boolean(s)&&s,is_number(s)||(s=0),sz_storeMargin(t,e,"_cfs_tempCssMargin"),t.each(function(){var t=$(this);t.css(e.d.marginRight,i?t.data("_cfs_tempCssMargin"):s+t.data("_cfs_origCssMargin"))}))}function sz_storeOrigCss(t){t.each(function(){var t=$(this);t.data("_cfs_origCss",t.attr("style")||"")})}function sz_restoreOrigCss(t){t.each(function(){var t=$(this);t.attr("style",t.data("_cfs_origCss")||"")})}function sz_setResponsiveSizes(s,t){s.items.visible;var i=s.items[s.d.width],o=s[s.d.height],n=is_percentage(o);t.each(function(){var t=$(this),e=i-ms_getPaddingBorderMargin(t,s,"Width");t[s.d.width](e),n&&t[s.d.height](ms_getPercentage(e,o))})}function sz_setSizes(t,e){var s,i=t.parent(),o=t.children(),n=gi_getCurrentItems(o,e),r=cf_mapWrapperSizes(ms_getSizes(n,e,!0),e,!1);return i.css(r),e.usePadding&&(s=(i=e.padding)[e.d[1]],e.align&&s<0&&(s=0),(n=n.last()).css(e.d.marginRight,n.data("_cfs_origCssMargin")+s),t.css(e.d.top,i[e.d[0]]),t.css(e.d.left,i[e.d[3]])),t.css(e.d.width,r[e.d.width]+2*ms_getTotalSize(o,e,"width")),t.css(e.d.height,ms_getLargestSize(o,e,"height")),r}function ms_getSizes(t,e,s){return[ms_getTotalSize(t,e,"width",s),ms_getLargestSize(t,e,"height",s)]}function ms_getLargestSize(t,e,s,i){return is_boolean(i)||(i=!1),is_number(e[e.d[s]])&&i?e[e.d[s]]:is_number(e.items[e.d[s]])?e.items[e.d[s]]:ms_getTrueLargestSize(t,e,s=-1<s.toLowerCase().indexOf("width")?"outerWidth":"outerHeight")}function ms_getTrueLargestSize(t,e,s){for(var i=0,o=0,n=t.length;o<n;o++){var r=t.eq(o),r=r.is(":visible")?r[e.d[s]](!0):0;i<r&&(i=r)}return i}function ms_getTotalSize(t,e,s,i){if(is_boolean(i)||(i=!1),is_number(e[e.d[s]])&&i)return e[e.d[s]];if(is_number(e.items[e.d[s]]))return e.items[e.d[s]]*t.length;for(var o=-1<s.toLowerCase().indexOf("width")?"outerWidth":"outerHeight",n=0,r=0,c=t.length;r<c;r++){var a=t.eq(r);n+=a.is(":visible")?a[e.d[o]](!0):0}return n}function ms_getParentSize(t,e,s){var i=t.is(":visible"),s=(i&&t.hide(),t.parent()[e.d[s]]());return i&&t.show(),s}function ms_getMaxDimension(t,e){return is_number(t[t.d.width])?t[t.d.width]:e}function ms_hasVariableSizes(t,e,s){for(var i=!1,o=!1,n=0,r=t.length;n<r;n++){var c=t.eq(n),c=c.is(":visible")?c[e.d[s]](!0):0;!1===i?i=c:i!=c&&(o=!0),0==i&&(o=!0)}return o}function ms_getPaddingBorderMargin(t,e,s){return t[e.d["outer"+s]](!0)-t[e.d[s.toLowerCase()]]()}function ms_getPercentage(t,e){if(is_percentage(e)){if(!is_number(e=parseInt(e.slice(0,-1),10)))return t;t*=e/100}return t}function cf_e(t,e,s,i,o){return is_boolean(s)||(s=!0),is_boolean(i)||(i=!0),is_boolean(o)||(o=!1),s&&(t=e.events.prefix+t),i&&(t=t+"."+e.events.namespace),i&&o&&(t+=e.serialNumber),t}function cf_c(t,e){return is_string(e.classnames[t])?e.classnames[t]:t}function cf_mapWrapperSizes(t,e,s){is_boolean(s)||(s=!0);var s=e.usePadding&&s?e.padding:[0,0,0,0],i={};return i[e.d.width]=t[0]+s[1]+s[3],i[e.d.height]=t[1]+s[0]+s[2],i}function cf_sortParams(t,e){for(var s=[],i=0,o=t.length;i<o;i++)for(var n=0,r=e.length;n<r;n++)if(-1<e[n].indexOf(typeof t[i])&&is_undefined(s[n])){s[n]=t[i];break}return s}function cf_getPadding(t){if(is_undefined(t))return[0,0,0,0];if(is_number(t))return[t,t,t,t];if(!is_array(t=is_string(t)?t.split("px").join("").split("em").join("").split(" "):t))return[0,0,0,0];for(var e=0;e<4;e++)t[e]=parseInt(t[e],10);switch(t.length){case 0:return[0,0,0,0];case 1:return[t[0],t[0],t[0],t[0]];case 2:return[t[0],t[1],t[0],t[1]];case 3:return[t[0],t[1],t[2],t[1]];default:return[t[0],t[1],t[2],t[3]]}}function cf_getAlignPadding(t,e){var s=is_number(e[e.d.width])?Math.ceil(e[e.d.width]-ms_getTotalSize(t,e,"width")):0;switch(e.align){case"left":return[0,s];case"right":return[s,0];default:return[Math.ceil(s/2),Math.floor(s/2)]}}function cf_getDimensions(t){for(var e=[["width","innerWidth","outerWidth","height","innerHeight","outerHeight","left","top","marginRight",0,1,2,3],["height","innerHeight","outerHeight","width","innerWidth","outerWidth","top","left","marginBottom",3,2,1,0]],s=e[0].length,i="right"==t.direction||"left"==t.direction?0:1,o={},n=0;n<s;n++)o[e[0][n]]=e[i][n];return o}function cf_getAdjust(t,e,s,i){var o=t;if(is_function(s))o=s.call(i,o);else if(is_string(s)){var n,r,i=s.split("+"),s=s.split("-");switch(s=s.length>i.length?(n=!0,r=s[0],s[1]):(n=!1,r=i[0],i[1]),r){case"even":o=t%2==1?t-1:t;break;case"odd":o=t%2==0?t-1:t;break;default:o=t}is_number(s=parseInt(s,10))&&(o+=s=n?-s:s)}return o=!is_number(o)||o<1?1:o}function cf_getItemsAdjust(t,e,s,i){return cf_getItemAdjustMinMax(cf_getAdjust(t,e,s,i),e.items.visibleConf)}function cf_getItemAdjustMinMax(t,e){return is_number(e.min)&&t<e.min&&(t=e.min),t=(t=is_number(e.max)&&t>e.max?e.max:t)<1?1:t}function cf_getSynchArr(t){is_array(t)||(t=[[t]]);for(var e=0,s=(t=!is_array(t[0])?[t]:t).length;e<s;e++)is_string(t[e][0])&&(t[e][0]=$(t[e][0])),is_boolean(t[e][1])||(t[e][1]=!0),is_boolean(t[e][2])||(t[e][2]=!0),is_number(t[e][3])||(t[e][3]=0);return t}function cf_getKeyCode(t){return"right"==t?39:"left"==t?37:"up"==t?38:"down"==t?40:-1}function cf_setCookie(t,e,s){t&&(s=e.triggerHandler(cf_e("currentPosition",s)),$.fn.carouFredSel.cookie.set(t,s))}function cf_getCookie(t){t=$.fn.carouFredSel.cookie.get(t);return""==t?0:t}function in_mapCss(t,e){for(var s={},i=0,o=e.length;i<o;i++)s[e[i]]=t.css(e[i]);return s}function in_complementItems(t,e,s,i){return is_object(t.visibleConf)||(t.visibleConf={}),is_object(t.sizesConf)||(t.sizesConf={}),0==t.start&&is_number(i)&&(t.start=i),is_object(t.visible)?(t.visibleConf.min=t.visible.min,t.visibleConf.max=t.visible.max,t.visible=!1):is_string(t.visible)?("variable"==t.visible?t.visibleConf.variable=!0:t.visibleConf.adjust=t.visible,t.visible=!1):is_function(t.visible)&&(t.visibleConf.adjust=t.visible,t.visible=!1),is_string(t.filter)||(t.filter=0<s.filter(":hidden").length?":visible":"*"),t[e.d.width]||(e.responsive?(debug(!0,"Set a "+e.d.width+" for the items!"),t[e.d.width]=ms_getTrueLargestSize(s,e,"outerWidth")):t[e.d.width]=ms_hasVariableSizes(s,e,"outerWidth")?"variable":s[e.d.outerWidth](!0)),t[e.d.height]||(t[e.d.height]=ms_hasVariableSizes(s,e,"outerHeight")?"variable":s[e.d.outerHeight](!0)),t.sizesConf.width=t.width,t.sizesConf.height=t.height,t}function in_complementVisibleItems(t,e){return"variable"==t.items[t.d.width]&&(t.items.visibleConf.variable=!0),t.items.visibleConf.variable||(is_number(t[t.d.width])?t.items.visible=Math.floor(t[t.d.width]/t.items[t.d.width]):(t.items.visible=Math.floor(e/t.items[t.d.width]),t[t.d.width]=t.items.visible*t.items[t.d.width],t.items.visibleConf.adjust||(t.align=!1)),("Infinity"==t.items.visible||t.items.visible<1)&&(debug(!0,'Not a valid number of visible items: Set to "variable".'),t.items.visibleConf.variable=!0)),t}function in_complementPrimarySize(t,e,s){return t="auto"==t?ms_getTrueLargestSize(s,e,"outerWidth"):t}function in_complementSecondarySize(t,e,s){return t=(t="auto"==t?ms_getTrueLargestSize(s,e,"outerHeight"):t)||e.items[e.d.height]}function in_getAlignPadding(t,e){e=cf_getAlignPadding(gi_getCurrentItems(e,t),t);return t.padding[t.d[1]]=e[1],t.padding[t.d[3]]=e[0],t}function in_getResponsiveValues(t,e,s){var i=cf_getItemAdjustMinMax(Math.ceil(t[t.d.width]/t.items[t.d.width]),t.items.visibleConf),e=(i>e.length&&(i=e.length),Math.floor(t[t.d.width]/i));return t.items.visible=i,t.items[t.d.width]=e,t[t.d.width]=i*e,t}function bt_pauseOnHoverConfig(t){var e,s;return is_string(t)?(s=-1<t.indexOf("immediate"),e=-1<t.indexOf("resume")):s=e=!1,[s,e]}function bt_mousesheelNumber(t){return is_number(t)&&t}function is_null(t){return null===t}function is_undefined(t){return is_null(t)||void 0===t||""===t||"undefined"===t}function is_array(t){return t instanceof Array}function is_jquery(t){return t instanceof jQuery}function is_object(t){return(t instanceof Object||"object"==typeof t)&&!is_null(t)&&!is_jquery(t)&&!is_array(t)&&!is_function(t)}function is_number(t){return(t instanceof Number||"number"==typeof t)&&!isNaN(t)}function is_string(t){return(t instanceof String||"string"==typeof t)&&!is_undefined(t)&&!is_true(t)&&!is_false(t)}function is_function(t){return t instanceof Function||"function"==typeof t}function is_boolean(t){return t instanceof Boolean||"boolean"==typeof t||is_true(t)||is_false(t)}function is_true(t){return!0===t||"true"===t}function is_false(t){return!1===t||"false"===t}function is_percentage(t){return is_string(t)&&"%"==t.slice(-1)}function getTime(){return(new Date).getTime()}function deprecated(t,e){debug(!0,t+" is DEPRECATED, support for it will be removed. Use "+e+" instead.")}function debug(t,e){if(!is_undefined(window.console)&&!is_undefined(window.console.log)){var s;if(is_object(t)?(s=" ("+t.selector+")",t=t.debug):s="",!t)return!1;e=is_string(e)?"carouFredSel"+s+": "+e:["carouFredSel"+s+":",e],window.console.log(e)}return!1}$.fn.carouFredSel||($.fn.caroufredsel=$.fn.carouFredSel=function(options,configs){if(0==this.length)return debug(!0,'No element found for "'+this.selector+'".'),this;if(1<this.length)return this.each(function(){$(this).carouFredSel(options,configs)});var $cfs=this,$tt0=this[0],starting_position=!1,FN=($cfs.data("_cfs_isCarousel")&&(starting_position=$cfs.triggerHandler("_cfs_triggerEvent","currentPosition"),$cfs.trigger("_cfs_triggerEvent",["destroy",!0])),{}),crsl=(FN._init=function(t,e,s){(t=go_getObject($tt0,t)).items=go_getItemsObject($tt0,t.items),t.scroll=go_getScrollObject($tt0,t.scroll),t.auto=go_getAutoObject($tt0,t.auto),t.prev=go_getPrevNextObject($tt0,t.prev),t.next=go_getPrevNextObject($tt0,t.next),t.pagination=go_getPaginationObject($tt0,t.pagination),t.swipe=go_getSwipeObject($tt0,t.swipe),t.mousewheel=go_getMousewheelObject($tt0,t.mousewheel),e&&(opts_orig=$.extend(!0,{},$.fn.carouFredSel.defaults,t)),(opts=$.extend(!0,{},$.fn.carouFredSel.defaults,t)).d=cf_getDimensions(opts),crsl.direction="up"==opts.direction||"left"==opts.direction?"next":"prev";var i=$cfs.children(),e=ms_getParentSize($wrp,opts,"width");if(is_true(opts.cookie)&&(opts.cookie="caroufredsel_cookie_"+conf.serialNumber),opts.maxDimension=ms_getMaxDimension(opts,e),opts.items=in_complementItems(opts.items,opts,i,s),opts[opts.d.width]=in_complementPrimarySize(opts[opts.d.width],opts,i),opts[opts.d.height]=in_complementSecondarySize(opts[opts.d.height],opts,i),opts.responsive&&(is_percentage(opts[opts.d.width])||(opts[opts.d.width]="100%")),is_percentage(opts[opts.d.width])&&(crsl.upDateOnWindowResize=!0,crsl.primarySizePercentage=opts[opts.d.width],opts[opts.d.width]=ms_getPercentage(e,crsl.primarySizePercentage),opts.items.visible||(opts.items.visibleConf.variable=!0)),opts.responsive?(opts.usePadding=!0,opts.padding=[5,5,5,5],opts.align=!1,opts.items.visibleConf.variable=!1):((opts=!opts.items.visible?in_complementVisibleItems(opts,e):opts)[opts.d.width]||(!opts.items.visibleConf.variable&&is_number(opts.items[opts.d.width])&&"*"==opts.items.filter?(opts[opts.d.width]=opts.items.visible*opts.items[opts.d.width],opts.align=!1):opts[opts.d.width]="variable"),is_undefined(opts.align)&&(opts.align=!!is_number(opts[opts.d.width])&&"center"),opts.items.visibleConf.variable&&(opts.items.visible=gn_getVisibleItemsNext(i,opts,0))),"*"==opts.items.filter||opts.items.visibleConf.variable||(opts.items.visibleConf.org=opts.items.visible,opts.items.visible=gn_getVisibleItemsNextFilter(i,opts,0)),opts.items.visible=cf_getItemsAdjust(opts.items.visible,opts,opts.items.visibleConf.adjust,$tt0),opts.items.visibleConf.old=opts.items.visible,opts.responsive)opts.items.visibleConf.min||(opts.items.visibleConf.min=opts.items.visible),opts.items.visibleConf.max||(opts.items.visibleConf.max=opts.items.visible),opts=in_getResponsiveValues(opts,i,e);else switch(opts.padding=cf_getPadding(opts.padding),"top"==opts.align?opts.align="left":"bottom"==opts.align&&(opts.align="right"),opts.align){case"center":case"left":case"right":"variable"!=opts[opts.d.width]&&((opts=in_getAlignPadding(opts,i)).usePadding=!0);break;default:opts.align=!1,opts.usePadding=0!=opts.padding[0]||0!=opts.padding[1]||0!=opts.padding[2]||0!=opts.padding[3]}is_number(opts.scroll.duration)||(opts.scroll.duration=500),is_undefined(opts.scroll.items)&&(opts.scroll.items=opts.responsive||opts.items.visibleConf.variable||"*"!=opts.items.filter?"visible":opts.items.visible),opts.auto=$.extend(!0,{},opts.scroll,opts.auto),opts.prev=$.extend(!0,{},opts.scroll,opts.prev),opts.next=$.extend(!0,{},opts.scroll,opts.next),opts.pagination=$.extend(!0,{},opts.scroll,opts.pagination),opts.auto=go_complementAutoObject($tt0,opts.auto),opts.prev=go_complementPrevNextObject($tt0,opts.prev),opts.next=go_complementPrevNextObject($tt0,opts.next),opts.pagination=go_complementPaginationObject($tt0,opts.pagination),opts.swipe=go_complementSwipeObject($tt0,opts.swipe),opts.mousewheel=go_complementMousewheelObject($tt0,opts.mousewheel),opts.synchronise&&(opts.synchronise=cf_getSynchArr(opts.synchronise)),opts.auto.onPauseStart&&(opts.auto.onTimeoutStart=opts.auto.onPauseStart,deprecated("auto.onPauseStart","auto.onTimeoutStart")),opts.auto.onPausePause&&(opts.auto.onTimeoutPause=opts.auto.onPausePause,deprecated("auto.onPausePause","auto.onTimeoutPause")),opts.auto.onPauseEnd&&(opts.auto.onTimeoutEnd=opts.auto.onPauseEnd,deprecated("auto.onPauseEnd","auto.onTimeoutEnd")),opts.auto.pauseDuration&&(opts.auto.timeoutDuration=opts.auto.pauseDuration,deprecated("auto.pauseDuration","auto.timeoutDuration"))},FN._build=function(){$cfs.data("_cfs_isCarousel",!0);var t=$cfs.children(),e=in_mapCss($cfs,["textAlign","float","position","top","right","bottom","left","zIndex","width","height","marginTop","marginRight","marginBottom","marginLeft"]),s="relative";switch(e.position){case"absolute":case"fixed":s=e.position}"parent"==conf.wrapper?sz_storeOrigCss($wrp):$wrp.css(e),$wrp.css({overflow:"hidden",position:s}),sz_storeOrigCss($cfs),$cfs.data("_cfs_origCssZindex",e.zIndex),$cfs.css({textAlign:"left","float":"none",position:"absolute",top:0,right:"auto",bottom:"auto",left:0,marginTop:0,marginRight:0,marginBottom:0,marginLeft:0}),sz_storeMargin(t,opts),sz_storeOrigCss(t),opts.responsive&&sz_setResponsiveSizes(opts,t)},FN._bind_events=function(){FN._unbind_events(),$cfs.bind(cf_e("stop",conf),function(t,e){return t.stopPropagation(),crsl.isStopped||opts.auto.button&&opts.auto.button.addClass(cf_c("stopped",conf)),crsl.isStopped=!0,opts.auto.play&&(opts.auto.play=!1,$cfs.trigger(cf_e("pause",conf),e)),!0}),$cfs.bind(cf_e("finish",conf),function(t){return t.stopPropagation(),crsl.isScrolling&&sc_stopScroll(scrl),!0}),$cfs.bind(cf_e("pause",conf),function(t,e,s){return t.stopPropagation(),tmrs=sc_clearTimers(tmrs),e&&crsl.isScrolling&&(scrl.isStopped=!0,t=getTime()-scrl.startTime,scrl.duration-=t,scrl.pre&&(scrl.pre.duration-=t),scrl.post&&(scrl.post.duration-=t),sc_stopScroll(scrl,!1)),crsl.isPaused||crsl.isScrolling||s&&(tmrs.timePassed+=getTime()-tmrs.startTime),crsl.isPaused||opts.auto.button&&opts.auto.button.addClass(cf_c("paused",conf)),crsl.isPaused=!0,opts.auto.onTimeoutPause&&(e=opts.auto.timeoutDuration-tmrs.timePassed,t=100-Math.ceil(100*e/opts.auto.timeoutDuration),opts.auto.onTimeoutPause.call($tt0,t,e)),!0}),$cfs.bind(cf_e("play",conf),function(t,e,s,i){t.stopPropagation(),tmrs=sc_clearTimers(tmrs);var o=cf_sortParams([e,s,i],["string","number","boolean"]);if(e=o[0],s=o[1],i=o[2],"prev"!=e&&"next"!=e&&(e=crsl.direction),is_number(s)||(s=0),(i=!is_boolean(i)?!1:i)&&(crsl.isStopped=!1,opts.auto.play=!0),!opts.auto.play)return t.stopImmediatePropagation(),debug(conf,"Carousel stopped: Not scrolling.");crsl.isPaused&&opts.auto.button&&(opts.auto.button.removeClass(cf_c("stopped",conf)),opts.auto.button.removeClass(cf_c("paused",conf))),crsl.isPaused=!1,tmrs.startTime=getTime();var n=opts.auto.timeoutDuration+s;return dur2=n-tmrs.timePassed,perc=100-Math.ceil(100*dur2/n),opts.auto.progress&&(tmrs.progress=setInterval(function(){var t=getTime()-tmrs.startTime+tmrs.timePassed,t=Math.ceil(100*t/n);opts.auto.progress.updater.call(opts.auto.progress.bar[0],t)},opts.auto.progress.interval)),tmrs.auto=setTimeout(function(){opts.auto.progress&&opts.auto.progress.updater.call(opts.auto.progress.bar[0],100),opts.auto.onTimeoutEnd&&opts.auto.onTimeoutEnd.call($tt0,perc,dur2),crsl.isScrolling?$cfs.trigger(cf_e("play",conf),e):$cfs.trigger(cf_e(e,conf),opts.auto)},dur2),opts.auto.onTimeoutStart&&opts.auto.onTimeoutStart.call($tt0,perc,dur2),!0}),$cfs.bind(cf_e("resume",conf),function(t){return t.stopPropagation(),scrl.isStopped?(scrl.isStopped=!1,crsl.isPaused=!1,crsl.isScrolling=!0,scrl.startTime=getTime(),sc_startScroll(scrl,conf)):$cfs.trigger(cf_e("play",conf)),!0}),$cfs.bind(cf_e("prev",conf)+" "+cf_e("next",conf),function(t,e,s,i,o){if(t.stopPropagation(),crsl.isStopped||$cfs.is(":hidden"))return t.stopImmediatePropagation(),debug(conf,"Carousel stopped or hidden: Not scrolling.");var l=is_number(opts.items.minimum)?opts.items.minimum:opts.items.visible+1;if(l>itms.total)return t.stopImmediatePropagation(),debug(conf,"Not enough items ("+itms.total+" total, "+l+" needed): Not scrolling.");e=(c=cf_sortParams([e,s,i,o],["object","number/string","function","boolean"]))[0],s=c[1],i=c[2],o=c[3];var n=t.type.slice(conf.events.prefix.length);if(is_object(e)||(e={}),is_function(i)&&(e.onAfter=i),is_boolean(o)&&(e.queue=o),(e=$.extend(!0,{},opts[n],e)).conditions&&!e.conditions.call($tt0,n))return t.stopImmediatePropagation(),debug(conf,'Callback "conditions" returned false.');if(!is_number(s)){if("*"!=opts.items.filter)s="visible";else for(var r=[s,e.items,opts[n].items],c=0,u=r.length;c<u;c++)if(is_number(r[c])||"page"==r[c]||"visible"==r[c]){s=r[c];break}switch(s){case"page":return t.stopImmediatePropagation(),$cfs.triggerHandler(cf_e(n+"Page",conf),[e,i]);case"visible":opts.items.visibleConf.variable||"*"!=opts.items.filter||(s=opts.items.visible)}}if(scrl.isStopped)return $cfs.trigger(cf_e("resume",conf)),$cfs.trigger(cf_e("queue",conf),[n,[e,s,i]]),t.stopImmediatePropagation(),debug(conf,"Carousel resumed scrolling.");if(0<e.duration&&crsl.isScrolling)return e.queue&&("last"==e.queue&&(queu=[]),"first"==e.queue&&0!=queu.length||$cfs.trigger(cf_e("queue",conf),[n,[e,s,i]])),t.stopImmediatePropagation(),debug(conf,"Carousel currently scrolling.");if(tmrs.timePassed=0,$cfs.trigger(cf_e("slide_"+n,conf),[e,s]),opts.synchronise)for(var a=opts.synchronise,p=[e,s],f=0,u=a.length;f<u;f++){var d=n;a[f][2]||(d="prev"==d?"next":"prev"),a[f][1]||(p[0]=a[f][0].triggerHandler("_cfs_triggerEvent",["configuration",d])),p[1]=s+a[f][3],a[f][0].trigger("_cfs_triggerEvent",["slide_"+d,p])}return!0}),$cfs.bind(cf_e("slide_prev",conf),function(l,t,e){l.stopPropagation();var s=$cfs.children();if(!opts.circular&&0==itms.first)return opts.infinite&&$cfs.trigger(cf_e("next",conf),itms.total-1),l.stopImmediatePropagation();if(sz_resetMargin(s,opts),is_number(e)||(e=cf_getAdjust(e=opts.items.visibleConf.variable?gn_getVisibleItemsPrev(s,opts,itms.total-1):"*"!=opts.items.filter?(d=is_number(t.items)?t.items:gn_getVisibleOrg($cfs,opts),gn_getScrollItemsPrevFilter(s,opts,itms.total-1,d)):opts.items.visible,opts,t.items,$tt0)),opts.circular||itms.total-e<itms.first&&(e=itms.total-itms.first),opts.items.visibleConf.old=opts.items.visible,opts.items.visibleConf.variable?(i=cf_getItemsAdjust(gn_getVisibleItemsNext(s,opts,itms.total-e),opts,opts.items.visibleConf.adjust,$tt0),opts.items.visible+e<=i&&e<itms.total&&(e++,i=cf_getItemsAdjust(gn_getVisibleItemsNext(s,opts,itms.total-e),opts,opts.items.visibleConf.adjust,$tt0)),opts.items.visible=i):"*"!=opts.items.filter&&(i=gn_getVisibleItemsNextFilter(s,opts,itms.total-e),opts.items.visible=cf_getItemsAdjust(i,opts,opts.items.visibleConf.adjust,$tt0)),sz_resetMargin(s,opts,!0),0==e)return l.stopImmediatePropagation(),debug(conf,"0 items to scroll: Not scrolling.");for(debug(conf,"Scrolling "+e+" items backward."),itms.first+=e;itms.first>=itms.total;)itms.first-=itms.total;opts.circular||(0==itms.first&&t.onEnd&&t.onEnd.call($tt0,"prev"),opts.infinite||nv_enableNavi(opts,itms.first,conf)),$cfs.children().slice(itms.total-e,itms.total).prependTo($cfs),itms.total<opts.items.visible+e&&$cfs.children().slice(0,opts.items.visible+e-itms.total).clone(!0).appendTo($cfs);var u,p=gi_getOldItemsPrev(s=$cfs.children(),opts,e),d=gi_getNewItemsPrev(s,opts),g=s.eq(e-1),m=p.last(),_=d.last(),i=(sz_resetMargin(s,opts),0),l=0,b=(opts.align&&(i=(b=cf_getAlignPadding(d,opts))[0],l=b[1]),i<0?opts.padding[opts.d[3]]:0),v=!1,h=$(),o=(opts.items.visible<e&&(h=s.slice(opts.items.visibleConf.old,e),"directscroll"==t.fx&&(u=opts.items[opts.d.width],g=_,sc_hideHiddenItems(v=h),opts.items[opts.d.width]="variable")),!1),w=ms_getTotalSize(s.slice(0,e),opts,"width"),P=cf_mapWrapperSizes(ms_getSizes(d,opts,!0),opts,!opts.usePadding),C=0,x={},S={},y={},I={},z={},j={},N={},k=sc_getDuration(t,opts,e,w);switch(t.fx){case"cover":case"cover-fade":C=ms_getTotalSize(s.slice(0,opts.items.visible),opts,"width")}v&&(opts.items[opts.d.width]=u),sz_resetMargin(s,opts,!0),0<=l&&sz_resetMargin(m,opts,opts.padding[opts.d[1]]),0<=i&&sz_resetMargin(g,opts,opts.padding[opts.d[3]]),opts.align&&(opts.padding[opts.d[1]]=l,opts.padding[opts.d[3]]=i),j[opts.d.left]=-(w-b),N[opts.d.left]=-(C-b),S[opts.d.left]=P[opts.d.width];var O=function(){},T=function(){},n=function(){},M=function(){},r=function(){},F=function(){},c=function(){},A=function(){};switch(t.fx){case"crossfade":case"cover":case"cover-fade":case"uncover":case"uncover-fade":o=$cfs.clone(!0).appendTo($wrp)}switch(t.fx){case"crossfade":case"uncover":case"uncover-fade":o.children().slice(0,e).remove(),o.children().slice(opts.items.visibleConf.old).remove();break;case"cover":case"cover-fade":o.children().slice(opts.items.visible).remove(),o.css(N)}if($cfs.css(j),scrl=sc_setScroll(k,t.easing,conf),x[opts.d.left]=opts.usePadding?opts.padding[opts.d[3]]:0,"variable"!=opts[opts.d.width]&&"variable"!=opts[opts.d.height]||(O=function(){$wrp.css(P)},T=function(){scrl.anims.push([$wrp,P])}),opts.usePadding){switch(_.not(g).length&&(y[opts.d.marginRight]=g.data("_cfs_origCssMargin"),i<0?g.css(y):(c=function(){g.css(y)},A=function(){scrl.anims.push([g,y])})),t.fx){case"cover":case"cover-fade":o.children().eq(e-1).css(y)}_.not(m).length&&(I[opts.d.marginRight]=m.data("_cfs_origCssMargin"),n=function(){m.css(I)},M=function(){scrl.anims.push([m,I])}),0<=l&&(z[opts.d.marginRight]=_.data("_cfs_origCssMargin")+opts.padding[opts.d[1]],r=function(){_.css(z)},F=function(){scrl.anims.push([_,z])})}var H=function(){$cfs.css(x)},q=opts.items.visible+e-itms.total,a=function(){var t;0<q&&($cfs.children().slice(itms.total).remove(),p=$($cfs.children().slice(itms.total-(opts.items.visible-q)).get().concat($cfs.children().slice(0,q).get()))),sc_showHiddenItems(v),opts.usePadding&&(t=$cfs.children().eq(opts.items.visible+e-1)).css(opts.d.marginRight,t.data("_cfs_origCssMargin"))},D=sc_mapCallbackArguments(p,h,d,e,"prev",k,P),f=function(){sc_afterScroll($cfs,o,t),crsl.isScrolling=!1,clbk.onAfter=sc_fireCallbacks($tt0,t,"onAfter",D,clbk),queu=sc_fireQueue($cfs,queu,conf),crsl.isPaused||$cfs.trigger(cf_e("play",conf))};switch(crsl.isScrolling=!0,tmrs=sc_clearTimers(tmrs),clbk.onBefore=sc_fireCallbacks($tt0,t,"onBefore",D,clbk),t.fx){case"none":$cfs.css(x),O(),n(),r(),c(),H(),a(),f();break;case"fade":scrl.anims.push([$cfs,{opacity:0},function(){O(),n(),r(),c(),H(),a(),(scrl=sc_setScroll(k,t.easing,conf)).anims.push([$cfs,{opacity:1},f]),sc_startScroll(scrl,conf)}]);break;case"crossfade":$cfs.css({opacity:0}),scrl.anims.push([o,{opacity:0}]),scrl.anims.push([$cfs,{opacity:1},f]),T(),n(),r(),c(),H(),a();break;case"cover":scrl.anims.push([o,x,function(){n(),r(),c(),H(),a(),f()}]),T();break;case"cover-fade":scrl.anims.push([$cfs,{opacity:0}]),scrl.anims.push([o,x,function(){n(),r(),c(),H(),a(),f()}]),T();break;case"uncover":scrl.anims.push([o,S,f]),T(),n(),r(),c(),H(),a();break;case"uncover-fade":$cfs.css({opacity:0}),scrl.anims.push([$cfs,{opacity:1}]),scrl.anims.push([o,S,f]),T(),n(),r(),c(),H(),a();break;default:scrl.anims.push([$cfs,x,function(){a(),f()}]),T(),M(),F(),A()}return sc_startScroll(scrl,conf),cf_setCookie(opts.cookie,$cfs,conf),$cfs.trigger(cf_e("updatePageStatus",conf),[!1,P]),!0}),$cfs.bind(cf_e("slide_next",conf),function(l,t,s){l.stopPropagation();var i=$cfs.children();if(!opts.circular&&itms.first==opts.items.visible)return opts.infinite&&$cfs.trigger(cf_e("prev",conf),itms.total-1),l.stopImmediatePropagation();sz_resetMargin(i,opts),is_number(s)||(s=cf_getAdjust(s="*"!=opts.items.filter?(p=is_number(t.items)?t.items:gn_getVisibleOrg($cfs,opts),gn_getScrollItemsNextFilter(i,opts,0,p)):opts.items.visible,opts,t.items,$tt0));var u=0==itms.first?itms.total:itms.first;if(opts.circular||(p=opts.items.visibleConf.variable?(e=gn_getVisibleItemsNext(i,opts,s),gn_getVisibleItemsPrev(i,opts,u-1)):(e=opts.items.visible,opts.items.visible),u<s+e&&(s=u-p)),opts.items.visibleConf.old=opts.items.visible,opts.items.visibleConf.variable){for(var e=cf_getItemsAdjust(gn_getVisibleItemsNextTestCircular(i,opts,s,u),opts,opts.items.visibleConf.adjust,$tt0);opts.items.visible-s>=e&&s<itms.total;)e=cf_getItemsAdjust(gn_getVisibleItemsNextTestCircular(i,opts,++s,u),opts,opts.items.visibleConf.adjust,$tt0);opts.items.visible=e}else"*"!=opts.items.filter&&(e=gn_getVisibleItemsNextFilter(i,opts,s),opts.items.visible=cf_getItemsAdjust(e,opts,opts.items.visibleConf.adjust,$tt0));if(sz_resetMargin(i,opts,!0),0==s)return l.stopImmediatePropagation(),debug(conf,"0 items to scroll: Not scrolling.");for(debug(conf,"Scrolling "+s+" items forward."),itms.first-=s;itms.first<0;)itms.first+=itms.total;opts.circular||(itms.first==opts.items.visible&&t.onEnd&&t.onEnd.call($tt0,"next"),opts.infinite||nv_enableNavi(opts,itms.first,conf)),itms.total<opts.items.visible+s&&$cfs.children().slice(0,opts.items.visible+s-itms.total).clone(!0).appendTo($cfs);var p=gi_getOldItemsNext(i=$cfs.children(),opts),d=gi_getNewItemsNext(i,opts,s),g=i.eq(s-1),m=p.last(),l=d.last(),_=(sz_resetMargin(i,opts),0),b=0,v=(opts.align&&(_=(h=cf_getAlignPadding(d,opts))[0],b=h[1]),!1),h=$(),o=(opts.items.visibleConf.old<s&&(h=i.slice(opts.items.visibleConf.old,s),"directscroll"==t.fx&&(N=opts.items[opts.d.width],g=m,sc_hideHiddenItems(v=h),opts.items[opts.d.width]="variable")),!1),w=ms_getTotalSize(i.slice(0,s),opts,"width"),P=cf_mapWrapperSizes(ms_getSizes(d,opts,!0),opts,!opts.usePadding),C=0,x={},S={},y={},I={},z={},j=sc_getDuration(t,opts,s,w);switch(t.fx){case"uncover":case"uncover-fade":C=ms_getTotalSize(i.slice(0,opts.items.visibleConf.old),opts,"width")}v&&(opts.items[opts.d.width]=N),opts.align&&opts.padding[opts.d[1]]<0&&(opts.padding[opts.d[1]]=0),sz_resetMargin(i,opts,!0),sz_resetMargin(m,opts,opts.padding[opts.d[1]]),opts.align&&(opts.padding[opts.d[1]]=b,opts.padding[opts.d[3]]=_),z[opts.d.left]=opts.usePadding?opts.padding[opts.d[3]]:0;var N,k=function(){},n=function(){},r=function(){},O=function(){},c=function(){},T=function(){};switch(t.fx){case"crossfade":case"cover":case"cover-fade":case"uncover":case"uncover-fade":(o=$cfs.clone(!0).appendTo($wrp)).children().slice(opts.items.visibleConf.old).remove()}switch(t.fx){case"crossfade":case"cover":case"cover-fade":$cfs.css("zIndex",1),o.css("zIndex",0)}scrl=sc_setScroll(j,t.easing,conf),x[opts.d.left]=-w,S[opts.d.left]=-C,_<0&&(x[opts.d.left]+=_),"variable"!=opts[opts.d.width]&&"variable"!=opts[opts.d.height]||(k=function(){$wrp.css(P)},n=function(){scrl.anims.push([$wrp,P])}),opts.usePadding&&(N=l.data("_cfs_origCssMargin"),0<=b&&(N+=opts.padding[opts.d[1]]),l.css(opts.d.marginRight,N),g.not(m).length&&(I[opts.d.marginRight]=m.data("_cfs_origCssMargin")),r=function(){m.css(I)},O=function(){scrl.anims.push([m,I])},w=g.data("_cfs_origCssMargin"),0<_&&(w+=opts.padding[opts.d[3]]),y[opts.d.marginRight]=w,c=function(){g.css(y)},T=function(){scrl.anims.push([g,y])});var M=function(){$cfs.css(z)},F=opts.items.visible+s-itms.total,a=function(){0<F&&$cfs.children().slice(itms.total).remove();var t,e=$cfs.children().slice(0,s).appendTo($cfs).last();0<F&&(d=gi_getCurrentItems(i,opts)),sc_showHiddenItems(v),opts.usePadding&&(itms.total<opts.items.visible+s&&(t=$cfs.children().eq(opts.items.visible-1)).css(opts.d.marginRight,t.data("_cfs_origCssMargin")+opts.padding[opts.d[1]]),e.css(opts.d.marginRight,e.data("_cfs_origCssMargin")))},A=sc_mapCallbackArguments(p,h,d,s,"next",j,P),f=function(){$cfs.css("zIndex",$cfs.data("_cfs_origCssZindex")),sc_afterScroll($cfs,o,t),crsl.isScrolling=!1,clbk.onAfter=sc_fireCallbacks($tt0,t,"onAfter",A,clbk),queu=sc_fireQueue($cfs,queu,conf),crsl.isPaused||$cfs.trigger(cf_e("play",conf))};switch(crsl.isScrolling=!0,tmrs=sc_clearTimers(tmrs),clbk.onBefore=sc_fireCallbacks($tt0,t,"onBefore",A,clbk),t.fx){case"none":$cfs.css(x),k(),r(),c(),M(),a(),f();break;case"fade":scrl.anims.push([$cfs,{opacity:0},function(){k(),r(),c(),M(),a(),(scrl=sc_setScroll(j,t.easing,conf)).anims.push([$cfs,{opacity:1},f]),sc_startScroll(scrl,conf)}]);break;case"crossfade":$cfs.css({opacity:0}),scrl.anims.push([o,{opacity:0}]),scrl.anims.push([$cfs,{opacity:1},f]),n(),r(),c(),M(),a();break;case"cover":$cfs.css(opts.d.left,$wrp[opts.d.width]()),scrl.anims.push([$cfs,z,f]),n(),r(),c(),a();break;case"cover-fade":$cfs.css(opts.d.left,$wrp[opts.d.width]()),scrl.anims.push([o,{opacity:0}]),scrl.anims.push([$cfs,z,f]),n(),r(),c(),a();break;case"uncover":scrl.anims.push([o,S,f]),n(),r(),c(),M(),a();break;case"uncover-fade":$cfs.css({opacity:0}),scrl.anims.push([$cfs,{opacity:1}]),scrl.anims.push([o,S,f]),n(),r(),c(),M(),a();break;default:scrl.anims.push([$cfs,x,function(){M(),a(),f()}]),n(),O(),T()}return sc_startScroll(scrl,conf),cf_setCookie(opts.cookie,$cfs,conf),$cfs.trigger(cf_e("updatePageStatus",conf),[!1,P]),!0}),$cfs.bind(cf_e("slideTo",conf),function(t,e,s,i,o,n,r){t.stopPropagation();t=cf_sortParams([e,s,i,o,n,r],["string/number/object","number","boolean","object","string","function"]);return o=t[3],n=t[4],r=t[5],0!=(e=gn_getItemIndex(t[0],t[1],t[2],itms,$cfs))&&(is_object(o)||(o=!1),"prev"==(n="prev"!=n&&"next"!=n?opts.circular?e<=itms.total/2?"next":"prev":0==itms.first||itms.first>e?"next":"prev":n)&&(e=itms.total-e),$cfs.trigger(cf_e(n,conf),[o,e,r]),!0)}),$cfs.bind(cf_e("prevPage",conf),function(t,e,s){t.stopPropagation();t=$cfs.triggerHandler(cf_e("currentPage",conf));return $cfs.triggerHandler(cf_e("slideToPage",conf),[t-1,e,"prev",s])}),$cfs.bind(cf_e("nextPage",conf),function(t,e,s){t.stopPropagation();t=$cfs.triggerHandler(cf_e("currentPage",conf));return $cfs.triggerHandler(cf_e("slideToPage",conf),[t+1,e,"next",s])}),$cfs.bind(cf_e("slideToPage",conf),function(t,e,s,i,o){t.stopPropagation(),is_number(e)||(e=$cfs.triggerHandler(cf_e("currentPage",conf)));var t=opts.pagination.items||opts.items.visible,n=Math.ceil(itms.total/t)-1;return n<(e=e<0?n:e)&&(e=0),$cfs.triggerHandler(cf_e("slideTo",conf),[e*t,0,!0,s,i,o])}),$cfs.bind(cf_e("jumpToStart",conf),function(t,e){if(t.stopPropagation(),e=e?gn_getItemIndex(e,0,!0,itms,$cfs):0,0!=(e+=itms.first)){if(0<itms.total)for(;e>itms.total;)e-=itms.total;$cfs.prepend($cfs.children().slice(e,itms.total))}return!0}),$cfs.bind(cf_e("synchronise",conf),function(t,e){if(t.stopPropagation(),e)e=cf_getSynchArr(e);else{if(!opts.synchronise)return debug(conf,"No carousel to synchronise.");e=opts.synchronise}for(var s=$cfs.triggerHandler(cf_e("currentPosition",conf)),i=!0,o=0,n=e.length;o<n;o++)e[o][0].triggerHandler(cf_e("slideTo",conf),[s,e[o][3],!0])||(i=!1);return i}),$cfs.bind(cf_e("queue",conf),function(t,e,s){return t.stopPropagation(),is_function(e)?e.call($tt0,queu):is_array(e)?queu=e:is_undefined(e)||queu.push([e,s]),queu}),$cfs.bind(cf_e("insertItem",conf),function(t,e,s,i,o){t.stopPropagation();t=cf_sortParams([e,s,i,o],["string/object","string/number/object","boolean","number"]);if(e=t[0],s=t[1],i=t[2],o=t[3],(is_object(e)&&!is_jquery(e)||is_string(e))&&(e=$(e)),!is_jquery(e)||0==e.length)return debug(conf,"Not a valid object.");is_undefined(s)&&(s="end"),sz_storeMargin(e,opts),sz_storeOrigCss(e);var t=s,n="before",o=("end"==s?i?(0==itms.first?(s=itms.total-1,n="after"):(s=itms.first,itms.first+=e.length),s<0&&(s=0)):(s=itms.total-1,n="after"):s=gn_getItemIndex(s,o,i,itms,$cfs),$cfs.children().eq(s));return o.length?o[n](e):(debug(conf,"Correct insert-position not found! Appending item to the end."),$cfs.append(e)),"end"==t||i||s<itms.first&&(itms.first+=e.length),itms.total=$cfs.children().length,itms.first>=itms.total&&(itms.first-=itms.total),$cfs.trigger(cf_e("updateSizes",conf)),$cfs.trigger(cf_e("linkAnchors",conf)),!0}),$cfs.bind(cf_e("removeItem",conf),function(t,e,i,o){t.stopPropagation();var n,t=cf_sortParams([e,i,o],["string/number/object","boolean","number"]);e=t[0],i=t[1],o=t[2];return e instanceof $&&1<e.length?(n=$(),e.each(function(t,e){var s=$cfs.trigger(cf_e("removeItem",conf),[$(this),i,o]);s&&(n=n.add(s))})):(is_undefined(e)||"end"==e?n=$cfs.children().last():(e=gn_getItemIndex(e,o,i,itms,$cfs),(n=$cfs.children().eq(e)).length&&e<itms.first&&(itms.first-=n.length)),n&&n.length&&(n.detach(),itms.total=$cfs.children().length,$cfs.trigger(cf_e("updateSizes",conf)))),n}),$cfs.bind(cf_e("onBefore",conf)+" "+cf_e("onAfter",conf),function(t,e){t.stopPropagation();t=t.type.slice(conf.events.prefix.length);return is_array(e)&&(clbk[t]=e),is_function(e)&&clbk[t].push(e),clbk[t]}),$cfs.bind(cf_e("currentPosition",conf),function(t,e){return t.stopPropagation(),t=0==itms.first?0:itms.total-itms.first,is_function(e)&&e.call($tt0,t),t}),$cfs.bind(cf_e("currentPage",conf),function(t,e){t.stopPropagation();var t=opts.pagination.items||opts.items.visible,s=Math.ceil(itms.total/t-1),t=0==itms.first||itms.first<itms.total%t?0:itms.first!=t||opts.circular?Math.round((itms.total-itms.first)/t):s;return s<(t=t<0?0:t)&&(t=s),is_function(e)&&e.call($tt0,t),t}),$cfs.bind(cf_e("currentVisible",conf),function(t,e){t.stopPropagation();t=gi_getCurrentItems($cfs.children(),opts);return is_function(e)&&e.call($tt0,t),t}),$cfs.bind(cf_e("slice",conf),function(t,e,s,i){if(t.stopPropagation(),0==itms.total)return!1;t=cf_sortParams([e,s,i],["number","number","function"]);if(e=is_number(t[0])?t[0]:0,s=is_number(t[1])?t[1]:itms.total,i=t[2],e+=itms.first,s+=itms.first,0<items.total){for(;e>itms.total;)e-=itms.total;for(;s>itms.total;)s-=itms.total;for(;e<0;)e+=itms.total;for(;s<0;)s+=itms.total}t=$cfs.children(),t=e<s?t.slice(e,s):$(t.slice(e,itms.total).get().concat(t.slice(0,s).get()));return is_function(i)&&i.call($tt0,t),t}),$cfs.bind(cf_e("isPaused",conf)+" "+cf_e("isStopped",conf)+" "+cf_e("isScrolling",conf),function(t,e){t.stopPropagation();t=t.type.slice(conf.events.prefix.length),t=crsl[t];return is_function(e)&&e.call($tt0,t),t}),$cfs.bind(cf_e("configuration",conf),function(e,a,b,c){e.stopPropagation();var reInit=!1,sz;if(is_function(a))a.call($tt0,opts);else if(is_object(a))opts_orig=$.extend(!0,{},opts_orig,a),!1!==b?reInit=!0:opts=$.extend(!0,{},opts,a);else if(!is_undefined(a))if(is_function(b)){var val=eval("opts."+a);is_undefined(val)&&(val=""),b.call($tt0,val)}else{if(is_undefined(b))return eval("opts."+a);"boolean"!=typeof c&&(c=!0),eval("opts_orig."+a+" = b"),!1!==c?reInit=!0:eval("opts."+a+" = b")}return reInit&&(sz_resetMargin($cfs.children(),opts),FN._init(opts_orig),FN._bind_buttons(),sz=sz_setSizes($cfs,opts),$cfs.trigger(cf_e("updatePageStatus",conf),[!0,sz])),opts}),$cfs.bind(cf_e("linkAnchors",conf),function(t,e,s){return t.stopPropagation(),is_undefined(e)?e=$("body"):is_string(e)&&(e=$(e)),is_jquery(e)&&0!=e.length?(is_string(s)||(s="a.caroufredsel"),e.find(s).each(function(){var e=this.hash||"";0<e.length&&-1!=$cfs.children().index($(e))&&$(this).unbind("click").click(function(t){t.preventDefault(),$cfs.trigger(cf_e("slideTo",conf),e)})}),!0):debug(conf,"Not a valid object.")}),$cfs.bind(cf_e("updatePageStatus",conf),function(t,e,s){var i,o,n;if(t.stopPropagation(),opts.pagination.container)return i=opts.pagination.items||opts.items.visible,o=Math.ceil(itms.total/i),e&&(opts.pagination.anchorBuilder&&(opts.pagination.container.children().remove(),opts.pagination.container.each(function(){for(var t=0;t<o;t++){var e=$cfs.children().eq(gn_getItemIndex(t*i,0,!0,itms,$cfs));$(this).append(opts.pagination.anchorBuilder.call(e[0],t+1))}})),opts.pagination.container.each(function(){$(this).children().unbind(opts.pagination.event).each(function(e){$(this).bind(opts.pagination.event,function(t){t.preventDefault(),$cfs.trigger(cf_e("slideTo",conf),[e*i,-opts.pagination.deviation,!0,opts.pagination])})})})),n=$cfs.triggerHandler(cf_e("currentPage",conf))+opts.pagination.deviation,(n=o<=n?0:n)<0&&(n=o-1),opts.pagination.container.each(function(){$(this).children().removeClass(cf_c("selected",conf)).eq(n).addClass(cf_c("selected",conf))}),!0}),$cfs.bind(cf_e("updateSizes",conf),function(t){var e=opts.items.visible,s=$cfs.children(),i=ms_getParentSize($wrp,opts,"width"),i=(itms.total=s.length,crsl.primarySizePercentage?(opts.maxDimension=i,opts[opts.d.width]=ms_getPercentage(i,crsl.primarySizePercentage)):opts.maxDimension=ms_getMaxDimension(opts,i),opts.responsive?(opts.items.width=opts.items.sizesConf.width,opts.items.height=opts.items.sizesConf.height,e=(opts=in_getResponsiveValues(opts,s,i)).items.visible,sz_setResponsiveSizes(opts,s)):opts.items.visibleConf.variable?e=gn_getVisibleItemsNext(s,opts,0):"*"!=opts.items.filter&&(e=gn_getVisibleItemsNextFilter(s,opts,0)),!opts.circular&&0!=itms.first&&e>itms.first&&(i=opts.items.visibleConf.variable?gn_getVisibleItemsPrev(s,opts,itms.first)-itms.first:"*"!=opts.items.filter?gn_getVisibleItemsPrevFilter(s,opts,itms.first)-itms.first:opts.items.visible-itms.first,debug(conf,"Preventing non-circular: sliding "+i+" items backward."),$cfs.trigger(cf_e("prev",conf),i)),opts.items.visible=cf_getItemsAdjust(e,opts,opts.items.visibleConf.adjust,$tt0),opts.items.visibleConf.old=opts.items.visible,opts=in_getAlignPadding(opts,s),sz_setSizes($cfs,opts));return $cfs.trigger(cf_e("updatePageStatus",conf),[!0,i]),nv_showNavi(opts,itms.total,conf),nv_enableNavi(opts,itms.first,conf),i}),$cfs.bind(cf_e("destroy",conf),function(t,e){return t.stopPropagation(),tmrs=sc_clearTimers(tmrs),$cfs.data("_cfs_isCarousel",!1),$cfs.trigger(cf_e("finish",conf)),e&&$cfs.trigger(cf_e("jumpToStart",conf)),sz_restoreOrigCss($cfs.children()),sz_restoreOrigCss($cfs),FN._unbind_events(),FN._unbind_buttons(),"parent"==conf.wrapper?sz_restoreOrigCss($wrp):$wrp.replaceWith($cfs),!0}),$cfs.bind(cf_e("debug",conf),function(t){return debug(conf,"Carousel width: "+opts.width),debug(conf,"Carousel height: "+opts.height),debug(conf,"Item widths: "+opts.items.width),debug(conf,"Item heights: "+opts.items.height),debug(conf,"Number of items visible: "+opts.items.visible),opts.auto.play&&debug(conf,"Number of items scrolled automatically: "+opts.auto.items),opts.prev.button&&debug(conf,"Number of items scrolled backward: "+opts.prev.items),opts.next.button&&debug(conf,"Number of items scrolled forward: "+opts.next.items),conf.debug}),$cfs.bind("_cfs_triggerEvent",function(t,e,s){return t.stopPropagation(),$cfs.triggerHandler(cf_e(e,conf),s)})},FN._unbind_events=function(){$cfs.unbind(cf_e("",conf)),$cfs.unbind(cf_e("",conf,!1)),$cfs.unbind("_cfs_triggerEvent")},FN._bind_buttons=function(){var t,s,i,o,n,r,c;if(FN._unbind_buttons(),nv_showNavi(opts,itms.total,conf),nv_enableNavi(opts,itms.first,conf),opts.auto.pauseOnHover&&(t=bt_pauseOnHoverConfig(opts.auto.pauseOnHover),$wrp.bind(cf_e("mouseenter",conf,!1),function(){$cfs.trigger(cf_e("pause",conf),t)}).bind(cf_e("mouseleave",conf,!1),function(){$cfs.trigger(cf_e("resume",conf))})),opts.auto.button&&opts.auto.button.bind(cf_e(opts.auto.event,conf,!1),function(t){t.preventDefault();var t=!1,e=null;crsl.isPaused?t="play":opts.auto.pauseOnEvent&&(t="pause",e=bt_pauseOnHoverConfig(opts.auto.pauseOnEvent)),t&&$cfs.trigger(cf_e(t,conf),e)}),opts.prev.button&&(opts.prev.button.bind(cf_e(opts.prev.event,conf,!1),function(t){t.preventDefault(),$cfs.trigger(cf_e("prev",conf))}),opts.prev.pauseOnHover&&(t=bt_pauseOnHoverConfig(opts.prev.pauseOnHover),opts.prev.button.bind(cf_e("mouseenter",conf,!1),function(){$cfs.trigger(cf_e("pause",conf),t)}).bind(cf_e("mouseleave",conf,!1),function(){$cfs.trigger(cf_e("resume",conf))}))),opts.next.button&&(opts.next.button.bind(cf_e(opts.next.event,conf,!1),function(t){t.preventDefault(),$cfs.trigger(cf_e("next",conf))}),opts.next.pauseOnHover&&(t=bt_pauseOnHoverConfig(opts.next.pauseOnHover),opts.next.button.bind(cf_e("mouseenter",conf,!1),function(){$cfs.trigger(cf_e("pause",conf),t)}).bind(cf_e("mouseleave",conf,!1),function(){$cfs.trigger(cf_e("resume",conf))}))),opts.pagination.container&&opts.pagination.pauseOnHover&&(t=bt_pauseOnHoverConfig(opts.pagination.pauseOnHover),opts.pagination.container.bind(cf_e("mouseenter",conf,!1),function(){$cfs.trigger(cf_e("pause",conf),t)}).bind(cf_e("mouseleave",conf,!1),function(){$cfs.trigger(cf_e("resume",conf))})),(opts.prev.key||opts.next.key)&&$(document).bind(cf_e("keyup",conf,!1,!0,!0),function(t){var e=t.keyCode;e==opts.next.key&&(t.preventDefault(),$cfs.trigger(cf_e("next",conf))),e==opts.prev.key&&(t.preventDefault(),$cfs.trigger(cf_e("prev",conf)))}),opts.pagination.keys&&$(document).bind(cf_e("keyup",conf,!1,!0,!0),function(t){var e=t.keyCode;49<=e&&e<58&&(e=(e-49)*opts.items.visible)<=itms.total&&(t.preventDefault(),$cfs.trigger(cf_e("slideTo",conf),[e,0,!0,opts.pagination]))}),$.fn.swipe){var e="ontouchstart"in window;if(e&&opts.swipe.onTouch||!e&&opts.swipe.onMouse){var l=$.extend(!0,{},opts.prev,opts.swipe),u=$.extend(!0,{},opts.next,opts.swipe),a=function(){$cfs.trigger(cf_e("prev",conf),[l])},f=function(){$cfs.trigger(cf_e("next",conf),[u])};switch(opts.direction){case"up":case"down":opts.swipe.options.swipeUp=f,opts.swipe.options.swipeDown=a;break;default:opts.swipe.options.swipeLeft=f,opts.swipe.options.swipeRight=a}crsl.swipe&&$cfs.swipe("destroy"),$wrp.swipe(opts.swipe.options),$wrp.css("cursor","move"),crsl.swipe=!0}}$.fn.mousewheel&&opts.mousewheel&&(s=$.extend(!0,{},opts.prev,opts.mousewheel),i=$.extend(!0,{},opts.next,opts.mousewheel),crsl.mousewheel&&$wrp.unbind(cf_e("mousewheel",conf,!1)),$wrp.bind(cf_e("mousewheel",conf,!1),function(t,e){t.preventDefault(),0<e?$cfs.trigger(cf_e("prev",conf),[s]):$cfs.trigger(cf_e("next",conf),[i])}),crsl.mousewheel=!0),opts.auto.play&&$cfs.trigger(cf_e("play",conf),opts.auto.delay),crsl.upDateOnWindowResize&&(o=function(t){$cfs.trigger(cf_e("finish",conf)),opts.auto.pauseOnResize&&!crsl.isPaused&&$cfs.trigger(cf_e("play",conf)),sz_resetMargin($cfs.children(),opts),$cfs.trigger(cf_e("updateSizes",conf))},n=$(window),e=null,e=$.debounce&&"debounce"==conf.onWindowResize?$.debounce(200,o):$.throttle&&"throttle"==conf.onWindowResize?$.throttle(300,o):(c=r=0,function(){var t=n.width(),e=n.height();t==r&&e==c||(o(),r=t,c=e)}),n.bind(cf_e("resize",conf,!1,!0,!0),e))},FN._unbind_buttons=function(){cf_e("",conf);var t=cf_e("",conf,!1);ns3=cf_e("",conf,!1,!0,!0),$(document).unbind(ns3),$(window).unbind(ns3),$wrp.unbind(t),opts.auto.button&&opts.auto.button.unbind(t),opts.prev.button&&opts.prev.button.unbind(t),opts.next.button&&opts.next.button.unbind(t),opts.pagination.container&&(opts.pagination.container.unbind(t),opts.pagination.anchorBuilder&&opts.pagination.container.children().remove()),crsl.swipe&&($cfs.swipe("destroy"),$wrp.css("cursor","default"),crsl.swipe=!1),crsl.mousewheel&&(crsl.mousewheel=!1),nv_showNavi(opts,"hide",conf),nv_enableNavi(opts,"removeClass",conf)},is_boolean(configs)&&(configs={debug:configs}),{direction:"next",isPaused:!0,isScrolling:!1,isStopped:!1,mousewheel:!1,swipe:!1}),itms={total:$cfs.children().length,first:0},tmrs={auto:null,progress:null,startTime:getTime(),timePassed:0},scrl={isStopped:!1,duration:0,startTime:0,easing:"",anims:[]},clbk={onBefore:[],onAfter:[]},queu=[],conf=$.extend(!0,{},$.fn.carouFredSel.configs,configs),opts={},opts_orig=$.extend(!0,{},options),$wrp=("parent"==conf.wrapper?$cfs:$cfs.wrap("<"+conf.wrapper.element+' class="'+conf.wrapper.classname+'" />')).parent(),start_arr,start_arr;if(conf.selector=$cfs.selector,conf.serialNumber=$.fn.carouFredSel.serialNumber++,conf.transition=conf.transition&&$.fn.transition?"transition":"animate",FN._init(opts_orig,!0,starting_position),FN._build(),FN._bind_events(),FN._bind_buttons(),is_array(opts.items.start)?start_arr=opts.items.start:(start_arr=[],0!=opts.items.start&&start_arr.push(opts.items.start)),opts.cookie&&start_arr.unshift(parseInt(cf_getCookie(opts.cookie),10)),0<start_arr.length)for(var a=0,l=start_arr.length;a<l;a++){var s=start_arr[a];if(0!=s){if(!0===s){if(s=window.location.hash,s.length<1)continue}else"random"===s&&(s=Math.floor(Math.random()*itms.total));if($cfs.triggerHandler(cf_e("slideTo",conf),[s,0,!0,{fx:"none"}]))break}}var siz=sz_setSizes($cfs,opts),itm=gi_getCurrentItems($cfs.children(),opts);return opts.onCreate&&opts.onCreate.call($tt0,{width:siz.width,height:siz.height,items:itm}),$cfs.trigger(cf_e("updatePageStatus",conf),[!0,siz]),$cfs.trigger(cf_e("linkAnchors",conf)),conf.debug&&$cfs.trigger(cf_e("debug",conf)),$cfs},$.fn.carouFredSel.serialNumber=1,$.fn.carouFredSel.defaults={synchronise:!1,infinite:!0,circular:!0,responsive:!0,direction:"left",items:{start:0},scroll:{easing:"swing",duration:500,pauseOnHover:!1,event:"click",queue:!1}},$.fn.carouFredSel.configs={padding:"5px",debug:!1,transition:!1,onWindowResize:"throttle",events:{prefix:"",namespace:"cfs"},wrapper:{element:"div",classname:"caroufredsel_wrapper"},classnames:{}},$.fn.carouFredSel.pageAnchorBuilder=function(t){return'<a href="#"><span>'+t+"</span></a>"},$.fn.carouFredSel.progressbarUpdater=function(t){$(this).css("width",t+"%")},$.fn.carouFredSel.cookie={get:function(t){t+="=";for(var e=document.cookie.split(";"),s=0,i=e.length;s<i;s++){for(var o=e[s];" "==o.charAt(0);)o=o.slice(1);if(0==o.indexOf(t))return o.slice(t.length)}return 0},set:function(t,e,s){var i,o="";s&&((i=new Date).setTime(i.getTime()+24*s*60*60*1e3),o="; expires="+i.toGMTString()),document.cookie=t+"="+e+o+"; path=/"},remove:function(t){$.fn.carouFredSel.cookie.set(t,"",-1)}},$.extend($.easing,{quadratic:function(t){var e=t*t;return t*(-e*t+4*e-6*t+4)},cubic:function(t){return t*(4*t*t-9*t+6)},elastic:function(t){var e=t*t;return t*(33*e*e-106*e*t+126*e-67*t+15)}}))}(jQuery);
1
+ !function($){function sc_setScroll(t,e,s){return{anims:[],duration:t,orgDuration:t,easing:e="transition"==s.transition&&"swing"==e?"ease":e,startTime:getTime()}}function sc_startScroll(t,e){for(var s=0,i=t.anims.length;s<i;s++){var o=t.anims[s];o&&o[0][e.transition](o[1],t.duration,t.easing,o[2])}}function sc_stopScroll(t,e){is_boolean(e)||(e=!0),is_object(t.pre)&&sc_stopScroll(t.pre,e);for(var s=0,i=t.anims.length;s<i;s++){var o=t.anims[s];o[0].stop(!0),e&&(o[0].css(o[1]),is_function(o[2])&&o[2]())}is_object(t.post)&&sc_stopScroll(t.post,e)}function sc_afterScroll(t,e,s){switch(e&&e.remove(),s.fx){case"fade":case"crossfade":case"cover-fade":case"uncover-fade":t.css("opacity",1),t.css("filter","")}}function sc_fireCallbacks(t,e,s,i,o){if(e[s]&&e[s].call(t,i),o[s].length)for(var n=0,r=o[s].length;n<r;n++)o[s][n].call(t,i);return[]}function sc_fireQueue(t,e,s){return e.length&&(t.trigger(cf_e(e[0][0],s),e[0][1]),e.shift()),e}function sc_hideHiddenItems(t){t.each(function(){var t=$(this);t.data("_cfs_isHidden",t.is(":hidden")).hide()})}function sc_showHiddenItems(t){t&&t.each(function(){var t=$(this);t.data("_cfs_isHidden")||t.show()})}function sc_clearTimers(t){return t.auto&&clearTimeout(t.auto),t.progress&&clearInterval(t.progress),t}function sc_mapCallbackArguments(t,e,s,i,o,n,r){return{width:r.width,height:r.height,items:{old:t,skipped:e,visible:s},scroll:{items:i,direction:o,duration:n}}}function sc_getDuration(t,e,s,i){var o=t.duration;return"none"==t.fx?0:("auto"==o?o=e.scroll.duration/e.scroll.items*s:o<10&&(o=i/o),o<1?0:("fade"==t.fx&&(o/=2),Math.round(o)))}function nv_showNavi(t,e,s){var i=is_number(t.items.minimum)?t.items.minimum:t.items.visible+1,i="show"==(e="show"==e||"hide"==e?e:e<i?(debug(s,"Not enough items ("+e+" total, "+i+" needed): Hiding navigation."),"hide"):"show")?"removeClass":"addClass",s=cf_c("hidden",s);t.auto.button&&t.auto.button[e]()[i](s),t.prev.button&&t.prev.button[e]()[i](s),t.next.button&&t.next.button[e]()[i](s),t.pagination.container&&t.pagination.container[e]()[i](s)}function nv_enableNavi(t,e,s){var i,o;t.circular||t.infinite||(i=("removeClass"==e||"addClass"==e)&&e,s=cf_c("disabled",s),t.auto.button&&i&&t.auto.button[i](s),t.prev.button&&t.prev.button[o=i||0==e?"addClass":"removeClass"](s),t.next.button&&(o=i||e==t.items.visible?"addClass":"removeClass",t.next.button[o](s)))}function go_getObject(t,e){return is_function(e)?e=e.call(t):is_undefined(e)&&(e={}),e}function go_getItemsObject(t,e){return is_number(e=go_getObject(t,e))?e={visible:e}:"variable"==e?e={visible:e,width:e,height:e}:is_object(e)||(e={}),e}function go_getScrollObject(t,e){return is_number(e=go_getObject(t,e))?e=e<=50?{items:e}:{duration:e}:is_string(e)?e={easing:e}:is_object(e)||(e={}),e}function go_getNaviObject(t,e){return e=is_string(e=go_getObject(t,e))?-1==(t=cf_getKeyCode(e))?$(e):t:e}function go_getAutoObject(t,e){return is_jquery(e=go_getNaviObject(t,e))?e={button:e}:is_boolean(e)?e={play:e}:is_number(e)&&(e={timeoutDuration:e}),e.progress&&(is_string(e.progress)||is_jquery(e.progress))&&(e.progress={bar:e.progress}),e}function go_complementAutoObject(t,e){return is_function(e.button)&&(e.button=e.button.call(t)),is_string(e.button)&&(e.button=$(e.button)),is_boolean(e.play)||(e.play=!0),is_number(e.delay)||(e.delay=0),is_undefined(e.pauseOnEvent)&&(e.pauseOnEvent=!0),is_boolean(e.pauseOnResize)||(e.pauseOnResize=!0),is_number(e.timeoutDuration)||(e.timeoutDuration=e.duration<10?2500:5*e.duration),e.progress&&(is_function(e.progress.bar)&&(e.progress.bar=e.progress.bar.call(t)),is_string(e.progress.bar)&&(e.progress.bar=$(e.progress.bar)),e.progress.bar?(is_function(e.progress.updater)||(e.progress.updater=$.fn.carouFredSel.progressbarUpdater),is_number(e.progress.interval)||(e.progress.interval=50)):e.progress=!1),e}function go_getPrevNextObject(t,e){return is_jquery(e=go_getNaviObject(t,e))?e={button:e}:is_number(e)&&(e={key:e}),e}function go_complementPrevNextObject(t,e){return is_function(e.button)&&(e.button=e.button.call(t)),is_string(e.button)&&(e.button=$(e.button)),is_string(e.key)&&(e.key=cf_getKeyCode(e.key)),e}function go_getPaginationObject(t,e){return is_jquery(e=go_getNaviObject(t,e))?e={container:e}:is_boolean(e)&&(e={keys:e}),e}function go_complementPaginationObject(t,e){return is_function(e.container)&&(e.container=e.container.call(t)),is_string(e.container)&&(e.container=$(e.container)),is_number(e.items)||(e.items=!1),is_boolean(e.keys)||(e.keys=!1),is_function(e.anchorBuilder)||is_false(e.anchorBuilder)||(e.anchorBuilder=$.fn.carouFredSel.pageAnchorBuilder),is_number(e.deviation)||(e.deviation=0),e}function go_getSwipeObject(t,e){return is_true(e=is_undefined(e=is_function(e)?e.call(t):e)?{onTouch:!1}:e)?e={onTouch:e}:is_number(e)&&(e={items:e}),e}function go_complementSwipeObject(t,e){return is_boolean(e.onTouch)||(e.onTouch=!0),is_boolean(e.onMouse)||(e.onMouse=!1),is_object(e.options)||(e.options={}),is_boolean(e.options.triggerOnTouchEnd)||(e.options.triggerOnTouchEnd=!1),e}function go_getMousewheelObject(t,e){return is_true(e=is_function(e)?e.call(t):e)?e={}:is_number(e)?e={items:e}:is_undefined(e)&&(e=!1),e}function go_complementMousewheelObject(t,e){return e}function gn_getItemIndex(t,e,s,i,o){if(is_jquery(t=is_object(t=is_string(t)?$(t,o):t)?$(t,o):t)?(t=o.children().index(t),is_boolean(s)||(s=!1)):is_boolean(s)||(s=!0),is_number(t)||(t=0),is_number(e)||(e=0),s&&(t+=i.first),t+=e,0<i.total){for(;t>=i.total;)t-=i.total;for(;t<0;)t+=i.total}return t}function gn_getVisibleItemsPrev(t,e,s){for(var i=0,o=0,n=s;0<=n;n--){var r=t.eq(n);if((i+=r.is(":visible")?r[e.d.outerWidth](!0):0)>e.maxDimension)return o;0==n&&(n=t.length),o++}}function gn_getVisibleItemsPrevFilter(t,e,s){return gn_getItemsPrevFilter(t,e.items.filter,e.items.visibleConf.org,s)}function gn_getScrollItemsPrevFilter(t,e,s,i){return gn_getItemsPrevFilter(t,e.items.filter,i,s)}function gn_getItemsPrevFilter(t,e,s,i){for(var o=0,n=0,r=i,c=t.length;0<=r;r--){if(++n==c)return n;var a=t.eq(r);if(a.is(e)&&++o==s)return n;0==r&&(r=c)}}function gn_getVisibleOrg(t,e){return e.items.visibleConf.org||t.children().slice(0,e.items.visible).filter(e.items.filter).length}function gn_getVisibleItemsNext(t,e,s){for(var i=0,o=0,n=s,r=t.length-1;n<=r;n++){var c=t.eq(n);if((i+=c.is(":visible")?c[e.d.outerWidth](!0):0)>e.maxDimension)return o;if(++o==1+r)return o;n==r&&(n=-1)}}function gn_getVisibleItemsNextTestCircular(t,e,s,i){t=gn_getVisibleItemsNext(t,e,s);return e.circular||i<s+t&&(t=i-s),t}function gn_getVisibleItemsNextFilter(t,e,s){return gn_getItemsNextFilter(t,e.items.filter,e.items.visibleConf.org,s,e.circular)}function gn_getScrollItemsNextFilter(t,e,s,i){return gn_getItemsNextFilter(t,e.items.filter,i+1,s,e.circular)-1}function gn_getItemsNextFilter(t,e,s,i,o){for(var n=0,r=0,c=i,a=t.length-1;c<=a;c++){if(a<=++r)return r;var f=t.eq(c);if(f.is(e)&&++n==s)return r;c==a&&(c=-1)}}function gi_getCurrentItems(t,e){return t.slice(0,e.items.visible)}function gi_getOldItemsPrev(t,e,s){return t.slice(s,e.items.visibleConf.old+s)}function gi_getNewItemsPrev(t,e){return t.slice(0,e.items.visible)}function gi_getOldItemsNext(t,e){return t.slice(0,e.items.visibleConf.old)}function gi_getNewItemsNext(t,e,s){return t.slice(s,e.items.visible+s)}function sz_storeMargin(t,s,i){s.usePadding&&(is_string(i)||(i="_cfs_origCssMargin"),t.each(function(){var t=$(this),e=parseInt(t.css(s.d.marginRight),10);is_number(e)||(e=0),t.data(i,e)}))}function sz_resetMargin(t,e,s){var i;e.usePadding&&(i=!!is_boolean(s)&&s,is_number(s)||(s=0),sz_storeMargin(t,e,"_cfs_tempCssMargin"),t.each(function(){var t=$(this);t.css(e.d.marginRight,i?t.data("_cfs_tempCssMargin"):s+t.data("_cfs_origCssMargin"))}))}function sz_storeOrigCss(t){t.each(function(){var t=$(this);t.data("_cfs_origCss",t.attr("style")||"")})}function sz_restoreOrigCss(t){t.each(function(){var t=$(this);t.attr("style",t.data("_cfs_origCss")||"")})}function sz_setResponsiveSizes(s,t){s.items.visible;var i=s.items[s.d.width],o=s[s.d.height],n=is_percentage(o);t.each(function(){var t=$(this),e=i-ms_getPaddingBorderMargin(t,s,"Width");t[s.d.width](e),n&&t[s.d.height](ms_getPercentage(e,o))})}function sz_setSizes(t,e){var s,i=t.parent(),o=t.children(),n=gi_getCurrentItems(o,e),r=cf_mapWrapperSizes(ms_getSizes(n,e,!0),e,!1);return i.css(r),e.usePadding&&(s=(i=e.padding)[e.d[1]],e.align&&s<0&&(s=0),(n=n.last()).css(e.d.marginRight,n.data("_cfs_origCssMargin")+s),t.css(e.d.top,i[e.d[0]]),t.css(e.d.left,i[e.d[3]])),t.css(e.d.width,r[e.d.width]+2*ms_getTotalSize(o,e,"width")),t.css(e.d.height,ms_getLargestSize(o,e,"height")),r}function ms_getSizes(t,e,s){return[ms_getTotalSize(t,e,"width",s),ms_getLargestSize(t,e,"height",s)]}function ms_getLargestSize(t,e,s,i){return is_boolean(i)||(i=!1),is_number(e[e.d[s]])&&i?e[e.d[s]]:is_number(e.items[e.d[s]])?e.items[e.d[s]]:ms_getTrueLargestSize(t,e,s=-1<s.toLowerCase().indexOf("width")?"outerWidth":"outerHeight")}function ms_getTrueLargestSize(t,e,s){for(var i=0,o=0,n=t.length;o<n;o++){var r=t.eq(o),r=r.is(":visible")?r[e.d[s]](!0):0;i<r&&(i=r)}return i}function ms_getTotalSize(t,e,s,i){if(is_boolean(i)||(i=!1),is_number(e[e.d[s]])&&i)return e[e.d[s]];if(is_number(e.items[e.d[s]]))return e.items[e.d[s]]*t.length;for(var o=-1<s.toLowerCase().indexOf("width")?"outerWidth":"outerHeight",n=0,r=0,c=t.length;r<c;r++){var a=t.eq(r);n+=a.is(":visible")?a[e.d[o]](!0):0}return n}function ms_getParentSize(t,e,s){var i=t.is(":visible"),s=(i&&t.hide(),t.parent()[e.d[s]]());return i&&t.show(),s}function ms_getMaxDimension(t,e){return is_number(t[t.d.width])?t[t.d.width]:e}function ms_hasVariableSizes(t,e,s){for(var i=!1,o=!1,n=0,r=t.length;n<r;n++){var c=t.eq(n),c=c.is(":visible")?c[e.d[s]](!0):0;!1===i?i=c:i!=c&&(o=!0),0==i&&(o=!0)}return o}function ms_getPaddingBorderMargin(t,e,s){return t[e.d["outer"+s]](!0)-t[e.d[s.toLowerCase()]]()}function ms_getPercentage(t,e){if(is_percentage(e)){if(!is_number(e=parseInt(e.slice(0,-1),10)))return t;t*=e/100}return t}function cf_e(t,e,s,i,o){return is_boolean(s)||(s=!0),is_boolean(i)||(i=!0),is_boolean(o)||(o=!1),s&&(t=e.events.prefix+t),i&&(t=t+"."+e.events.namespace),i&&o&&(t+=e.serialNumber),t}function cf_c(t,e){return is_string(e.classnames[t])?e.classnames[t]:t}function cf_mapWrapperSizes(t,e,s){is_boolean(s)||(s=!0);var s=e.usePadding&&s?e.padding:[0,0,0,0],i={};return i[e.d.width]=t[0]+s[1]+s[3],i[e.d.height]=t[1]+s[0]+s[2],i}function cf_sortParams(t,e){for(var s=[],i=0,o=t.length;i<o;i++)for(var n=0,r=e.length;n<r;n++)if(-1<e[n].indexOf(typeof t[i])&&is_undefined(s[n])){s[n]=t[i];break}return s}function cf_getPadding(t){if(is_undefined(t))return[0,0,0,0];if(is_number(t))return[t,t,t,t];if(!is_array(t=is_string(t)?t.split("px").join("").split("em").join("").split(" "):t))return[0,0,0,0];for(var e=0;e<4;e++)t[e]=parseInt(t[e],10);switch(t.length){case 0:return[0,0,0,0];case 1:return[t[0],t[0],t[0],t[0]];case 2:return[t[0],t[1],t[0],t[1]];case 3:return[t[0],t[1],t[2],t[1]];default:return[t[0],t[1],t[2],t[3]]}}function cf_getAlignPadding(t,e){var s=is_number(e[e.d.width])?Math.ceil(e[e.d.width]-ms_getTotalSize(t,e,"width")):0;switch(e.align){case"left":return[0,s];case"right":return[s,0];default:return[Math.ceil(s/2),Math.floor(s/2)]}}function cf_getDimensions(t){for(var e=[["width","innerWidth","outerWidth","height","innerHeight","outerHeight","left","top","marginRight",0,1,2,3],["height","innerHeight","outerHeight","width","innerWidth","outerWidth","top","left","marginBottom",3,2,1,0]],s=e[0].length,i="right"==t.direction||"left"==t.direction?0:1,o={},n=0;n<s;n++)o[e[0][n]]=e[i][n];return o}function cf_getAdjust(t,e,s,i){var o=t;if(is_function(s))o=s.call(i,o);else if(is_string(s)){var n,r,i=s.split("+"),s=s.split("-");switch(s=s.length>i.length?(n=!0,r=s[0],s[1]):(n=!1,r=i[0],i[1]),r){case"even":o=t%2==1?t-1:t;break;case"odd":o=t%2==0?t-1:t;break;default:o=t}is_number(s=parseInt(s,10))&&(o+=s=n?-s:s)}return o=!is_number(o)||o<1?1:o}function cf_getItemsAdjust(t,e,s,i){return cf_getItemAdjustMinMax(cf_getAdjust(t,e,s,i),e.items.visibleConf)}function cf_getItemAdjustMinMax(t,e){return is_number(e.min)&&t<e.min&&(t=e.min),t=(t=is_number(e.max)&&t>e.max?e.max:t)<1?1:t}function cf_getSynchArr(t){is_array(t)||(t=[[t]]);for(var e=0,s=(t=is_array(t[0])?t:[t]).length;e<s;e++)is_string(t[e][0])&&(t[e][0]=$(t[e][0])),is_boolean(t[e][1])||(t[e][1]=!0),is_boolean(t[e][2])||(t[e][2]=!0),is_number(t[e][3])||(t[e][3]=0);return t}function cf_getKeyCode(t){return"right"==t?39:"left"==t?37:"up"==t?38:"down"==t?40:-1}function cf_setCookie(t,e,s){t&&(s=e.triggerHandler(cf_e("currentPosition",s)),$.fn.carouFredSel.cookie.set(t,s))}function cf_getCookie(t){t=$.fn.carouFredSel.cookie.get(t);return""==t?0:t}function in_mapCss(t,e){for(var s={},i=0,o=e.length;i<o;i++)s[e[i]]=t.css(e[i]);return s}function in_complementItems(t,e,s,i){return is_object(t.visibleConf)||(t.visibleConf={}),is_object(t.sizesConf)||(t.sizesConf={}),0==t.start&&is_number(i)&&(t.start=i),is_object(t.visible)?(t.visibleConf.min=t.visible.min,t.visibleConf.max=t.visible.max,t.visible=!1):is_string(t.visible)?("variable"==t.visible?t.visibleConf.variable=!0:t.visibleConf.adjust=t.visible,t.visible=!1):is_function(t.visible)&&(t.visibleConf.adjust=t.visible,t.visible=!1),is_string(t.filter)||(t.filter=0<s.filter(":hidden").length?":visible":"*"),t[e.d.width]||(e.responsive?(debug(!0,"Set a "+e.d.width+" for the items!"),t[e.d.width]=ms_getTrueLargestSize(s,e,"outerWidth")):t[e.d.width]=ms_hasVariableSizes(s,e,"outerWidth")?"variable":s[e.d.outerWidth](!0)),t[e.d.height]||(t[e.d.height]=ms_hasVariableSizes(s,e,"outerHeight")?"variable":s[e.d.outerHeight](!0)),t.sizesConf.width=t.width,t.sizesConf.height=t.height,t}function in_complementVisibleItems(t,e){return"variable"==t.items[t.d.width]&&(t.items.visibleConf.variable=!0),t.items.visibleConf.variable||(is_number(t[t.d.width])?t.items.visible=Math.floor(t[t.d.width]/t.items[t.d.width]):(t.items.visible=Math.floor(e/t.items[t.d.width]),t[t.d.width]=t.items.visible*t.items[t.d.width],t.items.visibleConf.adjust||(t.align=!1)),("Infinity"==t.items.visible||t.items.visible<1)&&(debug(!0,'Not a valid number of visible items: Set to "variable".'),t.items.visibleConf.variable=!0)),t}function in_complementPrimarySize(t,e,s){return t="auto"==t?ms_getTrueLargestSize(s,e,"outerWidth"):t}function in_complementSecondarySize(t,e,s){return t=(t="auto"==t?ms_getTrueLargestSize(s,e,"outerHeight"):t)||e.items[e.d.height]}function in_getAlignPadding(t,e){e=cf_getAlignPadding(gi_getCurrentItems(e,t),t);return t.padding[t.d[1]]=e[1],t.padding[t.d[3]]=e[0],t}function in_getResponsiveValues(t,e,s){var i=cf_getItemAdjustMinMax(Math.ceil(t[t.d.width]/t.items[t.d.width]),t.items.visibleConf),e=(i>e.length&&(i=e.length),Math.floor(t[t.d.width]/i));return t.items.visible=i,t.items[t.d.width]=e,t[t.d.width]=i*e,t}function bt_pauseOnHoverConfig(t){var e,s;return is_string(t)?(s=-1<t.indexOf("immediate"),e=-1<t.indexOf("resume")):s=e=!1,[s,e]}function bt_mousesheelNumber(t){is_number(t)}function is_null(t){return null===t}function is_undefined(t){return is_null(t)||void 0===t||""===t||"undefined"===t}function is_array(t){return t instanceof Array}function is_jquery(t){return t instanceof jQuery}function is_object(t){return(t instanceof Object||"object"==typeof t)&&!is_null(t)&&!is_jquery(t)&&!is_array(t)&&!is_function(t)}function is_number(t){return(t instanceof Number||"number"==typeof t)&&!isNaN(t)}function is_string(t){return(t instanceof String||"string"==typeof t)&&!is_undefined(t)&&!is_true(t)&&!is_false(t)}function is_function(t){return t instanceof Function||"function"==typeof t}function is_boolean(t){return t instanceof Boolean||"boolean"==typeof t||is_true(t)||is_false(t)}function is_true(t){return!0===t||"true"===t}function is_false(t){return!1===t||"false"===t}function is_percentage(t){return is_string(t)&&"%"==t.slice(-1)}function getTime(){return(new Date).getTime()}function deprecated(t,e){debug(!0,t+" is DEPRECATED, support for it will be removed. Use "+e+" instead.")}function debug(t,e){if(!is_undefined(window.console)&&!is_undefined(window.console.log)){var s;if(is_object(t)?(s=" ("+t.selector+")",t=t.debug):s="",!t)return!1;e=is_string(e)?"carouFredSel"+s+": "+e:["carouFredSel"+s+":",e],window.console.log(e)}return!1}$.fn.carouFredSel||($.fn.caroufredsel=$.fn.carouFredSel=function(options,configs){if(0==this.length)return debug(!0,'No element found for "'+this.selector+'".'),this;if(1<this.length)return this.each(function(){$(this).carouFredSel(options,configs)});var $cfs=this,$tt0=this[0],starting_position=!1,FN=($cfs.data("_cfs_isCarousel")&&(starting_position=$cfs.triggerHandler("_cfs_triggerEvent","currentPosition"),$cfs.trigger("_cfs_triggerEvent",["destroy",!0])),{}),crsl=(FN._init=function(t,e,s){(t=go_getObject($tt0,t)).items=go_getItemsObject($tt0,t.items),t.scroll=go_getScrollObject($tt0,t.scroll),t.auto=go_getAutoObject($tt0,t.auto),t.prev=go_getPrevNextObject($tt0,t.prev),t.next=go_getPrevNextObject($tt0,t.next),t.pagination=go_getPaginationObject($tt0,t.pagination),t.swipe=go_getSwipeObject($tt0,t.swipe),t.mousewheel=go_getMousewheelObject($tt0,t.mousewheel),e&&(opts_orig=$.extend(!0,{},$.fn.carouFredSel.defaults,t)),(opts=$.extend(!0,{},$.fn.carouFredSel.defaults,t)).d=cf_getDimensions(opts),crsl.direction="up"==opts.direction||"left"==opts.direction?"next":"prev";var i=$cfs.children(),e=ms_getParentSize($wrp,opts,"width");if(is_true(opts.cookie)&&(opts.cookie="caroufredsel_cookie_"+conf.serialNumber),opts.maxDimension=ms_getMaxDimension(opts,e),opts.items=in_complementItems(opts.items,opts,i,s),opts[opts.d.width]=in_complementPrimarySize(opts[opts.d.width],opts,i),opts[opts.d.height]=in_complementSecondarySize(opts[opts.d.height],opts,i),!opts.responsive||is_percentage(opts[opts.d.width])||(opts[opts.d.width]="100%"),is_percentage(opts[opts.d.width])&&(crsl.upDateOnWindowResize=!0,crsl.primarySizePercentage=opts[opts.d.width],opts[opts.d.width]=ms_getPercentage(e,crsl.primarySizePercentage),opts.items.visible||(opts.items.visibleConf.variable=!0)),opts.responsive?(opts.usePadding=!0,opts.padding=[5,5,5,5],opts.align=!1,opts.items.visibleConf.variable=!1):((opts=opts.items.visible?opts:in_complementVisibleItems(opts,e))[opts.d.width]||(!opts.items.visibleConf.variable&&is_number(opts.items[opts.d.width])&&"*"==opts.items.filter?(opts[opts.d.width]=opts.items.visible*opts.items[opts.d.width],opts.align=!1):opts[opts.d.width]="variable"),is_undefined(opts.align)&&(opts.align=!!is_number(opts[opts.d.width])&&"center"),opts.items.visibleConf.variable&&(opts.items.visible=gn_getVisibleItemsNext(i,opts,0))),"*"==opts.items.filter||opts.items.visibleConf.variable||(opts.items.visibleConf.org=opts.items.visible,opts.items.visible=gn_getVisibleItemsNextFilter(i,opts,0)),opts.items.visible=cf_getItemsAdjust(opts.items.visible,opts,opts.items.visibleConf.adjust,$tt0),opts.items.visibleConf.old=opts.items.visible,opts.responsive)opts.items.visibleConf.min||(opts.items.visibleConf.min=opts.items.visible),opts.items.visibleConf.max||(opts.items.visibleConf.max=opts.items.visible),opts=in_getResponsiveValues(opts,i,e);else switch(opts.padding=cf_getPadding(opts.padding),"top"==opts.align?opts.align="left":"bottom"==opts.align&&(opts.align="right"),opts.align){case"center":case"left":case"right":"variable"!=opts[opts.d.width]&&((opts=in_getAlignPadding(opts,i)).usePadding=!0);break;default:opts.align=!1,opts.usePadding=0!=opts.padding[0]||0!=opts.padding[1]||0!=opts.padding[2]||0!=opts.padding[3]}is_number(opts.scroll.duration)||(opts.scroll.duration=500),is_undefined(opts.scroll.items)&&(opts.scroll.items=opts.responsive||opts.items.visibleConf.variable||"*"!=opts.items.filter?"visible":opts.items.visible),opts.auto=$.extend(!0,{},opts.scroll,opts.auto),opts.prev=$.extend(!0,{},opts.scroll,opts.prev),opts.next=$.extend(!0,{},opts.scroll,opts.next),opts.pagination=$.extend(!0,{},opts.scroll,opts.pagination),opts.auto=go_complementAutoObject($tt0,opts.auto),opts.prev=go_complementPrevNextObject($tt0,opts.prev),opts.next=go_complementPrevNextObject($tt0,opts.next),opts.pagination=go_complementPaginationObject($tt0,opts.pagination),opts.swipe=go_complementSwipeObject($tt0,opts.swipe),opts.mousewheel=go_complementMousewheelObject($tt0,opts.mousewheel),opts.synchronise&&(opts.synchronise=cf_getSynchArr(opts.synchronise)),opts.auto.onPauseStart&&(opts.auto.onTimeoutStart=opts.auto.onPauseStart,deprecated("auto.onPauseStart","auto.onTimeoutStart")),opts.auto.onPausePause&&(opts.auto.onTimeoutPause=opts.auto.onPausePause,deprecated("auto.onPausePause","auto.onTimeoutPause")),opts.auto.onPauseEnd&&(opts.auto.onTimeoutEnd=opts.auto.onPauseEnd,deprecated("auto.onPauseEnd","auto.onTimeoutEnd")),opts.auto.pauseDuration&&(opts.auto.timeoutDuration=opts.auto.pauseDuration,deprecated("auto.pauseDuration","auto.timeoutDuration"))},FN._build=function(){$cfs.data("_cfs_isCarousel",!0);var t=$cfs.children(),e=in_mapCss($cfs,["textAlign","float","position","top","right","bottom","left","zIndex","width","height","marginTop","marginRight","marginBottom","marginLeft"]),s="relative";switch(e.position){case"absolute":case"fixed":s=e.position}"parent"==conf.wrapper?sz_storeOrigCss($wrp):$wrp.css(e),$wrp.css({overflow:"hidden",position:s}),sz_storeOrigCss($cfs),$cfs.data("_cfs_origCssZindex",e.zIndex),$cfs.css({textAlign:"left","float":"none",position:"absolute",top:0,right:"auto",bottom:"auto",left:0,marginTop:0,marginRight:0,marginBottom:0,marginLeft:0}),sz_storeMargin(t,opts),sz_storeOrigCss(t),opts.responsive&&sz_setResponsiveSizes(opts,t)},FN._bind_events=function(){FN._unbind_events(),$cfs.bind(cf_e("stop",conf),function(t,e){return t.stopPropagation(),crsl.isStopped||opts.auto.button&&opts.auto.button.addClass(cf_c("stopped",conf)),crsl.isStopped=!0,opts.auto.play&&(opts.auto.play=!1,$cfs.trigger(cf_e("pause",conf),e)),!0}),$cfs.bind(cf_e("finish",conf),function(t){return t.stopPropagation(),crsl.isScrolling&&sc_stopScroll(scrl),!0}),$cfs.bind(cf_e("pause",conf),function(t,e,s){return t.stopPropagation(),tmrs=sc_clearTimers(tmrs),e&&crsl.isScrolling&&(scrl.isStopped=!0,t=getTime()-scrl.startTime,scrl.duration-=t,scrl.pre&&(scrl.pre.duration-=t),scrl.post&&(scrl.post.duration-=t),sc_stopScroll(scrl,!1)),crsl.isPaused||crsl.isScrolling||s&&(tmrs.timePassed+=getTime()-tmrs.startTime),crsl.isPaused||opts.auto.button&&opts.auto.button.addClass(cf_c("paused",conf)),crsl.isPaused=!0,opts.auto.onTimeoutPause&&(e=opts.auto.timeoutDuration-tmrs.timePassed,t=100-Math.ceil(100*e/opts.auto.timeoutDuration),opts.auto.onTimeoutPause.call($tt0,t,e)),!0}),$cfs.bind(cf_e("play",conf),function(t,e,s,i){t.stopPropagation(),tmrs=sc_clearTimers(tmrs);var o=cf_sortParams([e,s,i],["string","number","boolean"]);if(e=o[0],s=o[1],i=o[2],"prev"!=e&&"next"!=e&&(e=crsl.direction),is_number(s)||(s=0),(i=is_boolean(i)?i:!1)&&(crsl.isStopped=!1,opts.auto.play=!0),!opts.auto.play)return t.stopImmediatePropagation(),debug(conf,"Carousel stopped: Not scrolling.");crsl.isPaused&&opts.auto.button&&(opts.auto.button.removeClass(cf_c("stopped",conf)),opts.auto.button.removeClass(cf_c("paused",conf))),crsl.isPaused=!1,tmrs.startTime=getTime();var n=opts.auto.timeoutDuration+s;return dur2=n-tmrs.timePassed,perc=100-Math.ceil(100*dur2/n),opts.auto.progress&&(tmrs.progress=setInterval(function(){var t=getTime()-tmrs.startTime+tmrs.timePassed,t=Math.ceil(100*t/n);opts.auto.progress.updater.call(opts.auto.progress.bar[0],t)},opts.auto.progress.interval)),tmrs.auto=setTimeout(function(){opts.auto.progress&&opts.auto.progress.updater.call(opts.auto.progress.bar[0],100),opts.auto.onTimeoutEnd&&opts.auto.onTimeoutEnd.call($tt0,perc,dur2),crsl.isScrolling?$cfs.trigger(cf_e("play",conf),e):$cfs.trigger(cf_e(e,conf),opts.auto)},dur2),opts.auto.onTimeoutStart&&opts.auto.onTimeoutStart.call($tt0,perc,dur2),!0}),$cfs.bind(cf_e("resume",conf),function(t){return t.stopPropagation(),scrl.isStopped?(scrl.isStopped=!1,crsl.isPaused=!1,crsl.isScrolling=!0,scrl.startTime=getTime(),sc_startScroll(scrl,conf)):$cfs.trigger(cf_e("play",conf)),!0}),$cfs.bind(cf_e("prev",conf)+" "+cf_e("next",conf),function(t,e,s,i,o){if(t.stopPropagation(),crsl.isStopped||$cfs.is(":hidden"))return t.stopImmediatePropagation(),debug(conf,"Carousel stopped or hidden: Not scrolling.");var n=is_number(opts.items.minimum)?opts.items.minimum:opts.items.visible+1;if(n>itms.total)return t.stopImmediatePropagation(),debug(conf,"Not enough items ("+itms.total+" total, "+n+" needed): Not scrolling.");e=(a=cf_sortParams([e,s,i,o],["object","number/string","function","boolean"]))[0],s=a[1],i=a[2],o=a[3];var r=t.type.slice(conf.events.prefix.length);if(is_object(e)||(e={}),is_function(i)&&(e.onAfter=i),is_boolean(o)&&(e.queue=o),(e=$.extend(!0,{},opts[r],e)).conditions&&!e.conditions.call($tt0,r))return t.stopImmediatePropagation(),debug(conf,'Callback "conditions" returned false.');if(!is_number(s)){if("*"!=opts.items.filter)s="visible";else for(var c=[s,e.items,opts[r].items],a=0,f=c.length;a<f;a++)if(is_number(c[a])||"page"==c[a]||"visible"==c[a]){s=c[a];break}switch(s){case"page":return t.stopImmediatePropagation(),$cfs.triggerHandler(cf_e(r+"Page",conf),[e,i]);case"visible":opts.items.visibleConf.variable||"*"!=opts.items.filter||(s=opts.items.visible)}}if(scrl.isStopped)return $cfs.trigger(cf_e("resume",conf)),$cfs.trigger(cf_e("queue",conf),[r,[e,s,i]]),t.stopImmediatePropagation(),debug(conf,"Carousel resumed scrolling.");if(0<e.duration&&crsl.isScrolling)return e.queue&&("last"==e.queue&&(queu=[]),"first"==e.queue&&0!=queu.length||$cfs.trigger(cf_e("queue",conf),[r,[e,s,i]])),t.stopImmediatePropagation(),debug(conf,"Carousel currently scrolling.");if(tmrs.timePassed=0,$cfs.trigger(cf_e("slide_"+r,conf),[e,s]),opts.synchronise)for(var l=opts.synchronise,u=[e,s],p=0,f=l.length;p<f;p++){var d=r;l[p][2]||(d="prev"==d?"next":"prev"),l[p][1]||(u[0]=l[p][0].triggerHandler("_cfs_triggerEvent",["configuration",d])),u[1]=s+l[p][3],l[p][0].trigger("_cfs_triggerEvent",["slide_"+d,u])}return!0}),$cfs.bind(cf_e("slide_prev",conf),function(t,e,s){t.stopPropagation();var i=$cfs.children();if(!opts.circular&&0==itms.first)return opts.infinite&&$cfs.trigger(cf_e("next",conf),itms.total-1),t.stopImmediatePropagation();if(sz_resetMargin(i,opts),is_number(s)||(s=cf_getAdjust(s=opts.items.visibleConf.variable?gn_getVisibleItemsPrev(i,opts,itms.total-1):"*"!=opts.items.filter?(r=is_number(e.items)?e.items:gn_getVisibleOrg($cfs,opts),gn_getScrollItemsPrevFilter(i,opts,itms.total-1,r)):opts.items.visible,opts,e.items,$tt0)),opts.circular||itms.total-s<itms.first&&(s=itms.total-itms.first),opts.items.visibleConf.old=opts.items.visible,opts.items.visibleConf.variable?(l=cf_getItemsAdjust(gn_getVisibleItemsNext(i,opts,itms.total-s),opts,opts.items.visibleConf.adjust,$tt0),opts.items.visible+s<=l&&s<itms.total&&(s++,l=cf_getItemsAdjust(gn_getVisibleItemsNext(i,opts,itms.total-s),opts,opts.items.visibleConf.adjust,$tt0)),opts.items.visible=l):"*"!=opts.items.filter&&(l=gn_getVisibleItemsNextFilter(i,opts,itms.total-s),opts.items.visible=cf_getItemsAdjust(l,opts,opts.items.visibleConf.adjust,$tt0)),sz_resetMargin(i,opts,!0),0==s)return t.stopImmediatePropagation(),debug(conf,"0 items to scroll: Not scrolling.");for(debug(conf,"Scrolling "+s+" items backward."),itms.first+=s;itms.first>=itms.total;)itms.first-=itms.total;opts.circular||(0==itms.first&&e.onEnd&&e.onEnd.call($tt0,"prev"),opts.infinite||nv_enableNavi(opts,itms.first,conf)),$cfs.children().slice(itms.total-s,itms.total).prependTo($cfs),itms.total<opts.items.visible+s&&$cfs.children().slice(0,opts.items.visible+s-itms.total).clone(!0).appendTo($cfs);var o,n=gi_getOldItemsPrev(i=$cfs.children(),opts,s),r=gi_getNewItemsPrev(i,opts),c=i.eq(s-1),a=n.last(),f=r.last(),l=(sz_resetMargin(i,opts),0),t=0,u=(opts.align&&(l=(u=cf_getAlignPadding(r,opts))[0],t=u[1]),l<0?opts.padding[opts.d[3]]:0),p=!1,d=$(),g=(opts.items.visible<s&&(d=i.slice(opts.items.visibleConf.old,s),"directscroll"==e.fx&&(o=opts.items[opts.d.width],c=f,sc_hideHiddenItems(p=d),opts.items[opts.d.width]="variable")),!1),m=ms_getTotalSize(i.slice(0,s),opts,"width"),_=cf_mapWrapperSizes(ms_getSizes(r,opts,!0),opts,!opts.usePadding),b=0,v={},h={},w={},P={},C={},x={},S={},y=sc_getDuration(e,opts,s,m);switch(e.fx){case"cover":case"cover-fade":b=ms_getTotalSize(i.slice(0,opts.items.visible),opts,"width")}p&&(opts.items[opts.d.width]=o),sz_resetMargin(i,opts,!0),0<=t&&sz_resetMargin(a,opts,opts.padding[opts.d[1]]),0<=l&&sz_resetMargin(c,opts,opts.padding[opts.d[3]]),opts.align&&(opts.padding[opts.d[1]]=t,opts.padding[opts.d[3]]=l),x[opts.d.left]=-(m-u),S[opts.d.left]=-(b-u),h[opts.d.left]=_[opts.d.width];var I=function(){},z=function(){},j=function(){},N=function(){},k=function(){},H=function(){},O=function(){},q=function(){};switch(e.fx){case"crossfade":case"cover":case"cover-fade":case"uncover":case"uncover-fade":g=$cfs.clone(!0).appendTo($wrp)}switch(e.fx){case"crossfade":case"uncover":case"uncover-fade":g.children().slice(0,s).remove(),g.children().slice(opts.items.visibleConf.old).remove();break;case"cover":case"cover-fade":g.children().slice(opts.items.visible).remove(),g.css(S)}if($cfs.css(x),scrl=sc_setScroll(y,e.easing,conf),v[opts.d.left]=opts.usePadding?opts.padding[opts.d[3]]:0,"variable"!=opts[opts.d.width]&&"variable"!=opts[opts.d.height]||(I=function(){$wrp.css(_)},z=function(){scrl.anims.push([$wrp,_])}),opts.usePadding){switch(f.not(c).length&&(w[opts.d.marginRight]=c.data("_cfs_origCssMargin"),l<0?c.css(w):(O=function(){c.css(w)},q=function(){scrl.anims.push([c,w])})),e.fx){case"cover":case"cover-fade":g.children().eq(s-1).css(w)}f.not(a).length&&(P[opts.d.marginRight]=a.data("_cfs_origCssMargin"),j=function(){a.css(P)},N=function(){scrl.anims.push([a,P])}),0<=t&&(C[opts.d.marginRight]=f.data("_cfs_origCssMargin")+opts.padding[opts.d[1]],k=function(){f.css(C)},H=function(){scrl.anims.push([f,C])})}var T=function(){$cfs.css(v)},M=opts.items.visible+s-itms.total,F=function(){var t;0<M&&($cfs.children().slice(itms.total).remove(),n=$($cfs.children().slice(itms.total-(opts.items.visible-M)).get().concat($cfs.children().slice(0,M).get()))),sc_showHiddenItems(p),opts.usePadding&&(t=$cfs.children().eq(opts.items.visible+s-1)).css(opts.d.marginRight,t.data("_cfs_origCssMargin"))},D=sc_mapCallbackArguments(n,d,r,s,"prev",y,_),A=function(){sc_afterScroll($cfs,g,e),crsl.isScrolling=!1,clbk.onAfter=sc_fireCallbacks($tt0,e,"onAfter",D,clbk),queu=sc_fireQueue($cfs,queu,conf),crsl.isPaused||$cfs.trigger(cf_e("play",conf))};switch(crsl.isScrolling=!0,tmrs=sc_clearTimers(tmrs),clbk.onBefore=sc_fireCallbacks($tt0,e,"onBefore",D,clbk),e.fx){case"none":$cfs.css(v),I(),j(),k(),O(),T(),F(),A();break;case"fade":scrl.anims.push([$cfs,{opacity:0},function(){I(),j(),k(),O(),T(),F(),(scrl=sc_setScroll(y,e.easing,conf)).anims.push([$cfs,{opacity:1},A]),sc_startScroll(scrl,conf)}]);break;case"crossfade":$cfs.css({opacity:0}),scrl.anims.push([g,{opacity:0}]),scrl.anims.push([$cfs,{opacity:1},A]),z(),j(),k(),O(),T(),F();break;case"cover":scrl.anims.push([g,v,function(){j(),k(),O(),T(),F(),A()}]),z();break;case"cover-fade":scrl.anims.push([$cfs,{opacity:0}]),scrl.anims.push([g,v,function(){j(),k(),O(),T(),F(),A()}]),z();break;case"uncover":scrl.anims.push([g,h,A]),z(),j(),k(),O(),T(),F();break;case"uncover-fade":$cfs.css({opacity:0}),scrl.anims.push([$cfs,{opacity:1}]),scrl.anims.push([g,h,A]),z(),j(),k(),O(),T(),F();break;default:scrl.anims.push([$cfs,v,function(){F(),A()}]),z(),N(),H(),q()}return sc_startScroll(scrl,conf),cf_setCookie(opts.cookie,$cfs,conf),$cfs.trigger(cf_e("updatePageStatus",conf),[!1,_]),!0}),$cfs.bind(cf_e("slide_next",conf),function(t,e,s){t.stopPropagation();var i=$cfs.children();if(!opts.circular&&itms.first==opts.items.visible)return opts.infinite&&$cfs.trigger(cf_e("prev",conf),itms.total-1),t.stopImmediatePropagation();sz_resetMargin(i,opts),is_number(s)||(s=cf_getAdjust(s="*"!=opts.items.filter?(r=is_number(e.items)?e.items:gn_getVisibleOrg($cfs,opts),gn_getScrollItemsNextFilter(i,opts,0,r)):opts.items.visible,opts,e.items,$tt0));var o=0==itms.first?itms.total:itms.first;if(opts.circular||(r=opts.items.visibleConf.variable?(n=gn_getVisibleItemsNext(i,opts,s),gn_getVisibleItemsPrev(i,opts,o-1)):(n=opts.items.visible,opts.items.visible),o<s+n&&(s=o-r)),opts.items.visibleConf.old=opts.items.visible,opts.items.visibleConf.variable){for(var n=cf_getItemsAdjust(gn_getVisibleItemsNextTestCircular(i,opts,s,o),opts,opts.items.visibleConf.adjust,$tt0);opts.items.visible-s>=n&&s<itms.total;)n=cf_getItemsAdjust(gn_getVisibleItemsNextTestCircular(i,opts,++s,o),opts,opts.items.visibleConf.adjust,$tt0);opts.items.visible=n}else"*"!=opts.items.filter&&(n=gn_getVisibleItemsNextFilter(i,opts,s),opts.items.visible=cf_getItemsAdjust(n,opts,opts.items.visibleConf.adjust,$tt0));if(sz_resetMargin(i,opts,!0),0==s)return t.stopImmediatePropagation(),debug(conf,"0 items to scroll: Not scrolling.");for(debug(conf,"Scrolling "+s+" items forward."),itms.first-=s;itms.first<0;)itms.first+=itms.total;opts.circular||(itms.first==opts.items.visible&&e.onEnd&&e.onEnd.call($tt0,"next"),opts.infinite||nv_enableNavi(opts,itms.first,conf)),itms.total<opts.items.visible+s&&$cfs.children().slice(0,opts.items.visible+s-itms.total).clone(!0).appendTo($cfs);var r=gi_getOldItemsNext(i=$cfs.children(),opts),c=gi_getNewItemsNext(i,opts,s),a=i.eq(s-1),f=r.last(),t=c.last(),l=(sz_resetMargin(i,opts),0),u=0,p=(opts.align&&(l=(d=cf_getAlignPadding(c,opts))[0],u=d[1]),!1),d=$(),g=(opts.items.visibleConf.old<s&&(d=i.slice(opts.items.visibleConf.old,s),"directscroll"==e.fx&&(S=opts.items[opts.d.width],a=f,sc_hideHiddenItems(p=d),opts.items[opts.d.width]="variable")),!1),m=ms_getTotalSize(i.slice(0,s),opts,"width"),_=cf_mapWrapperSizes(ms_getSizes(c,opts,!0),opts,!opts.usePadding),b=0,v={},h={},w={},P={},C={},x=sc_getDuration(e,opts,s,m);switch(e.fx){case"uncover":case"uncover-fade":b=ms_getTotalSize(i.slice(0,opts.items.visibleConf.old),opts,"width")}p&&(opts.items[opts.d.width]=S),opts.align&&opts.padding[opts.d[1]]<0&&(opts.padding[opts.d[1]]=0),sz_resetMargin(i,opts,!0),sz_resetMargin(f,opts,opts.padding[opts.d[1]]),opts.align&&(opts.padding[opts.d[1]]=u,opts.padding[opts.d[3]]=l),C[opts.d.left]=opts.usePadding?opts.padding[opts.d[3]]:0;var S,y=function(){},I=function(){},z=function(){},j=function(){},N=function(){},k=function(){};switch(e.fx){case"crossfade":case"cover":case"cover-fade":case"uncover":case"uncover-fade":(g=$cfs.clone(!0).appendTo($wrp)).children().slice(opts.items.visibleConf.old).remove()}switch(e.fx){case"crossfade":case"cover":case"cover-fade":$cfs.css("zIndex",1),g.css("zIndex",0)}scrl=sc_setScroll(x,e.easing,conf),v[opts.d.left]=-m,h[opts.d.left]=-b,l<0&&(v[opts.d.left]+=l),"variable"!=opts[opts.d.width]&&"variable"!=opts[opts.d.height]||(y=function(){$wrp.css(_)},I=function(){scrl.anims.push([$wrp,_])}),opts.usePadding&&(S=t.data("_cfs_origCssMargin"),0<=u&&(S+=opts.padding[opts.d[1]]),t.css(opts.d.marginRight,S),a.not(f).length&&(P[opts.d.marginRight]=f.data("_cfs_origCssMargin")),z=function(){f.css(P)},j=function(){scrl.anims.push([f,P])},m=a.data("_cfs_origCssMargin"),0<l&&(m+=opts.padding[opts.d[3]]),w[opts.d.marginRight]=m,N=function(){a.css(w)},k=function(){scrl.anims.push([a,w])});var O=function(){$cfs.css(C)},T=opts.items.visible+s-itms.total,M=function(){0<T&&$cfs.children().slice(itms.total).remove();var t,e=$cfs.children().slice(0,s).appendTo($cfs).last();0<T&&(c=gi_getCurrentItems(i,opts)),sc_showHiddenItems(p),opts.usePadding&&(itms.total<opts.items.visible+s&&(t=$cfs.children().eq(opts.items.visible-1)).css(opts.d.marginRight,t.data("_cfs_origCssMargin")+opts.padding[opts.d[1]]),e.css(opts.d.marginRight,e.data("_cfs_origCssMargin")))},F=sc_mapCallbackArguments(r,d,c,s,"next",x,_),A=function(){$cfs.css("zIndex",$cfs.data("_cfs_origCssZindex")),sc_afterScroll($cfs,g,e),crsl.isScrolling=!1,clbk.onAfter=sc_fireCallbacks($tt0,e,"onAfter",F,clbk),queu=sc_fireQueue($cfs,queu,conf),crsl.isPaused||$cfs.trigger(cf_e("play",conf))};switch(crsl.isScrolling=!0,tmrs=sc_clearTimers(tmrs),clbk.onBefore=sc_fireCallbacks($tt0,e,"onBefore",F,clbk),e.fx){case"none":$cfs.css(v),y(),z(),N(),O(),M(),A();break;case"fade":scrl.anims.push([$cfs,{opacity:0},function(){y(),z(),N(),O(),M(),(scrl=sc_setScroll(x,e.easing,conf)).anims.push([$cfs,{opacity:1},A]),sc_startScroll(scrl,conf)}]);break;case"crossfade":$cfs.css({opacity:0}),scrl.anims.push([g,{opacity:0}]),scrl.anims.push([$cfs,{opacity:1},A]),I(),z(),N(),O(),M();break;case"cover":$cfs.css(opts.d.left,$wrp[opts.d.width]()),scrl.anims.push([$cfs,C,A]),I(),z(),N(),M();break;case"cover-fade":$cfs.css(opts.d.left,$wrp[opts.d.width]()),scrl.anims.push([g,{opacity:0}]),scrl.anims.push([$cfs,C,A]),I(),z(),N(),M();break;case"uncover":scrl.anims.push([g,h,A]),I(),z(),N(),O(),M();break;case"uncover-fade":$cfs.css({opacity:0}),scrl.anims.push([$cfs,{opacity:1}]),scrl.anims.push([g,h,A]),I(),z(),N(),O(),M();break;default:scrl.anims.push([$cfs,v,function(){O(),M(),A()}]),I(),j(),k()}return sc_startScroll(scrl,conf),cf_setCookie(opts.cookie,$cfs,conf),$cfs.trigger(cf_e("updatePageStatus",conf),[!1,_]),!0}),$cfs.bind(cf_e("slideTo",conf),function(t,e,s,i,o,n,r){t.stopPropagation();t=cf_sortParams([e,s,i,o,n,r],["string/number/object","number","boolean","object","string","function"]);return o=t[3],n=t[4],r=t[5],0!=(e=gn_getItemIndex(t[0],t[1],t[2],itms,$cfs))&&(is_object(o)||(o=!1),"prev"==(n="prev"!=n&&"next"!=n?opts.circular?e<=itms.total/2?"next":"prev":0==itms.first||itms.first>e?"next":"prev":n)&&(e=itms.total-e),$cfs.trigger(cf_e(n,conf),[o,e,r]),!0)}),$cfs.bind(cf_e("prevPage",conf),function(t,e,s){t.stopPropagation();t=$cfs.triggerHandler(cf_e("currentPage",conf));return $cfs.triggerHandler(cf_e("slideToPage",conf),[t-1,e,"prev",s])}),$cfs.bind(cf_e("nextPage",conf),function(t,e,s){t.stopPropagation();t=$cfs.triggerHandler(cf_e("currentPage",conf));return $cfs.triggerHandler(cf_e("slideToPage",conf),[t+1,e,"next",s])}),$cfs.bind(cf_e("slideToPage",conf),function(t,e,s,i,o){t.stopPropagation(),is_number(e)||(e=$cfs.triggerHandler(cf_e("currentPage",conf)));var t=opts.pagination.items||opts.items.visible,n=Math.ceil(itms.total/t)-1;return n<(e=e<0?n:e)&&(e=0),$cfs.triggerHandler(cf_e("slideTo",conf),[e*t,0,!0,s,i,o])}),$cfs.bind(cf_e("jumpToStart",conf),function(t,e){if(t.stopPropagation(),e=e?gn_getItemIndex(e,0,!0,itms,$cfs):0,0!=(e+=itms.first)){if(0<itms.total)for(;e>itms.total;)e-=itms.total;$cfs.prepend($cfs.children().slice(e,itms.total))}return!0}),$cfs.bind(cf_e("synchronise",conf),function(t,e){if(t.stopPropagation(),e)e=cf_getSynchArr(e);else{if(!opts.synchronise)return debug(conf,"No carousel to synchronise.");e=opts.synchronise}for(var s=$cfs.triggerHandler(cf_e("currentPosition",conf)),i=!0,o=0,n=e.length;o<n;o++)e[o][0].triggerHandler(cf_e("slideTo",conf),[s,e[o][3],!0])||(i=!1);return i}),$cfs.bind(cf_e("queue",conf),function(t,e,s){return t.stopPropagation(),is_function(e)?e.call($tt0,queu):is_array(e)?queu=e:is_undefined(e)||queu.push([e,s]),queu}),$cfs.bind(cf_e("insertItem",conf),function(t,e,s,i,o){t.stopPropagation();t=cf_sortParams([e,s,i,o],["string/object","string/number/object","boolean","number"]);if(e=t[0],s=t[1],i=t[2],o=t[3],(is_object(e)&&!is_jquery(e)||is_string(e))&&(e=$(e)),!is_jquery(e)||0==e.length)return debug(conf,"Not a valid object.");is_undefined(s)&&(s="end"),sz_storeMargin(e,opts),sz_storeOrigCss(e);var t=s,n="before",o=("end"==s?i?(0==itms.first?(s=itms.total-1,n="after"):(s=itms.first,itms.first+=e.length),s<0&&(s=0)):(s=itms.total-1,n="after"):s=gn_getItemIndex(s,o,i,itms,$cfs),$cfs.children().eq(s));return o.length?o[n](e):(debug(conf,"Correct insert-position not found! Appending item to the end."),$cfs.append(e)),"end"==t||i||s<itms.first&&(itms.first+=e.length),itms.total=$cfs.children().length,itms.first>=itms.total&&(itms.first-=itms.total),$cfs.trigger(cf_e("updateSizes",conf)),$cfs.trigger(cf_e("linkAnchors",conf)),!0}),$cfs.bind(cf_e("removeItem",conf),function(t,e,i,o){t.stopPropagation();var n,t=cf_sortParams([e,i,o],["string/number/object","boolean","number"]);e=t[0],i=t[1],o=t[2];return e instanceof $&&1<e.length?(n=$(),e.each(function(t,e){var s=$cfs.trigger(cf_e("removeItem",conf),[$(this),i,o]);s&&(n=n.add(s))})):(is_undefined(e)||"end"==e?n=$cfs.children().last():(e=gn_getItemIndex(e,o,i,itms,$cfs),(n=$cfs.children().eq(e)).length&&e<itms.first&&(itms.first-=n.length)),n&&n.length&&(n.detach(),itms.total=$cfs.children().length,$cfs.trigger(cf_e("updateSizes",conf)))),n}),$cfs.bind(cf_e("onBefore",conf)+" "+cf_e("onAfter",conf),function(t,e){t.stopPropagation();t=t.type.slice(conf.events.prefix.length);return is_array(e)&&(clbk[t]=e),is_function(e)&&clbk[t].push(e),clbk[t]}),$cfs.bind(cf_e("currentPosition",conf),function(t,e){return t.stopPropagation(),t=0==itms.first?0:itms.total-itms.first,is_function(e)&&e.call($tt0,t),t}),$cfs.bind(cf_e("currentPage",conf),function(t,e){t.stopPropagation();var t=opts.pagination.items||opts.items.visible,s=Math.ceil(itms.total/t-1),t=0==itms.first||itms.first<itms.total%t?0:itms.first!=t||opts.circular?Math.round((itms.total-itms.first)/t):s;return s<(t=t<0?0:t)&&(t=s),is_function(e)&&e.call($tt0,t),t}),$cfs.bind(cf_e("currentVisible",conf),function(t,e){t.stopPropagation();t=gi_getCurrentItems($cfs.children(),opts);return is_function(e)&&e.call($tt0,t),t}),$cfs.bind(cf_e("slice",conf),function(t,e,s,i){if(t.stopPropagation(),0==itms.total)return!1;t=cf_sortParams([e,s,i],["number","number","function"]);if(e=is_number(t[0])?t[0]:0,s=is_number(t[1])?t[1]:itms.total,i=t[2],e+=itms.first,s+=itms.first,0<items.total){for(;e>itms.total;)e-=itms.total;for(;s>itms.total;)s-=itms.total;for(;e<0;)e+=itms.total;for(;s<0;)s+=itms.total}t=$cfs.children(),t=e<s?t.slice(e,s):$(t.slice(e,itms.total).get().concat(t.slice(0,s).get()));return is_function(i)&&i.call($tt0,t),t}),$cfs.bind(cf_e("isPaused",conf)+" "+cf_e("isStopped",conf)+" "+cf_e("isScrolling",conf),function(t,e){t.stopPropagation();t=t.type.slice(conf.events.prefix.length),t=crsl[t];return is_function(e)&&e.call($tt0,t),t}),$cfs.bind(cf_e("configuration",conf),function(e,a,b,c){e.stopPropagation();var reInit=!1,sz;if(is_function(a))a.call($tt0,opts);else if(is_object(a))opts_orig=$.extend(!0,{},opts_orig,a),!1!==b?reInit=!0:opts=$.extend(!0,{},opts,a);else if(!is_undefined(a))if(is_function(b)){var val=eval("opts."+a);is_undefined(val)&&(val=""),b.call($tt0,val)}else{if(is_undefined(b))return eval("opts."+a);"boolean"!=typeof c&&(c=!0),eval("opts_orig."+a+" = b"),!1!==c?reInit=!0:eval("opts."+a+" = b")}return reInit&&(sz_resetMargin($cfs.children(),opts),FN._init(opts_orig),FN._bind_buttons(),sz=sz_setSizes($cfs,opts),$cfs.trigger(cf_e("updatePageStatus",conf),[!0,sz])),opts}),$cfs.bind(cf_e("linkAnchors",conf),function(t,e,s){return t.stopPropagation(),is_undefined(e)?e=$("body"):is_string(e)&&(e=$(e)),is_jquery(e)&&0!=e.length?(is_string(s)||(s="a.caroufredsel"),e.find(s).each(function(){var e=this.hash||"";0<e.length&&-1!=$cfs.children().index($(e))&&$(this).unbind("click").click(function(t){t.preventDefault(),$cfs.trigger(cf_e("slideTo",conf),e)})}),!0):debug(conf,"Not a valid object.")}),$cfs.bind(cf_e("updatePageStatus",conf),function(t,e,s){var i,o,n;if(t.stopPropagation(),opts.pagination.container)return i=opts.pagination.items||opts.items.visible,o=Math.ceil(itms.total/i),e&&(opts.pagination.anchorBuilder&&(opts.pagination.container.children().remove(),opts.pagination.container.each(function(){for(var t=0;t<o;t++){var e=$cfs.children().eq(gn_getItemIndex(t*i,0,!0,itms,$cfs));$(this).append(opts.pagination.anchorBuilder.call(e[0],t+1))}})),opts.pagination.container.each(function(){$(this).children().unbind(opts.pagination.event).each(function(e){$(this).bind(opts.pagination.event,function(t){t.preventDefault(),$cfs.trigger(cf_e("slideTo",conf),[e*i,-opts.pagination.deviation,!0,opts.pagination])})})})),n=$cfs.triggerHandler(cf_e("currentPage",conf))+opts.pagination.deviation,(n=o<=n?0:n)<0&&(n=o-1),opts.pagination.container.each(function(){$(this).children().removeClass(cf_c("selected",conf)).eq(n).addClass(cf_c("selected",conf))}),!0}),$cfs.bind(cf_e("updateSizes",conf),function(t){var e=opts.items.visible,s=$cfs.children(),i=ms_getParentSize($wrp,opts,"width"),i=(itms.total=s.length,crsl.primarySizePercentage?(opts.maxDimension=i,opts[opts.d.width]=ms_getPercentage(i,crsl.primarySizePercentage)):opts.maxDimension=ms_getMaxDimension(opts,i),opts.responsive?(opts.items.width=opts.items.sizesConf.width,opts.items.height=opts.items.sizesConf.height,e=(opts=in_getResponsiveValues(opts,s,i)).items.visible,sz_setResponsiveSizes(opts,s)):opts.items.visibleConf.variable?e=gn_getVisibleItemsNext(s,opts,0):"*"!=opts.items.filter&&(e=gn_getVisibleItemsNextFilter(s,opts,0)),!opts.circular&&0!=itms.first&&e>itms.first&&(i=opts.items.visibleConf.variable?gn_getVisibleItemsPrev(s,opts,itms.first)-itms.first:"*"!=opts.items.filter?gn_getVisibleItemsPrevFilter(s,opts,itms.first)-itms.first:opts.items.visible-itms.first,debug(conf,"Preventing non-circular: sliding "+i+" items backward."),$cfs.trigger(cf_e("prev",conf),i)),opts.items.visible=cf_getItemsAdjust(e,opts,opts.items.visibleConf.adjust,$tt0),opts.items.visibleConf.old=opts.items.visible,opts=in_getAlignPadding(opts,s),sz_setSizes($cfs,opts));return $cfs.trigger(cf_e("updatePageStatus",conf),[!0,i]),nv_showNavi(opts,itms.total,conf),nv_enableNavi(opts,itms.first,conf),i}),$cfs.bind(cf_e("destroy",conf),function(t,e){return t.stopPropagation(),tmrs=sc_clearTimers(tmrs),$cfs.data("_cfs_isCarousel",!1),$cfs.trigger(cf_e("finish",conf)),e&&$cfs.trigger(cf_e("jumpToStart",conf)),sz_restoreOrigCss($cfs.children()),sz_restoreOrigCss($cfs),FN._unbind_events(),FN._unbind_buttons(),"parent"==conf.wrapper?sz_restoreOrigCss($wrp):$wrp.replaceWith($cfs),!0}),$cfs.bind(cf_e("debug",conf),function(t){return debug(conf,"Carousel width: "+opts.width),debug(conf,"Carousel height: "+opts.height),debug(conf,"Item widths: "+opts.items.width),debug(conf,"Item heights: "+opts.items.height),debug(conf,"Number of items visible: "+opts.items.visible),opts.auto.play&&debug(conf,"Number of items scrolled automatically: "+opts.auto.items),opts.prev.button&&debug(conf,"Number of items scrolled backward: "+opts.prev.items),opts.next.button&&debug(conf,"Number of items scrolled forward: "+opts.next.items),conf.debug}),$cfs.bind("_cfs_triggerEvent",function(t,e,s){return t.stopPropagation(),$cfs.triggerHandler(cf_e(e,conf),s)})},FN._unbind_events=function(){$cfs.unbind(cf_e("",conf)),$cfs.unbind(cf_e("",conf,!1)),$cfs.unbind("_cfs_triggerEvent")},FN._bind_buttons=function(){var t,s,i,o,n,r,c;if(FN._unbind_buttons(),nv_showNavi(opts,itms.total,conf),nv_enableNavi(opts,itms.first,conf),opts.auto.pauseOnHover&&(t=bt_pauseOnHoverConfig(opts.auto.pauseOnHover),$wrp.bind(cf_e("mouseenter",conf,!1),function(){$cfs.trigger(cf_e("pause",conf),t)}).bind(cf_e("mouseleave",conf,!1),function(){$cfs.trigger(cf_e("resume",conf))})),opts.auto.button&&opts.auto.button.bind(cf_e(opts.auto.event,conf,!1),function(t){t.preventDefault();var t=!1,e=null;crsl.isPaused?t="play":opts.auto.pauseOnEvent&&(t="pause",e=bt_pauseOnHoverConfig(opts.auto.pauseOnEvent)),t&&$cfs.trigger(cf_e(t,conf),e)}),opts.prev.button&&(opts.prev.button.bind(cf_e(opts.prev.event,conf,!1),function(t){t.preventDefault(),$cfs.trigger(cf_e("prev",conf))}),opts.prev.pauseOnHover&&(t=bt_pauseOnHoverConfig(opts.prev.pauseOnHover),opts.prev.button.bind(cf_e("mouseenter",conf,!1),function(){$cfs.trigger(cf_e("pause",conf),t)}).bind(cf_e("mouseleave",conf,!1),function(){$cfs.trigger(cf_e("resume",conf))}))),opts.next.button&&(opts.next.button.bind(cf_e(opts.next.event,conf,!1),function(t){t.preventDefault(),$cfs.trigger(cf_e("next",conf))}),opts.next.pauseOnHover&&(t=bt_pauseOnHoverConfig(opts.next.pauseOnHover),opts.next.button.bind(cf_e("mouseenter",conf,!1),function(){$cfs.trigger(cf_e("pause",conf),t)}).bind(cf_e("mouseleave",conf,!1),function(){$cfs.trigger(cf_e("resume",conf))}))),opts.pagination.container&&opts.pagination.pauseOnHover&&(t=bt_pauseOnHoverConfig(opts.pagination.pauseOnHover),opts.pagination.container.bind(cf_e("mouseenter",conf,!1),function(){$cfs.trigger(cf_e("pause",conf),t)}).bind(cf_e("mouseleave",conf,!1),function(){$cfs.trigger(cf_e("resume",conf))})),(opts.prev.key||opts.next.key)&&$(document).bind(cf_e("keyup",conf,!1,!0,!0),function(t){var e=t.keyCode;e==opts.next.key&&(t.preventDefault(),$cfs.trigger(cf_e("next",conf))),e==opts.prev.key&&(t.preventDefault(),$cfs.trigger(cf_e("prev",conf)))}),opts.pagination.keys&&$(document).bind(cf_e("keyup",conf,!1,!0,!0),function(t){var e=t.keyCode;49<=e&&e<58&&(e=(e-49)*opts.items.visible)<=itms.total&&(t.preventDefault(),$cfs.trigger(cf_e("slideTo",conf),[e,0,!0,opts.pagination]))}),$.fn.swipe){var e="ontouchstart"in window;if(e&&opts.swipe.onTouch||!e&&opts.swipe.onMouse){var a=$.extend(!0,{},opts.prev,opts.swipe),f=$.extend(!0,{},opts.next,opts.swipe),l=function(){$cfs.trigger(cf_e("prev",conf),[a])},u=function(){$cfs.trigger(cf_e("next",conf),[f])};switch(opts.direction){case"up":case"down":opts.swipe.options.swipeUp=u,opts.swipe.options.swipeDown=l;break;default:opts.swipe.options.swipeLeft=u,opts.swipe.options.swipeRight=l}crsl.swipe&&$cfs.swipe("destroy"),$wrp.swipe(opts.swipe.options),$wrp.css("cursor","move"),crsl.swipe=!0}}$.fn.mousewheel&&opts.mousewheel&&(s=$.extend(!0,{},opts.prev,opts.mousewheel),i=$.extend(!0,{},opts.next,opts.mousewheel),crsl.mousewheel&&$wrp.unbind(cf_e("mousewheel",conf,!1)),$wrp.bind(cf_e("mousewheel",conf,!1),function(t,e){t.preventDefault(),0<e?$cfs.trigger(cf_e("prev",conf),[s]):$cfs.trigger(cf_e("next",conf),[i])}),crsl.mousewheel=!0),opts.auto.play&&$cfs.trigger(cf_e("play",conf),opts.auto.delay),crsl.upDateOnWindowResize&&(o=function(t){$cfs.trigger(cf_e("finish",conf)),opts.auto.pauseOnResize&&!crsl.isPaused&&$cfs.trigger(cf_e("play",conf)),sz_resetMargin($cfs.children(),opts),$cfs.trigger(cf_e("updateSizes",conf))},n=$(window),e=null,e=$.debounce&&"debounce"==conf.onWindowResize?$.debounce(200,o):$.throttle&&"throttle"==conf.onWindowResize?$.throttle(300,o):(c=r=0,function(){var t=n.width(),e=n.height();t==r&&e==c||(o(),r=t,c=e)}),n.bind(cf_e("resize",conf,!1,!0,!0),e))},FN._unbind_buttons=function(){cf_e("",conf);var t=cf_e("",conf,!1);ns3=cf_e("",conf,!1,!0,!0),$(document).unbind(ns3),$(window).unbind(ns3),$wrp.unbind(t),opts.auto.button&&opts.auto.button.unbind(t),opts.prev.button&&opts.prev.button.unbind(t),opts.next.button&&opts.next.button.unbind(t),opts.pagination.container&&(opts.pagination.container.unbind(t),opts.pagination.anchorBuilder&&opts.pagination.container.children().remove()),crsl.swipe&&($cfs.swipe("destroy"),$wrp.css("cursor","default"),crsl.swipe=!1),crsl.mousewheel&&(crsl.mousewheel=!1),nv_showNavi(opts,"hide",conf),nv_enableNavi(opts,"removeClass",conf)},is_boolean(configs)&&(configs={debug:configs}),{direction:"next",isPaused:!0,isScrolling:!1,isStopped:!1,mousewheel:!1,swipe:!1}),itms={total:$cfs.children().length,first:0},tmrs={auto:null,progress:null,startTime:getTime(),timePassed:0},scrl={isStopped:!1,duration:0,startTime:0,easing:"",anims:[]},clbk={onBefore:[],onAfter:[]},queu=[],conf=$.extend(!0,{},$.fn.carouFredSel.configs,configs),opts={},opts_orig=$.extend(!0,{},options),$wrp=("parent"==conf.wrapper?$cfs:$cfs.wrap("<"+conf.wrapper.element+' class="'+conf.wrapper.classname+'" />')).parent(),start_arr,start_arr;if(conf.selector=$cfs.selector,conf.serialNumber=$.fn.carouFredSel.serialNumber++,conf.transition=conf.transition&&$.fn.transition?"transition":"animate",FN._init(opts_orig,!0,starting_position),FN._build(),FN._bind_events(),FN._bind_buttons(),is_array(opts.items.start)?start_arr=opts.items.start:(start_arr=[],0!=opts.items.start&&start_arr.push(opts.items.start)),opts.cookie&&start_arr.unshift(parseInt(cf_getCookie(opts.cookie),10)),0<start_arr.length)for(var a=0,l=start_arr.length;a<l;a++){var s=start_arr[a];if(0!=s){if(!0===s){if(s=window.location.hash,s.length<1)continue}else"random"===s&&(s=Math.floor(Math.random()*itms.total));if($cfs.triggerHandler(cf_e("slideTo",conf),[s,0,!0,{fx:"none"}]))break}}var siz=sz_setSizes($cfs,opts),itm=gi_getCurrentItems($cfs.children(),opts);return opts.onCreate&&opts.onCreate.call($tt0,{width:siz.width,height:siz.height,items:itm}),$cfs.trigger(cf_e("updatePageStatus",conf),[!0,siz]),$cfs.trigger(cf_e("linkAnchors",conf)),conf.debug&&$cfs.trigger(cf_e("debug",conf)),$cfs},$.fn.carouFredSel.serialNumber=1,$.fn.carouFredSel.defaults={synchronise:!1,infinite:!0,circular:!0,responsive:!0,direction:"left",items:{start:0},scroll:{easing:"swing",duration:500,pauseOnHover:!1,event:"click",queue:!1}},$.fn.carouFredSel.configs={padding:"5px",debug:!1,transition:!1,onWindowResize:"throttle",events:{prefix:"",namespace:"cfs"},wrapper:{element:"div",classname:"caroufredsel_wrapper"},classnames:{}},$.fn.carouFredSel.pageAnchorBuilder=function(t){return'<a href="#"><span>'+t+"</span></a>"},$.fn.carouFredSel.progressbarUpdater=function(t){$(this).css("width",t+"%")},$.fn.carouFredSel.cookie={get:function(t){t+="=";for(var e=document.cookie.split(";"),s=0,i=e.length;s<i;s++){for(var o=e[s];" "==o.charAt(0);)o=o.slice(1);if(0==o.indexOf(t))return o.slice(t.length)}return 0},set:function(t,e,s){var i,o="";s&&((i=new Date).setTime(i.getTime()+24*s*60*60*1e3),o="; expires="+i.toGMTString()),document.cookie=t+"="+e+o+"; path=/"},remove:function(t){$.fn.carouFredSel.cookie.set(t,"",-1)}},$.extend($.easing,{quadratic:function(t){var e=t*t;return t*(-e*t+4*e-6*t+4)},cubic:function(t){return t*(4*t*t-9*t+6)},elastic:function(t){var e=t*t;return t*(33*e*e-106*e*t+126*e-67*t+15)}}))}(jQuery);
assets/js/yith_magnifier.min.js CHANGED
@@ -1 +1 @@
1
- !function(g,i){"use strict";var u,p;g.fn.imagesLoaded===i&&(u=jQuery,p="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==",u.fn.imagesLoaded=function(e){var o=this,n=u.isFunction(u.Deferred)?u.Deferred():0,d=u.isFunction(n.notify),a=o.find("img").add(o.filter("img")),s=[],r=[],h=[];function m(){var t=u(r),i=u(h);n&&(h.length?n.reject(a,t,i):n.resolve(a)),u.isFunction(e)&&e.call(o,a,t,i)}function l(t){c(t.target,"error"===t.type)}function c(t,i){t.src!==p&&-1===u.inArray(t,s)&&(s.push(t),(i?h:r).push(t),u.data(t,"imagesLoaded",{isBroken:i,src:t.src}),d&&n.notifyWith(u(t),[i,a,u(r),u(h)]),a.length===s.length&&(setTimeout(m),a.unbind(".imagesLoaded",l)))}return u.isPlainObject(e)&&u.each(e,function(t,i){"callback"===t?e=i:n&&n[t](i)}),a.length?a.bind("load.imagesLoaded error.imagesLoaded",l).each(function(t,i){var e=i.src,o=u.data(i,"imagesLoaded");o&&o.src===e?c(i,o.isBroken):i.complete&&void 0!==i.naturalWidth?c(i,0===i.naturalWidth||0===i.naturalHeight):(i.readyState||i.complete)&&(i.src=p,i.src=e)}):m(),n?n.promise(o):o}),g.yith_magnifier=function(t,i){this.t=i,this.element=g(i),this._init(t)},g.yith_magnifier.defaults={zoomWidth:"auto",zoomHeight:"auto",position:"right",tint:!1,tintOpacity:.5,lensOpacity:.5,softFocus:!1,smoothMove:3,showTitle:!0,titleOpacity:.5,adjustX:0,adjustY:0,phoneBehavior:"inside",loadingLabel:"Loading...",enableSlider:!0,slider:"carouFredSel",sliderOptions:{},from_gallery:"no",onLoad:function(){return!1},onEnter:function(){return!1},onLeave:function(){return!1},onMove:function(){return!1},onClick:function(){return!1},elements:{zoom:g(".yith_magnifier_zoom"),zoomImage:g(".yith_magnifier_zoom img").first(),gallery:g(".yith_magnifier_gallery li a")}},g.yith_magnifier.prototype={_init:function(t){var e=this;g(document).trigger("yith_magnifier_before_init"),g.each(g.yith_magnifier.defaults.elements,function(t,i){g.yith_magnifier.defaults.elements[t]=g(i,e)}),e.options=g.extend(!0,{},g.yith_magnifier.defaults,t),e.isPhone=e._isPhone(),e._loading(),e.options.onLoad(),e._initZoom(),e._initGallery(),g(document).trigger("yith_magnifier_after_init")},_initGallery:function(){var i=this,t=i.options.elements,e=t.gallery,o=t.zoom,n=t.zoomImage;0<e.length?(e.on("click",function(t){t.preventDefault(),yith_wc_zoom_magnifier_storage_object.stop_immediate_propagation&&t.stopImmediatePropagation(),"free"==g("#yith_wczm_traffic_light").val()&&(g(".yith_magnifier_gallery .yith_magnifier_thumbnail.active-thumbnail").removeClass("active-thumbnail"),g(".yith_magnifier_gallery .yith_magnifier_thumbnail.active-thumbnail").addClass("inactive-thumbnail"),g(this).removeClass("inactive-thumbnail"),g(this).addClass("active-thumbnail"),g(this).parent().removeClass("inactive-thumbnail"),g(this).parent().addClass("active-thumbnail"),i.options.from_gallery="yes",t=g(this),i.destroy(),o.attr("href",this.href),n.attr("src",t.data("small")).attr("srcset",t.data("small")).attr("src-orig",t.data("small")).attr("title","").attr("title",t.attr("title")),g.data(i.t,"yith_magnifier",new g.yith_magnifier(i.options,i.element)))}),i.options.enableSlider&&e.closest("ul").trigger("yith_magnifier_slider_destroy")):e.on("click",function(t){return t.preventDefault(),!1})},_loading:function(){var t;this.options.disableRightClick&&g(document).on("contextmenu",function(t){return!1}),this.mouseTrap===i&&(t=this.options.elements.zoom.width(),this.options.loadingLabel&&g('<div class="yith_magnifier_loading">'+this.options.loadingLabel+"</div>").css({width:t,"text-align":"center",opacity:.5}).appendTo(this.options.elements.zoom.parent()))},_initZoom:function(){if("free"==g("#yith_wczm_traffic_light").val()){g("#yith_wczm_traffic_light").val("blocked");var i=this,t=(i.zoom=i.options.elements.zoom,i.zoomImage=i.options.elements.zoomImage,"yith_magnifier_zoom_wrap");if(i.options.zoom_wrap_additional_css){if(g("."+t).length)return;t+=" "+i.options.zoom_wrap_additional_css}i.zoom.wrap('<div class="'+t+'"></div>'),i.IMG_zoomImage=new Image;t=g(".woocommerce-variation-add-to-cart .variation_id").val();g.isNumeric(t)&&0!=t&&"no"==i.options.from_gallery?g.ajax({data:{action:"yith_wc_zoom_magnifier_get_main_image",product_id:t,context:"frontend"},url:yith_wc_zoom_magnifier_storage_object.ajax_url,type:"post",error:function(t){console.log("ERROR - Yith_WC_Zoom_Magnifier"),console.log(t),g("#yith_wczm_traffic_light").val("free")},success:function(t){i.zoom.attr("href",t.url),i.IMG_zoomImage.src=t.url,i.IMG_smallImage=new Image,i.IMG_smallImage.src=i.zoomImage.attr("src"),t.gallery&&(g(".yith_magnifier_gallery").length?g(".yith_magnifier_gallery").closest(".thumbnails").replaceWith(t.gallery):g(".images").append(t.gallery),i.options.elements.gallery=g(".yith_magnifier_gallery li a")),g.browser&&g.browser.msie&&8==g.browser.version?g(i.IMG_zoomImage).load(function(){i._initGallery(),i._initTrap()}):g([i.IMG_zoomImage,i.IMG_smallImage]).imagesLoaded(function(){i._initGallery(),i._initTrap()}),g(document).on("click","a.yith_expand",function(t){t.preventDefault(),g().prettyPhoto({social_tools:!1,theme:"pp_woocommerce",horizontal_padding:20,opacity:.8,deeplinking:!1,callback:function(){g(".yith_expand").css("display","inline")}}),g.prettyPhoto.open(i.zoom[0].href,"",""),g(".yith_expand").css("display","none"),g(".pp_woocommerce .ppt").css({height:0,marginBottom:0})}),g(document).trigger("yith_magnifier_after_init_zoom"),g("#yith_wczm_traffic_light").val("free")}}):(i.IMG_zoomImage.src=i.zoom.attr("href"),i.IMG_smallImage=new Image,i.IMG_smallImage.src=i.zoomImage.attr("src"),g.browser&&g.browser.msie&&8==g.browser.version?g(i.IMG_zoomImage).load(function(){i._initTrap()}):g([i.IMG_zoomImage,i.IMG_smallImage]).imagesLoaded(function(){i._initTrap()}),g(document).on("click","a.yith_expand",function(t){t.preventDefault(),g().prettyPhoto({social_tools:!1,theme:"pp_woocommerce",horizontal_padding:20,opacity:.8,deeplinking:!1,callback:function(){g(".yith_expand").css("display","inline")}}),g.prettyPhoto.open(i.zoom[0].href,"",""),g(".yith_expand").css("display","none"),g(".pp_woocommerce .ppt").css({height:0,marginBottom:0})}),g(document).trigger("yith_magnifier_after_init_zoom"),g("#yith_wczm_traffic_light").val("free"))}},_initTrap:function(){var h,m=this,l=m.IMG_zoomImage,c=(m.IMG_smallImage,m.mx=0,m.my=0,m.controlTimer=0,m.lens=null,m.tint=null,m.softFocus=null,m.zoomDiv=null,m.cw=0,m.ch=0,m.zw=0,m.destU=0,m.destV=0,m.currU=0,m.currV=0,m.mouseTrap=null,m.options.elements.zoom),d=m.options.elements.zoomImage;g(".yith_magnifier_loading").remove(),this.element.find(".yith_magnifier_mousetrap")&&this.element.find(".yith_magnifier_mousetrap").remove(),this.mouseTrap=g('<div class="yith_magnifier_mousetrap pp_woocommerce" />').css({width:yith_wc_zoom_magnifier_storage_object.mouse_trap_width,height:yith_wc_zoom_magnifier_storage_object.mouse_trap_height,top:0,left:0}).appendTo(c.parent()),"undefined"!=typeof ywzm_data&&(g('<a href="#" class="yith_expand" style="display: inline;"></a>').appendTo(this.mouseTrap),g(".expand-button-hidden").clone().appendTo(g(".yith_expand")),g(".yith_magnifier_mousetrap .yith_expand .expand-button-hidden").show()),m.isPhone&&"disable"==m.options.phoneBehavior||(h="ontouchstart"in document.documentElement,this.mouseTrap.on("touchmove mousemove",this,function(t){m.options.onMove(),m.mx=("undefined"!=typeof t.originalEvent.touches?t.originalEvent.touches[0]:t).pageX,m.my=("undefined"!=typeof t.originalEvent.touches?t.originalEvent.touches[0]:t).pageY}).on("touchend mouseleave",this,function(t){return clearTimeout(m.controlTimer),m.lens&&m.lens.fadeOut(299),m.tint&&m.tint.fadeOut(299),m.softFocus&&m.softFocus.fadeOut(299),m.zoomDiv.fadeOut(300,function(){m._onLeave()}),!1}).on("touchstart click",this,function(t){m.options.onClick()}).on("touchstart mouseenter",this,function(t){if("free"==g("#yith_wczm_traffic_light").val()){m.options.onEnter(),h&&t.preventDefault(),m.mx=("undefined"!=typeof t.originalEvent.touches?t.originalEvent.touches[0]:t).pageX,m.my=("undefined"!=typeof t.originalEvent.touches?t.originalEvent.touches[0]:t).pageY,m.zw=t.data,m.zoomDiv&&(m.zoomDiv.stop(!0,!1),m.zoomDiv.remove());var i=m.options.adjustX,e=m.options.adjustY,o=d.outerWidth(),n=d.outerHeight(),a=m.options.zoomWidth,s=m.options.zoomHeight,r=("auto"==m.options.zoomWidth&&(a=o),"auto"==m.options.zoomHeight&&(s=n),c.parent());switch(m.options.position){case"top":e-=s;break;case"right":i+=o;break;case"bottom":e+=n;break;case"left":i-=a;break;case"inside":a=o,s=n;break;default:(r=g("#"+m.options.position)).length?(a=r.innerWidth(),s=r.innerHeight()):(r=c,i+=o,e+=n)}m.isPhone&&"inside"==m.options.phoneBehavior&&(a=o,s=n,e=i=0),m.zoomDiv=g('<div class="yith_magnifier_zoom_magnifier" />').css({left:i,top:e,width:a,height:s,"background-repeat":"no-repeat",backgroundImage:"url("+l.src+")"}).appendTo(r),d.attr("title")&&m.options.showTitle&&g('<div class="yith_magnifier_title">'+d.attr("title")+"</div>").appendTo(m.zoomDiv),!m.isPhone||"disable"!=m.options.phoneBehavior?m.zoomDiv.fadeIn(500):m.lens.fadeOut(299),m.lens&&(m.lens.remove(),m.lens=null),l.width<=1?m.cw=d.outerWidth()/l.naturalWidth*m.zoomDiv.width():m.cw=d.outerWidth()/l.width*m.zoomDiv.width(),l.height<=1?m.ch=d.outerHeight()/l.naturalHeight*m.zoomDiv.height():m.ch=d.outerHeight()/l.height*m.zoomDiv.height(),m.lens=g('<div class="yith_magnifier_lens" />').css({width:m.cw,height:m.ch}).appendTo(c);t=!1;m.options.tint&&(m.tint=g("<div />").css({display:"none",position:"absolute",left:0,top:0,width:d.outerWidth(),height:d.outerHeight(),backgroundColor:m.options.tint,opacity:m.options.tintOpacity}).appendTo(c),m.lens.append(g("<img />",{src:d.attr("src")})),t=!0,m.tint.fadeIn(500)),m.options.softFocus&&(m.softFocus=g("<div />").css({position:"absolute",display:"none",top:"1px",left:"1px",width:d.outerWidth(),height:d.outerHeight(),opacity:.5}).appendTo(c),m.softFocus.append(g("<img />",{src:d.attr("src")})),0==m.lens.find("img").length&&m.lens.append(g("<img />",{src:d.attr("src")})),t=!0,m.softFocus.fadeIn(500)),t||m.lens.css("opacity",m.options.lensOpacity),"inside"!==m.options.position&&m.lens.fadeIn(500),m.zw._controlLoop()}}))},_controlLoop:function(){var t,i,e=this;this.lens&&(t=this.mx-this.zoomImage.offset().left-.5*this.cw>>0,i=this.my-this.zoomImage.offset().top-.5*this.ch>>0,t<0?t=0:t>this.zoomImage.outerWidth()-this.cw&&(t=this.zoomImage.outerWidth()-this.cw),i<0?i=0:i>this.zoomImage.outerHeight()-this.ch&&(i=this.zoomImage.outerHeight()-this.ch),this.lens.css({left:t-2,top:i-1}),this.lens.find("img").css({width:this.zoomImage.outerWidth(),height:this.zoomImage.outerHeight(),marginLeft:-t+"px ",marginTop:-i+"px"}),this.IMG_zoomImage.width<=1?this.destU=t/this.zoomImage.outerWidth()*this.IMG_zoomImage.naturalWidth>>0:this.destU=t/this.zoomImage.outerWidth()*this.IMG_zoomImage.width>>0,this.IMG_zoomImage.height<=1?this.destV=i/this.zoomImage.outerHeight()*this.IMG_zoomImage.naturalHeight>>0:this.destV=i/this.zoomImage.outerHeight()*this.IMG_zoomImage.height>>0,this.currU+=(this.destU-this.currU)/this.options.smoothMove,this.currV+=(this.destV-this.currV)/this.options.smoothMove,this.zoomDiv.css("background-position",-(this.currU>>0)+"px "+-(this.currV>>0)+"px")),this.controlTimer=setTimeout(function(){e._controlLoop()},30)},_onLeave:function(){this.options.onLeave(),this.zoomDiv&&(this.zoomDiv.remove(),this.zoomDiv=null),this._removeElements()},_removeElements:function(){this.lens&&(this.lens.remove(),this.lens=null),this.tint&&(this.tint.remove(),this.tint=null),this.softFocus&&(this.softFocus.remove(),this.softFocus=null),0<this.element.find(".yith_magnifier_loading").length&&this.element.find(".yith_magnifier_loading").remove()},_isPhone:function(){var t=navigator.userAgent.toLowerCase();return t.match(/iphone/i)||t.match(/ipod/i)||t.match(/android/i)},destroy:function(){this.zoom&&this.zoom.unwrap(),this.mouseTrap&&(this.mouseTrap.unbind(),this.mouseTrap.remove(),this.mouseTrap=null),this.zoomDiv&&(this.zoomDiv.remove(),this.zoomDiv=null),this.options.disableRightClick&&g(document).unbind(),this._removeElements(),this.options.elements.gallery.unbind(),this.element.removeData("yith_magnifier")}},g.fn.yith_magnifier=function(i){var e;return"string"==typeof i?(e=Array.prototype.slice.call(arguments,1),this.each(function(){var t=g.data(this,"yith_magnifier");t?g.isFunction(t[i])&&"_"!==i.charAt(0)?t[i].apply(t,e):g.error("no such method '"+i+"' for yith_magnifier instance"):g.error("cannot call methods on yith_magnifier prior to initialization; attempted to call method '"+i+"'")})):this.each(function(){g.data(this,"yith_magnifier")?g.error("yith_magnifier already istantiated."):g.data(this,"yith_magnifier",new g.yith_magnifier(i,this))}),this}}((window,jQuery));
1
+ !function(g,i){"use strict";var u,p;g.fn.imagesLoaded===i&&(u=jQuery,p="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==",u.fn.imagesLoaded=function(e){var o=this,n=u.isFunction(u.Deferred)?u.Deferred():0,a=u.isFunction(n.notify),s=o.find("img").add(o.filter("img")),r=[],h=[],m=[];function l(){var t=u(h),i=u(m);n&&(m.length?n.reject(s,t,i):n.resolve(s)),u.isFunction(e)&&e.call(o,s,t,i)}function c(t){d(t.target,"error"===t.type)}function d(t,i){t.src!==p&&-1===u.inArray(t,r)&&(r.push(t),(i?m:h).push(t),u.data(t,"imagesLoaded",{isBroken:i,src:t.src}),a&&n.notifyWith(u(t),[i,s,u(h),u(m)]),s.length===r.length&&(setTimeout(l),s.unbind(".imagesLoaded",c)))}return u.isPlainObject(e)&&u.each(e,function(t,i){"callback"===t?e=i:n&&n[t](i)}),s.length?s.bind("load.imagesLoaded error.imagesLoaded",c).each(function(t,i){var e=i.src,o=u.data(i,"imagesLoaded");o&&o.src===e?d(i,o.isBroken):i.complete&&void 0!==i.naturalWidth?d(i,0===i.naturalWidth||0===i.naturalHeight):(i.readyState||i.complete)&&(i.src=p,i.src=e)}):l(),n?n.promise(o):o}),g.yith_magnifier=function(t,i){this.t=i,this.element=g(i),this._init(t)},g.yith_magnifier.defaults={zoomWidth:"auto",zoomHeight:"auto",position:"right",tint:!1,tintOpacity:.5,lensOpacity:.5,softFocus:!1,smoothMove:3,showTitle:!0,titleOpacity:.5,adjustX:0,adjustY:0,phoneBehavior:"inside",loadingLabel:"Loading...",enableSlider:!0,slider:"carouFredSel",sliderOptions:{},from_gallery:"no",onLoad:function(){return!1},onEnter:function(){return!1},onLeave:function(){return!1},onMove:function(){return!1},onClick:function(){return!1},elements:{zoom:g(".yith_magnifier_zoom"),zoomImage:g(".yith_magnifier_zoom img").first(),gallery:g(".yith_magnifier_gallery li a")}},g.yith_magnifier.prototype={_init:function(t){var e=this;g(document).trigger("yith_magnifier_before_init"),g.each(g.yith_magnifier.defaults.elements,function(t,i){g.yith_magnifier.defaults.elements[t]=g(i,e)}),e.options=g.extend(!0,{},g.yith_magnifier.defaults,t),e.isPhone=e._isPhone(),e._loading(),e.options.onLoad(),e._initZoom(),e._initGallery(),g(document).trigger("yith_magnifier_after_init")},_initGallery:function(){var i=this,t=i.options.elements,e=t.gallery,o=t.zoom,n=t.zoomImage;0<e.length?(e.on("click",function(t){t.preventDefault(),yith_wc_zoom_magnifier_storage_object.stop_immediate_propagation&&t.stopImmediatePropagation(),"free"==g("#yith_wczm_traffic_light").val()&&(g(".yith_magnifier_gallery .yith_magnifier_thumbnail.active-thumbnail").removeClass("active-thumbnail"),g(".yith_magnifier_gallery .yith_magnifier_thumbnail.active-thumbnail").addClass("inactive-thumbnail"),g(this).removeClass("inactive-thumbnail"),g(this).addClass("active-thumbnail"),g(this).parent().removeClass("inactive-thumbnail"),g(this).parent().addClass("active-thumbnail"),i.options.from_gallery="yes",t=g(this),i.destroy(),o.attr("href",this.href),n.attr("src",t.data("small")).attr("srcset",t.data("small")).attr("src-orig",t.data("small")).attr("title","").attr("title",t.attr("title")),g.data(i.t,"yith_magnifier",new g.yith_magnifier(i.options,i.element)))}),i.options.enableSlider&&e.closest("ul").trigger("yith_magnifier_slider_destroy")):e.on("click",function(t){return t.preventDefault(),!1})},_loading:function(){var t;this.options.disableRightClick&&g(document).on("contextmenu",function(t){return!1}),this.mouseTrap===i&&(t=this.options.elements.zoom.width(),this.options.loadingLabel&&g('<div class="yith_magnifier_loading">'+this.options.loadingLabel+"</div>").css({width:t,"text-align":"center",opacity:.5}).appendTo(this.options.elements.zoom.parent()))},_initZoom:function(){if("free"==g("#yith_wczm_traffic_light").val()){g("#yith_wczm_traffic_light").val("blocked");var i=this,t=(i.zoom=i.options.elements.zoom,i.zoomImage=i.options.elements.zoomImage,"yith_magnifier_zoom_wrap");if(i.options.zoom_wrap_additional_css){if(g("."+t).length)return;t+=" "+i.options.zoom_wrap_additional_css}i.zoom.wrap('<div class="'+t+'"></div>'),i.IMG_zoomImage=new Image;t=g(".woocommerce-variation-add-to-cart .variation_id").val();g.isNumeric(t)&&0!=t&&"no"==i.options.from_gallery?g.ajax({data:{action:"yith_wc_zoom_magnifier_get_main_image",product_id:t,context:"frontend"},url:yith_wc_zoom_magnifier_storage_object.ajax_url,type:"post",error:function(t){console.log("ERROR - Yith_WC_Zoom_Magnifier"),console.log(t),g("#yith_wczm_traffic_light").val("free")},success:function(t){i.zoom.attr("href",t.url),i.IMG_zoomImage.src=t.url,i.IMG_smallImage=new Image,i.IMG_smallImage.src=i.zoomImage.attr("src"),t.gallery&&(g(".yith_magnifier_gallery").length?g(".yith_magnifier_gallery").closest(".thumbnails").replaceWith(t.gallery):g(".images").append(t.gallery),i.options.elements.gallery=g(".yith_magnifier_gallery li a")),g.browser&&g.browser.msie&&8==g.browser.version?g(i.IMG_zoomImage).load(function(){i._initGallery(),i._initTrap()}):g([i.IMG_zoomImage,i.IMG_smallImage]).imagesLoaded(function(){i._initGallery(),i._initTrap()}),g(document).on("click","a.yith_expand",function(t){t.preventDefault(),g().prettyPhoto({social_tools:!1,theme:"pp_woocommerce",horizontal_padding:20,opacity:.8,deeplinking:!1,callback:function(){g(".yith_expand").css("display","inline")}}),g.prettyPhoto.open(i.zoom[0].href,"",""),g(".yith_expand").css("display","none"),g(".pp_woocommerce .ppt").css({height:0,marginBottom:0})}),g(document).trigger("yith_magnifier_after_init_zoom"),g("#yith_wczm_traffic_light").val("free")}}):(i.IMG_zoomImage.src=i.zoom.attr("href"),i.IMG_smallImage=new Image,i.IMG_smallImage.src=i.zoomImage.attr("src"),g.browser&&g.browser.msie&&8==g.browser.version?g(i.IMG_zoomImage).load(function(){i._initTrap()}):g([i.IMG_zoomImage,i.IMG_smallImage]).imagesLoaded(function(){i._initTrap()}),g(document).on("click","a.yith_expand",function(t){t.preventDefault(),g().prettyPhoto({social_tools:!1,theme:"pp_woocommerce",horizontal_padding:20,opacity:.8,deeplinking:!1,callback:function(){g(".yith_expand").css("display","inline")}}),g.prettyPhoto.open(i.zoom[0].href,"",""),g(".yith_expand").css("display","none"),g(".pp_woocommerce .ppt").css({height:0,marginBottom:0})}),g(document).trigger("yith_magnifier_after_init_zoom"),g("#yith_wczm_traffic_light").val("free"))}},_initTrap:function(){var h,m=this,l=m.IMG_zoomImage,c=(m.IMG_smallImage,m.mx=0,m.my=0,m.controlTimer=0,m.lens=null,m.tint=null,m.softFocus=null,m.zoomDiv=null,m.cw=0,m.ch=0,m.zw=0,m.destU=0,m.destV=0,m.currU=0,m.currV=0,m.mouseTrap=null,m.options.elements.zoom),d=m.options.elements.zoomImage;g(".yith_magnifier_loading").remove(),this.element.find(".yith_magnifier_mousetrap")&&this.element.find(".yith_magnifier_mousetrap").remove(),this.mouseTrap=g('<div class="yith_magnifier_mousetrap pp_woocommerce" />').css({width:yith_wc_zoom_magnifier_storage_object.mouse_trap_width,height:yith_wc_zoom_magnifier_storage_object.mouse_trap_height,top:0,left:0}).appendTo(c.parent()),"undefined"!=typeof ywzm_data&&(g('<a href="#" class="yith_expand" style="display: inline;"></a>').appendTo(this.mouseTrap),g(".expand-button-hidden").clone().appendTo(g(".yith_expand")),g(".yith_magnifier_mousetrap .yith_expand .expand-button-hidden").show()),m.isPhone&&"disable"==m.options.phoneBehavior||(h="ontouchstart"in document.documentElement,this.mouseTrap.on("touchmove mousemove",this,function(t){m.options.onMove(),m.mx=("undefined"!=typeof t.originalEvent.touches?t.originalEvent.touches[0]:t).pageX,m.my=("undefined"!=typeof t.originalEvent.touches?t.originalEvent.touches[0]:t).pageY}).on("touchend mouseleave",this,function(t){return clearTimeout(m.controlTimer),m.lens&&m.lens.fadeOut(299),m.tint&&m.tint.fadeOut(299),m.softFocus&&m.softFocus.fadeOut(299),m.zoomDiv.fadeOut(300,function(){m._onLeave()}),!1}).on("touchstart click",this,function(t){m.options.onClick()}).on("touchstart mouseenter",this,function(t){if("free"==g("#yith_wczm_traffic_light").val()){m.options.onEnter(),h&&t.preventDefault(),m.mx=("undefined"!=typeof t.originalEvent.touches?t.originalEvent.touches[0]:t).pageX,m.my=("undefined"!=typeof t.originalEvent.touches?t.originalEvent.touches[0]:t).pageY,m.zw=t.data,m.zoomDiv&&(m.zoomDiv.stop(!0,!1),m.zoomDiv.remove());var i=m.options.adjustX,e=m.options.adjustY,o=d.outerWidth(),n=d.outerHeight(),a=m.options.zoomWidth,s=m.options.zoomHeight,r=("auto"==m.options.zoomWidth&&(a=o),"auto"==m.options.zoomHeight&&(s=n),c.parent());switch(m.options.position){case"top":e-=s;break;case"right":i+=o;break;case"bottom":e+=n;break;case"left":i-=a;break;case"inside":a=o,s=n;break;default:(r=g("#"+m.options.position)).length?(a=r.innerWidth(),s=r.innerHeight()):(r=c,i+=o,e+=n)}m.isPhone&&"inside"==m.options.phoneBehavior&&(a=o,s=n,e=i=0),m.zoomDiv=g('<div class="yith_magnifier_zoom_magnifier" />').css({left:i,top:e,width:a,height:s,"background-repeat":"no-repeat",backgroundImage:"url("+l.src+")"}).appendTo(r),d.attr("title")&&m.options.showTitle&&g('<div class="yith_magnifier_title">'+d.attr("title")+"</div>").appendTo(m.zoomDiv),!m.isPhone||"disable"!=m.options.phoneBehavior?m.zoomDiv.fadeIn(500):m.lens.fadeOut(299),m.lens&&(m.lens.remove(),m.lens=null),l.width<=1?m.cw=d.outerWidth()/l.naturalWidth*m.zoomDiv.width():m.cw=d.outerWidth()/l.width*m.zoomDiv.width(),l.height<=1?m.ch=d.outerHeight()/l.naturalHeight*m.zoomDiv.height():m.ch=d.outerHeight()/l.height*m.zoomDiv.height(),m.lens=g('<div class="yith_magnifier_lens" />').css({width:m.cw,height:m.ch}).appendTo(c);t=!1;m.options.tint&&(m.tint=g("<div />").css({display:"none",position:"absolute",left:0,top:0,width:d.outerWidth(),height:d.outerHeight(),backgroundColor:m.options.tint,opacity:m.options.tintOpacity}).appendTo(c),m.lens.append(g("<img />",{src:d.attr("src")})),t=!0,m.tint.fadeIn(500)),m.options.softFocus&&(m.softFocus=g("<div />").css({position:"absolute",display:"none",top:"1px",left:"1px",width:d.outerWidth(),height:d.outerHeight(),opacity:.5}).appendTo(c),m.softFocus.append(g("<img />",{src:d.attr("src")})),0==m.lens.find("img").length&&m.lens.append(g("<img />",{src:d.attr("src")})),t=!0,m.softFocus.fadeIn(500)),t||m.lens.css("opacity",m.options.lensOpacity),"inside"!==m.options.position&&m.lens.fadeIn(500),m.zw._controlLoop()}}))},_controlLoop:function(){var t,i,e=this;this.lens&&(t=this.mx-this.zoomImage.offset().left-.5*this.cw>>0,i=this.my-this.zoomImage.offset().top-.5*this.ch>>0,t<0?t=0:t>this.zoomImage.outerWidth()-this.cw&&(t=this.zoomImage.outerWidth()-this.cw),i<0?i=0:i>this.zoomImage.outerHeight()-this.ch&&(i=this.zoomImage.outerHeight()-this.ch),this.lens.css({left:t-2,top:i-1}),this.lens.find("img").css({width:this.zoomImage.outerWidth(),height:this.zoomImage.outerHeight(),marginLeft:-t+"px ",marginTop:-i+"px"}),this.IMG_zoomImage.width<=1?this.destU=t/this.zoomImage.outerWidth()*this.IMG_zoomImage.naturalWidth>>0:this.destU=t/this.zoomImage.outerWidth()*this.IMG_zoomImage.width>>0,this.IMG_zoomImage.height<=1?this.destV=i/this.zoomImage.outerHeight()*this.IMG_zoomImage.naturalHeight>>0:this.destV=i/this.zoomImage.outerHeight()*this.IMG_zoomImage.height>>0,this.currU+=(this.destU-this.currU)/this.options.smoothMove,this.currV+=(this.destV-this.currV)/this.options.smoothMove,this.zoomDiv.css("background-position",-(this.currU>>0)+"px "+-(this.currV>>0)+"px")),this.controlTimer=setTimeout(function(){e._controlLoop()},30)},_onLeave:function(){this.options.onLeave(),this.zoomDiv&&(this.zoomDiv.remove(),this.zoomDiv=null),this._removeElements()},_removeElements:function(){this.lens&&(this.lens.remove(),this.lens=null),this.tint&&(this.tint.remove(),this.tint=null),this.softFocus&&(this.softFocus.remove(),this.softFocus=null),0<this.element.find(".yith_magnifier_loading").length&&this.element.find(".yith_magnifier_loading").remove()},_isPhone:function(){var t=navigator.userAgent.toLowerCase();return t.match(/iphone/i)||t.match(/ipod/i)||t.match(/android/i)},destroy:function(){this.zoom&&this.zoom.unwrap(),this.mouseTrap&&(this.mouseTrap.unbind(),this.mouseTrap.remove(),this.mouseTrap=null),this.zoomDiv&&(this.zoomDiv.remove(),this.zoomDiv=null),this.options.disableRightClick&&g(document).unbind(),this._removeElements(),this.options.elements.gallery.unbind(),this.element.removeData("yith_magnifier")}},g.fn.yith_magnifier=function(i){var e;return"string"==typeof i?(e=Array.prototype.slice.call(arguments,1),this.each(function(){var t=g.data(this,"yith_magnifier");t?g.isFunction(t[i])&&"_"!==i.charAt(0)?t[i].apply(t,e):g.error("no such method '"+i+"' for yith_magnifier instance"):g.error("cannot call methods on yith_magnifier prior to initialization; attempted to call method '"+i+"'")})):this.each(function(){g.data(this,"yith_magnifier")?g.error("yith_magnifier already istantiated."):g.data(this,"yith_magnifier",new g.yith_magnifier(i,this))}),this}}((window,jQuery));
assets/js/ywzm_frontend.min.js CHANGED
@@ -1 +1 @@
1
- jQuery(function(r){var c,t,g,o,n,i,a,e,u,s,l=r(".images"),f=r(".yith_magnifier_zoom"),m=r(".yith_magnifier_zoom img").first(),v=l.find(".yith_magnifier_zoom").attr("href"),d=l.find(".yith_magnifier_zoom img").attr("src"),_=l.find(".thumbnails");if("undefined"==typeof yith_magnifier_options)return!1;l.yith_magnifier(yith_magnifier_options),r(document).on("found_variation","form.variations_form",function(i,e){var r=e.image_magnifier||v,t=d;e.image.src&&(t=e.image.src),f.attr("href",r),m.attr("src",t),m.attr("srcset",t),m.attr("src-orig",t),l.data("yith_magnifier")&&l.yith_magnifier("destroy"),l.yith_magnifier(yith_magnifier_options)}).on("reset_image",function(i){f.attr("href",v),m.attr("src",d),m.attr("srcset",d),m.attr("src-orig",d),l.find(".thumbnails").replaceWith(_),l.data("yith_magnifier")&&l.yith_magnifier("destroy"),l.yith_magnifier(yith_magnifier_options)}),r(".single-product.woocommerce div.product div.images ul.yith_magnifier_gallery").length&&(r("form.variations_form .variations select").trigger("change"),r(".single-product.woocommerce div.product div.images div.thumbnails").css("width",r(".single-product.woocommerce div.product div.images div.thumbnails").width()),t=r(".single-product.woocommerce div.product div.images ul.yith_magnifier_gallery").data("circular"),g=r(".single-product.woocommerce div.product div.images ul.yith_magnifier_gallery").data("columns"),o=r(".single-product.woocommerce div.product div.images ul.yith_magnifier_gallery").data("slider_infinite"),n=r(".single-product.woocommerce div.product div.images .yith_magnifier_gallery li").width(),i=r(".single-product.woocommerce div.product div.images .yith_magnifier_gallery li").css("margin-left"),c=void 0===i?0:i.split("px").shift(),e=0,(a=[]).push(e),r(".single-product.woocommerce div.product div.images ul.yith_magnifier_gallery li").each(function(){r(this).css("width",n+"px"),r(this).css("margin-left",i),r(this).css("margin-right",i),r(this).show(),e+=2*c+n,a.push(e),0}),u=e,r(".single-product.woocommerce div.product div.images .yith_magnifier_gallery").css("width",u+"px"),r("#slider-next").css("top","50%"),r("#slider-next").css("transform","translateY( -50% )"),r("#slider-prev").css("top","50%"),r("#slider-prev").css("transform","translateY( -50% )"),s=0,r("body").on("click","#slider-next",function(){if(r(".single-product.woocommerce div.product div.images .yith_magnifier_gallery li.last").next().is("li")){s++,r(".single-product.woocommerce div.product div.images ul.yith_magnifier_gallery").animate({marginLeft:"-"+a[s]+"px"});var i=r(".single-product.woocommerce div.product div.images .yith_magnifier_gallery li.first").next();r(".single-product.woocommerce div.product div.images .yith_magnifier_gallery li.first").removeClass("first"),i.addClass("first"),i=r(".single-product.woocommerce div.product div.images .yith_magnifier_gallery li.last").next(),r(".single-product.woocommerce div.product div.images .yith_magnifier_gallery li.last").removeClass("last"),i.addClass("last")}else if("yes"!=t||r(".single-product.woocommerce div.product div.images ul.yith_magnifier_gallery").is(":animated")){if("yes"==o&&!r(".single-product.woocommerce div.product div.images ul.yith_magnifier_gallery").is(":animated")){for(;r(".single-product.woocommerce div.product div.images .yith_magnifier_gallery li.first").prev().is("li");){var e=r(".single-product.woocommerce div.product div.images .yith_magnifier_gallery li.first").prev();r(".single-product.woocommerce div.product div.images .yith_magnifier_gallery li.first").removeClass("first"),e.addClass("first"),e=r(".single-product.woocommerce div.product div.images .yith_magnifier_gallery li.last").prev(),r(".single-product.woocommerce div.product div.images .yith_magnifier_gallery li.last").removeClass("last"),e.addClass("last")}s=0,r(".single-product.woocommerce div.product div.images ul.yith_magnifier_gallery").animate({marginLeft:"-"+a[s]+"px"})}}else{s--,r(".single-product.woocommerce div.product div.images ul.yith_magnifier_gallery").css("margin-left","-"+a[s]+"px");i=r(".single-product.woocommerce div.product div.images .yith_magnifier_gallery li").first(),i=(r(".single-product.woocommerce div.product div.images .yith_magnifier_gallery li.last").after(i),r(".single-product.woocommerce div.product div.images .yith_magnifier_gallery li.last").removeClass("last"),i.addClass("last"),r(".single-product.woocommerce div.product div.images .yith_magnifier_gallery li.first").next());r(".single-product.woocommerce div.product div.images .yith_magnifier_gallery li.first").removeClass("first"),i.addClass("first"),s++,r(".single-product.woocommerce div.product div.images ul.yith_magnifier_gallery").animate({marginLeft:"-"+a[s]+"px"})}}),r("body").on("click","#slider-prev",function(){if(r(".single-product.woocommerce div.product div.images .yith_magnifier_gallery li.first").prev().is("li")){s--,r(".single-product.woocommerce div.product div.images ul.yith_magnifier_gallery").animate({marginLeft:"-"+a[s]+"px"});var i=r(".single-product.woocommerce div.product div.images .yith_magnifier_gallery li.first").prev();r(".single-product.woocommerce div.product div.images .yith_magnifier_gallery li.first").removeClass("first"),i.addClass("first"),i=r(".single-product.woocommerce div.product div.images .yith_magnifier_gallery li.last").prev(),r(".single-product.woocommerce div.product div.images .yith_magnifier_gallery li.last").removeClass("last"),i.addClass("last")}else if("yes"!=t||r(".single-product.woocommerce div.product div.images ul.yith_magnifier_gallery").is(":animated")){if("yes"==o&&!r(".single-product.woocommerce div.product div.images ul.yith_magnifier_gallery").is(":animated")){for(;r(".single-product.woocommerce div.product div.images .yith_magnifier_gallery li.last").next().is("li");){var e=r(".single-product.woocommerce div.product div.images .yith_magnifier_gallery li.first").next();r(".single-product.woocommerce div.product div.images .yith_magnifier_gallery li.first").removeClass("first"),e.addClass("first"),e=r(".single-product.woocommerce div.product div.images .yith_magnifier_gallery li.last").next(),r(".single-product.woocommerce div.product div.images .yith_magnifier_gallery li.last").removeClass("last"),e.addClass("last")}s=a.length-1-g,r(".single-product.woocommerce div.product div.images ul.yith_magnifier_gallery").animate({marginLeft:"-"+a[s]+"px"})}}else{s++,r(".single-product.woocommerce div.product div.images ul.yith_magnifier_gallery").css("margin-left","-"+a[s]+"px");i=r(".single-product.woocommerce div.product div.images .yith_magnifier_gallery li").last(),i=(r(".single-product.woocommerce div.product div.images .yith_magnifier_gallery li.first").before(i),r(".single-product.woocommerce div.product div.images .yith_magnifier_gallery li.first").removeClass("first"),i.addClass("first"),r(".single-product.woocommerce div.product div.images .yith_magnifier_gallery li.last").prev());r(".single-product.woocommerce div.product div.images .yith_magnifier_gallery li.last").removeClass("last"),i.addClass("last"),s--,r(".single-product.woocommerce div.product div.images ul.yith_magnifier_gallery").animate({marginLeft:"-"+a[s]+"px"})}}),"yes"==r(".single-product.woocommerce div.product div.images ul.yith_magnifier_gallery").data("auto_carousel")&&setTimeout(function p(){r("#slider-next").click(),setTimeout(p,3e3)},3e3),r(document).on("mouseover",".yith_slider_arrow",function(i){r(this).find("path").css("fill",ywzm_data.slider_colors_hover_array.arrow)}),r(document).on("mouseout",".yith_slider_arrow",function(i){r(this).find("path").css("fill",ywzm_data.slider_colors_array.arrow)}))});
1
+ jQuery(function(r){var i,t,o,a,e,s,l,m,d,c,g=r(".images"),n=r(".yith_magnifier_zoom"),u=r(".yith_magnifier_zoom img").first(),f=g.find(".yith_magnifier_zoom").attr("href"),v=g.find(".yith_magnifier_zoom img").attr("src"),_=g.find(".thumbnails");if("undefined"==typeof yith_magnifier_options)return!1;g.yith_magnifier(yith_magnifier_options),r(document).on("found_variation","form.variations_form",function(i,e){var r=e.image_magnifier||f,t=v;e.image.src&&(t=e.image.src),n.attr("href",r),u.attr("src",t),u.attr("srcset",t),u.attr("src-orig",t),g.data("yith_magnifier")&&g.yith_magnifier("destroy"),g.yith_magnifier(yith_magnifier_options)}).on("reset_image",function(i){n.attr("href",f),u.attr("src",v),u.attr("srcset",v),u.attr("src-orig",v),g.find(".thumbnails").replaceWith(_),g.data("yith_magnifier")&&g.yith_magnifier("destroy"),g.yith_magnifier(yith_magnifier_options)}),r(".single-product.woocommerce div.product div.images ul.yith_magnifier_gallery").length&&(r("form.variations_form .variations select").trigger("change"),r(".single-product.woocommerce div.product div.images div.thumbnails").css("width",r(".single-product.woocommerce div.product div.images div.thumbnails").width()),t=r(".single-product.woocommerce div.product div.images ul.yith_magnifier_gallery").data("circular"),o=r(".single-product.woocommerce div.product div.images ul.yith_magnifier_gallery").data("columns"),a=r(".single-product.woocommerce div.product div.images ul.yith_magnifier_gallery").data("slider_infinite"),e=r(".single-product.woocommerce div.product div.images .yith_magnifier_gallery li").width(),s=r(".single-product.woocommerce div.product div.images .yith_magnifier_gallery li").css("margin-left"),i=void 0===s?0:s.split("px").shift(),m=0,(l=[]).push(m),r(".single-product.woocommerce div.product div.images ul.yith_magnifier_gallery li").each(function(){r(this).css("width",e+"px"),r(this).css("margin-left",s),r(this).css("margin-right",s),r(this).show(),m+=2*i+e,l.push(m),0}),d=m,r(".single-product.woocommerce div.product div.images .yith_magnifier_gallery").css("width",d+"px"),r("#slider-next").css("top","50%"),r("#slider-next").css("transform","translateY( -50% )"),r("#slider-prev").css("top","50%"),r("#slider-prev").css("transform","translateY( -50% )"),c=0,r("body").on("click","#slider-next",function(){if(r(".single-product.woocommerce div.product div.images .yith_magnifier_gallery li.last").next().is("li")){c++,r(".single-product.woocommerce div.product div.images ul.yith_magnifier_gallery").animate({marginLeft:"-"+l[c]+"px"});var i=r(".single-product.woocommerce div.product div.images .yith_magnifier_gallery li.first").next();r(".single-product.woocommerce div.product div.images .yith_magnifier_gallery li.first").removeClass("first"),i.addClass("first"),i=r(".single-product.woocommerce div.product div.images .yith_magnifier_gallery li.last").next(),r(".single-product.woocommerce div.product div.images .yith_magnifier_gallery li.last").removeClass("last"),i.addClass("last")}else if("yes"!=t||r(".single-product.woocommerce div.product div.images ul.yith_magnifier_gallery").is(":animated")){if("yes"==a&&!r(".single-product.woocommerce div.product div.images ul.yith_magnifier_gallery").is(":animated")){for(;r(".single-product.woocommerce div.product div.images .yith_magnifier_gallery li.first").prev().is("li");){var e=r(".single-product.woocommerce div.product div.images .yith_magnifier_gallery li.first").prev();r(".single-product.woocommerce div.product div.images .yith_magnifier_gallery li.first").removeClass("first"),e.addClass("first"),e=r(".single-product.woocommerce div.product div.images .yith_magnifier_gallery li.last").prev(),r(".single-product.woocommerce div.product div.images .yith_magnifier_gallery li.last").removeClass("last"),e.addClass("last")}c=0,r(".single-product.woocommerce div.product div.images ul.yith_magnifier_gallery").animate({marginLeft:"-"+l[c]+"px"})}}else{c--,r(".single-product.woocommerce div.product div.images ul.yith_magnifier_gallery").css("margin-left","-"+l[c]+"px");i=r(".single-product.woocommerce div.product div.images .yith_magnifier_gallery li").first(),i=(r(".single-product.woocommerce div.product div.images .yith_magnifier_gallery li.last").after(i),r(".single-product.woocommerce div.product div.images .yith_magnifier_gallery li.last").removeClass("last"),i.addClass("last"),r(".single-product.woocommerce div.product div.images .yith_magnifier_gallery li.first").next());r(".single-product.woocommerce div.product div.images .yith_magnifier_gallery li.first").removeClass("first"),i.addClass("first"),c++,r(".single-product.woocommerce div.product div.images ul.yith_magnifier_gallery").animate({marginLeft:"-"+l[c]+"px"})}}),r("body").on("click","#slider-prev",function(){if(r(".single-product.woocommerce div.product div.images .yith_magnifier_gallery li.first").prev().is("li")){c--,r(".single-product.woocommerce div.product div.images ul.yith_magnifier_gallery").animate({marginLeft:"-"+l[c]+"px"});var i=r(".single-product.woocommerce div.product div.images .yith_magnifier_gallery li.first").prev();r(".single-product.woocommerce div.product div.images .yith_magnifier_gallery li.first").removeClass("first"),i.addClass("first"),i=r(".single-product.woocommerce div.product div.images .yith_magnifier_gallery li.last").prev(),r(".single-product.woocommerce div.product div.images .yith_magnifier_gallery li.last").removeClass("last"),i.addClass("last")}else if("yes"!=t||r(".single-product.woocommerce div.product div.images ul.yith_magnifier_gallery").is(":animated")){if("yes"==a&&!r(".single-product.woocommerce div.product div.images ul.yith_magnifier_gallery").is(":animated")){for(;r(".single-product.woocommerce div.product div.images .yith_magnifier_gallery li.last").next().is("li");){var e=r(".single-product.woocommerce div.product div.images .yith_magnifier_gallery li.first").next();r(".single-product.woocommerce div.product div.images .yith_magnifier_gallery li.first").removeClass("first"),e.addClass("first"),e=r(".single-product.woocommerce div.product div.images .yith_magnifier_gallery li.last").next(),r(".single-product.woocommerce div.product div.images .yith_magnifier_gallery li.last").removeClass("last"),e.addClass("last")}c=l.length-1-o,r(".single-product.woocommerce div.product div.images ul.yith_magnifier_gallery").animate({marginLeft:"-"+l[c]+"px"})}}else{c++,r(".single-product.woocommerce div.product div.images ul.yith_magnifier_gallery").css("margin-left","-"+l[c]+"px");i=r(".single-product.woocommerce div.product div.images .yith_magnifier_gallery li").last(),i=(r(".single-product.woocommerce div.product div.images .yith_magnifier_gallery li.first").before(i),r(".single-product.woocommerce div.product div.images .yith_magnifier_gallery li.first").removeClass("first"),i.addClass("first"),r(".single-product.woocommerce div.product div.images .yith_magnifier_gallery li.last").prev());r(".single-product.woocommerce div.product div.images .yith_magnifier_gallery li.last").removeClass("last"),i.addClass("last"),c--,r(".single-product.woocommerce div.product div.images ul.yith_magnifier_gallery").animate({marginLeft:"-"+l[c]+"px"})}}),"yes"==r(".single-product.woocommerce div.product div.images ul.yith_magnifier_gallery").data("auto_carousel")&&setTimeout(function p(){r("#slider-next").click(),setTimeout(p,3e3)},3e3),r(document).on("mouseover",".yith_slider_arrow",function(i){r(this).find("path").css("fill",ywzm_data.slider_colors_hover_array.arrow)}),r(document).on("mouseout",".yith_slider_arrow",function(i){r(this).find("path").css("fill",ywzm_data.slider_colors_array.arrow)}))});
init.php CHANGED
@@ -3,13 +3,13 @@
3
  * Plugin Name: YITH WooCommerce Product Gallery & Image Zoom
4
  * Plugin URI: https://yithemes.com/themes/plugins/yith-woocommerce-zoom-magnifier/
5
  * Description: <code><strong>YITH WooCommerce Product Gallery & Image Zoom</strong></code> allows you to add a zoom effect to product images and a thumbnail slider for the product image gallery. <a href="https://yithemes.com/" target="_blank">Get more plugins for your e-commerce shop on <strong>YITH</strong></a>.
6
- * Version: 2.6.0
7
  * Author: YITH
8
  * Author URI: https://yithemes.com/
9
  * Text Domain: yith-woocommerce-zoom-magnifier
10
  * Domain Path: /languages/
11
- * WC requires at least: 6.0
12
- * WC tested up to: 6.2
13
  **/
14
 
15
  /* Copyright 2013-2018 Your Inspiration Themes (email : plugins@yithemes.com)
@@ -78,7 +78,7 @@ register_activation_hook ( __FILE__, 'yith_plugin_registration_hook' );
78
 
79
  defined ( 'YITH_YWZM_FREE_INIT' ) || define ( 'YITH_YWZM_FREE_INIT', plugin_basename ( __FILE__ ) );
80
  defined ( 'YITH_YWZM_SLUG' ) || define ( 'YITH_YWZM_SLUG', 'yith-woocommerce-zoom-magnifier' );
81
- defined ( 'YITH_YWZM_VERSION' ) || define ( 'YITH_YWZM_VERSION', '2.6.0' );
82
  defined ( 'YITH_YWZM_SCRIPT_VERSION' ) || define ( 'YITH_YWZM_SCRIPT_VERSION', '2.1.1' );
83
 
84
  defined ( 'YITH_YWZM_FILE' ) || define ( 'YITH_YWZM_FILE', __FILE__ );
3
  * Plugin Name: YITH WooCommerce Product Gallery & Image Zoom
4
  * Plugin URI: https://yithemes.com/themes/plugins/yith-woocommerce-zoom-magnifier/
5
  * Description: <code><strong>YITH WooCommerce Product Gallery & Image Zoom</strong></code> allows you to add a zoom effect to product images and a thumbnail slider for the product image gallery. <a href="https://yithemes.com/" target="_blank">Get more plugins for your e-commerce shop on <strong>YITH</strong></a>.
6
+ * Version: 2.7.0
7
  * Author: YITH
8
  * Author URI: https://yithemes.com/
9
  * Text Domain: yith-woocommerce-zoom-magnifier
10
  * Domain Path: /languages/
11
+ * WC requires at least: 6.1
12
+ * WC tested up to: 6.3
13
  **/
14
 
15
  /* Copyright 2013-2018 Your Inspiration Themes (email : plugins@yithemes.com)
78
 
79
  defined ( 'YITH_YWZM_FREE_INIT' ) || define ( 'YITH_YWZM_FREE_INIT', plugin_basename ( __FILE__ ) );
80
  defined ( 'YITH_YWZM_SLUG' ) || define ( 'YITH_YWZM_SLUG', 'yith-woocommerce-zoom-magnifier' );
81
+ defined ( 'YITH_YWZM_VERSION' ) || define ( 'YITH_YWZM_VERSION', '2.7.0' );
82
  defined ( 'YITH_YWZM_SCRIPT_VERSION' ) || define ( 'YITH_YWZM_SCRIPT_VERSION', '2.1.1' );
83
 
84
  defined ( 'YITH_YWZM_FILE' ) || define ( 'YITH_YWZM_FILE', __FILE__ );
languages/yith-woocommerce-zoom-magnifier.pot CHANGED
@@ -2,9 +2,9 @@
2
  # This file is distributed under the same license as the YITH WooCommerce Product Gallery & Image Zoom package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: YITH WooCommerce Product Gallery & Image Zoom 2.6.0\n"
6
  "Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
7
- "POT-Creation-Date: 2022-01-27 15:23:14+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
2
  # This file is distributed under the same license as the YITH WooCommerce Product Gallery & Image Zoom package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: YITH WooCommerce Product Gallery & Image Zoom 2.7.0\n"
6
  "Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
7
+ "POT-Creation-Date: 2022-03-02 14:38:57+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
plugin-fw/assets/css/yit-plugin-panel.css CHANGED
@@ -562,7 +562,6 @@
562
  /* === Plugins Licence Activation === */
563
 
564
  .yit-container.plugin-licence-activation {
565
- font-family : 'Raleway', sans-serif;
566
  }
567
 
568
  .yit-container.plugin-licence-activation .to-active-wrapper {
562
  /* === Plugins Licence Activation === */
563
 
564
  .yit-container.plugin-licence-activation {
 
565
  }
566
 
567
  .yit-container.plugin-licence-activation .to-active-wrapper {
plugin-fw/assets/css/yit-upgrade-to-pro.css CHANGED
@@ -5,7 +5,6 @@
5
  }
6
 
7
  #upgrade-to-premium h1 {
8
- font-family : 'Raleway', sans-serif;
9
  text-transform : uppercase;
10
  font-size : 30px;
11
  font-weight : 700;
@@ -13,7 +12,6 @@
13
  }
14
 
15
  #upgrade-to-premium h3 {
16
- font-family : 'Raleway', sans-serif;
17
  font-size : 20px;
18
  line-height : 29px;
19
  font-weight : 700;
@@ -29,7 +27,6 @@
29
  }
30
 
31
  #upgrade-to-premium p.highlighted {
32
- font-family : 'Raleway', sans-serif;
33
  font-size : 20px;
34
  line-height : 27px;
35
  color : #808a97;
5
  }
6
 
7
  #upgrade-to-premium h1 {
 
8
  text-transform : uppercase;
9
  font-size : 30px;
10
  font-weight : 700;
12
  }
13
 
14
  #upgrade-to-premium h3 {
 
15
  font-size : 20px;
16
  line-height : 29px;
17
  font-weight : 700;
27
  }
28
 
29
  #upgrade-to-premium p.highlighted {
 
30
  font-size : 20px;
31
  line-height : 27px;
32
  color : #808a97;
plugin-fw/assets/css/yith-fields.css CHANGED
@@ -837,6 +837,10 @@ YITH UI
837
  border-color : #d8d8d8;
838
  }
839
 
 
 
 
 
840
  .yith-plugin-ui .form-table th {
841
  width : 200px;
842
  padding-right : 50px;
@@ -1223,6 +1227,7 @@ DATEPICKER
1223
  div#ui-datepicker-div.yith-plugin-fw-datepicker-div {
1224
  border : 0;
1225
  box-shadow : 0 2px 4px 0 rgba(0, 0, 0, 0.12), 0 2px 10px 0 rgba(0, 0, 0, 0.12) !important;
 
1226
  }
1227
 
1228
  #ui-datepicker-div.yith-plugin-fw-datepicker-div .ui-datepicker-header.ui-widget-header {
837
  border-color : #d8d8d8;
838
  }
839
 
840
+ .yith-plugin-ui option:disabled {
841
+ color : #aaa;
842
+ }
843
+
844
  .yith-plugin-ui .form-table th {
845
  width : 200px;
846
  padding-right : 50px;
1227
  div#ui-datepicker-div.yith-plugin-fw-datepicker-div {
1228
  border : 0;
1229
  box-shadow : 0 2px 4px 0 rgba(0, 0, 0, 0.12), 0 2px 10px 0 rgba(0, 0, 0, 0.12) !important;
1230
+ padding : 0.8em;
1231
  }
1232
 
1233
  #ui-datepicker-div.yith-plugin-fw-datepicker-div .ui-datepicker-header.ui-widget-header {
plugin-fw/assets/css/yith-icon.css CHANGED
@@ -6,10 +6,10 @@
6
  /* stylelint-disable function-url-quotes, declaration-colon-newline-after */
7
  @font-face {
8
  font-family: yith-icon;
9
- src: url("../fonts/yith-icon.eot?fb249816d6b6b6ea4bce1bf9f7028937");
10
- src: url("../fonts/yith-icon.eot?fb249816d6b6b6ea4bce1bf9f7028937#iefix") format("embedded-opentype"),
11
- url("data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAACJoAAsAAAAAOVgAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADMAAABCsP6z7U9TLzIAAAE8AAAAQAAAAFY4xksNY21hcAAAAXwAAAG1AAAE8hMl1hhnbHlmAAADNAAAGyAAACwY5txa+GhlYWQAAB5UAAAAMAAAADYcu7gWaGhlYQAAHoQAAAAeAAAAJAQ1AjRobXR4AAAepAAAADAAAAD4eeb/52xvY2EAAB7UAAAAfgAAAH5LMz6cbWF4cAAAH1QAAAAfAAAAIAFcAVZuYW1lAAAfdAAAATAAAAIiyMcJZnBvc3QAACCkAAABwwAAAtlwX/nWeJxjYGRgYOBikGPQYWB0cfMJYeBgYGGAAJAMY05meiJQDMoDyrGAaQ4gZoOIAgCKIwNPAHicY2Bk/M44gYGVgYNBjDGNgYHBHUp/ZZBkaGFgYGJgZWbACgLSXFMYHF4yfJRlAnH1mNgYeIE0I4gDAI+/CFF4nO3UR47bUBCE4Z9Ko5xzmOyccwZ8BMMn9YG88q6X7wTjapaPYQqfQD1RT010F4E20JSn0oLqDxV5/NZqVa836dfrLX7pc1evBsRtaZTT3Z3OKFVp51l9VPr+Bz/rXduc0WPCkg1H7skLXvGRD1xz0Nk5J4aMdMUz3vCer7zkCQPt0WfKjjlXfOEbWx6z4p1q+cR9LnnNB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5JL6omPW9Uswrwi00TLeCWsSnUtSsq1LRwPfzoRVdhAVkaHlgcSXlbMOLlZxH1WF5p8VgttuOvaRa1tF8ZBRrQa731sT+08zRvRN8LMGlXMG3JNtKAxUwcbQOqpMX2MgVoWxBHlodJk1GRgFpwf34UNYNnqmibttPXRv3nXGCdU1gXy3BVFeqQVub2t8Ha4XOu1sKWh9db5qBhPGL5JYL1uqyT5C2UN1gAA") format("woff"),
12
- url("../fonts/yith-icon.ttf?fb249816d6b6b6ea4bce1bf9f7028937") format("truetype");
13
  font-weight: 400;
14
  font-style: normal;
15
  }
@@ -231,6 +231,14 @@
231
  content: "\e90a";
232
  }
233
 
 
 
 
 
 
 
 
 
234
  .yith-icon-reply:before {
235
  content: "\e91a";
236
  }
@@ -243,6 +251,10 @@
243
  content: "\f10b";
244
  }
245
 
 
 
 
 
246
  .yith-icon-shield-money:before {
247
  content: "\e917";
248
  }
@@ -263,6 +275,14 @@
263
  content: "\e90d";
264
  }
265
 
 
 
 
 
 
 
 
 
266
  .yith-icon-update:before {
267
  content: "\e90b";
268
  }
6
  /* stylelint-disable function-url-quotes, declaration-colon-newline-after */
7
  @font-face {
8
  font-family: yith-icon;
9
+ src: url("../fonts/yith-icon.eot?f18470aa7bb66438d58ed5595f31329d");
10
+ src: url("../fonts/yith-icon.eot?f18470aa7bb66438d58ed5595f31329d#iefix") format("embedded-opentype"),
11
+ url("data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAACOAAAsAAAAAPmQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADMAAABCsP6z7U9TLzIAAAE8AAAAQAAAAFY4xksUY21hcAAAAXwAAAHdAAAFQMuqb0RnbHlmAAADXAAAG+4AADCQkuhUxWhlYWQAAB9MAAAAMAAAADYdmQfiaGhlYQAAH3wAAAAeAAAAJAQ1AjlobXR4AAAfnAAAADAAAAEMg+b/52xvY2EAAB/MAAAAiAAAAIh7GYPYbWF4cAAAIFQAAAAfAAAAIAFhA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QSKVK6VYo0EeanoOAA0FPQG7P+QbbXWhYkLpAT5Aw5Q06QMmfIUfJsRi4SdqXV99682dEAGOILHqrj4bZ+q9PCDdWF26ShcIf8JNzFAM/CPfoj4T5eMRce4AEBf/A61W/3cMIt3OFNuE3/XbhD/hDu4hGfwj3638J9bPAjPMCLNz+nLhmloSnWOj5mgW10AxttD6kp1NSfNN5KF9oGTu/U9qwOp3jmXKQia3K1NIXTWWZUac1eh85PnCsX43Ekvh+aHGek3Cbh1ilCGBRYQyPGERk3tlfq/50NOywO1JVSmMLH5EpuxVxRZwNWNHbMbplT7D1x5oyuQ0QdMWOQk5Z1Z5XOeA2dsq7t6YT0fU6oukosMOaN/uT9enb+C6sEYKp4nG2RWXfbIBCFdWPJlWXVSdqm+75v6r5vaZv+EQoji2MEKkjx0b8vSE6ah/LA+e4McweGaCsaVxL9fx1gCxPESDDFKaSYIcMcOU5jgW3sYBdncBbnsIfzuICLuITLuIKruIbruIGbuIXbuIO7uIf7eICHeITHeIKnKPAMz/ECL/EKr/EGb/EO7/EBH/EJn/EFX/EN+/iOH/iJA/yKMsa56XQr9XLBrDXrQpi1Lphqs39yk1FUticyQW6PaOWyGlLzEzofuWtCIj0S2W+mVwWviK/igDlnirRgtmBCLI5FbTT1u8fS+QLRKUqPIjFnrpoNNsE+H4lLyxXtjaKxZmnJuU00GaIJV9555ndHoTAZKOam6efckpBtwZkVCfe31bGwbBmHYEY9FcNRMfGYV6QaP7KiYloksmZLyqUuTeH+dMy7xEHMlXRt4YhZXsXK8NXMn9OylGTTmklVmK6d1VJ3brjIQPPh3Zvx1MbStGF9w9SkEeW0IdP4ETRqrIgDpL6bGVSAxFKjer87amPHDin1EP7W5a6SpMQ419QZO3xXHCBrZU1jy6S1fqxppzeeAaZdowwTaefIFqYsk0MpyOysmdVhAq2VTC8VLdbGev+jfnEv2yqK/gK/luSBAA==") format("woff"),
12
+ url("../fonts/yith-icon.ttf?f18470aa7bb66438d58ed5595f31329d") format("truetype");
13
  font-weight: 400;
14
  font-style: normal;
15
  }
231
  content: "\e90a";
232
  }
233
 
234
+ .yith-icon-redo-alt:before {
235
+ content: "\f121";
236
+ }
237
+
238
+ .yith-icon-redo:before {
239
+ content: "\f11e";
240
+ }
241
+
242
  .yith-icon-reply:before {
243
  content: "\e91a";
244
  }
251
  content: "\f10b";
252
  }
253
 
254
+ .yith-icon-settings:before {
255
+ content: "\f123";
256
+ }
257
+
258
  .yith-icon-shield-money:before {
259
  content: "\e917";
260
  }
275
  content: "\e90d";
276
  }
277
 
278
+ .yith-icon-undo-alt:before {
279
+ content: "\f120";
280
+ }
281
+
282
+ .yith-icon-undo:before {
283
+ content: "\f11f";
284
+ }
285
+
286
  .yith-icon-update:before {
287
  content: "\e90b";
288
  }
plugin-fw/assets/fonts/yith-icon.eot CHANGED
Binary file
plugin-fw/assets/fonts/yith-icon.ttf CHANGED
Binary file
plugin-fw/assets/fonts/yith-icon.woff2 CHANGED
Binary file
plugin-fw/includes/class-yit-assets.php CHANGED
@@ -90,8 +90,6 @@ if ( ! class_exists( 'YIT_Assets' ) ) {
90
  wp_register_style( 'yit-plugin-metaboxes', YIT_CORE_PLUGIN_URL . '/assets/css/metaboxes.css', array( 'yith-plugin-ui' ), $this->version );
91
  wp_register_style( 'yith-plugin-fw-fields', YIT_CORE_PLUGIN_URL . '/assets/css/yith-fields.css', array( 'yith-plugin-ui' ), $this->version );
92
 
93
- wp_register_style( 'raleway-font', '//fonts.googleapis.com/css?family=Raleway:100,200,300,400,500,600,700,800,900', array(), $this->version );
94
-
95
  $wc_version_suffix = '';
96
  if ( function_exists( 'WC' ) || ! empty( $woocommerce ) ) {
97
  $woocommerce_version = function_exists( 'WC' ) ? WC()->version : $woocommerce->version;
90
  wp_register_style( 'yit-plugin-metaboxes', YIT_CORE_PLUGIN_URL . '/assets/css/metaboxes.css', array( 'yith-plugin-ui' ), $this->version );
91
  wp_register_style( 'yith-plugin-fw-fields', YIT_CORE_PLUGIN_URL . '/assets/css/yith-fields.css', array( 'yith-plugin-ui' ), $this->version );
92
 
 
 
93
  $wc_version_suffix = '';
94
  if ( function_exists( 'WC' ) || ! empty( $woocommerce ) ) {
95
  $woocommerce_version = function_exists( 'WC' ) ? WC()->version : $woocommerce->version;
plugin-fw/includes/class-yit-icons.php CHANGED
@@ -30,7 +30,7 @@ if ( ! class_exists( 'YIT_Icons' ) ) {
30
  */
31
  private $data
32
  = array(
33
- 'font_awesome_version' => '4.6.3',
34
  'icons' => array(
35
  'FontAwesome' => array(
36
  '\f000' => 'glass',
@@ -667,6 +667,47 @@ if ( ! class_exists( 'YIT_Icons' ) ) {
667
  '\f2b2' => 'themeisle',
668
  '\f2b3' => 'google-plus-official',
669
  '\f2b4' => 'font-awesome',
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
670
  ),
671
  'Dashicons' => array(
672
  '\f100' => 'admin-appearance',
@@ -1100,7 +1141,7 @@ if ( ! class_exists( 'YIT_Icons' ) ) {
1100
  * Enqueue Scripts
1101
  */
1102
  public function enqueue_scripts() {
1103
- wp_register_style( 'font-awesome', "https://maxcdn.bootstrapcdn.com/font-awesome/{$this->font_awesome_version}/css/font-awesome.min.css", array(), $this->font_awesome_version );
1104
 
1105
  wp_add_inline_style( 'font-awesome', $this->get_inline_style( 'font-awesome' ) );
1106
 
30
  */
31
  private $data
32
  = array(
33
+ 'font_awesome_version' => '4.7.0',
34
  'icons' => array(
35
  'FontAwesome' => array(
36
  '\f000' => 'glass',
667
  '\f2b2' => 'themeisle',
668
  '\f2b3' => 'google-plus-official',
669
  '\f2b4' => 'font-awesome',
670
+ '\f2b5' => 'handshake-o',
671
+ '\f2b6' => 'envelope-open',
672
+ '\f2b7' => 'envelope-open-o',
673
+ '\f2b8' => 'linode',
674
+ '\f2b9' => 'address-book',
675
+ '\f2ba' => 'address-book-o',
676
+ '\f2bb' => 'address-card',
677
+ '\f2bc' => 'address-card-o',
678
+ '\f2bd' => 'user-circle',
679
+ '\f2be' => 'user-circle-o',
680
+ '\f2c0' => 'user-o',
681
+ '\f2c1' => 'id-badge',
682
+ '\f2c2' => 'id-card',
683
+ '\f2c3' => 'id-card-o',
684
+ '\f2c4' => 'quora',
685
+ '\f2c5' => 'free-code-camp',
686
+ '\f2c6' => 'telegram',
687
+ '\f2c7' => 'thermometer-full',
688
+ '\f2c8' => 'thermometer-three-quarters',
689
+ '\f2c9' => 'thermometer-half',
690
+ '\f2ca' => 'thermometer-quarter',
691
+ '\f2cb' => 'thermometer-empty',
692
+ '\f2cc' => 'shower',
693
+ '\f2cd' => 'bath',
694
+ '\f2ce' => 'podcast',
695
+ '\f2d0' => 'window-maximize',
696
+ '\f2d1' => 'window-minimize',
697
+ '\f2d2' => 'window-restore',
698
+ '\f2d3' => 'window-close',
699
+ '\f2d4' => 'window-close-o',
700
+ '\f2d5' => 'bandcamp',
701
+ '\f2d6' => 'grav',
702
+ '\f2d7' => 'etsy',
703
+ '\f2d8' => 'imdb',
704
+ '\f2d9' => 'ravelry',
705
+ '\f2da' => 'eercast',
706
+ '\f2db' => 'microchip',
707
+ '\f2dc' => 'snowflake-o',
708
+ '\f2dd' => 'superpowers',
709
+ '\f2de' => 'wpexplorer',
710
+ '\f2e0' => 'meetup',
711
  ),
712
  'Dashicons' => array(
713
  '\f100' => 'admin-appearance',
1141
  * Enqueue Scripts
1142
  */
1143
  public function enqueue_scripts() {
1144
+ wp_register_style( 'font-awesome', YIT_CORE_PLUGIN_URL . '/assets/fonts/font-awesome/font-awesome.min.css', array(), $this->font_awesome_version );
1145
 
1146
  wp_add_inline_style( 'font-awesome', $this->get_inline_style( 'font-awesome' ) );
1147
 
plugin-fw/includes/class-yit-plugin-panel-woocommerce.php CHANGED
@@ -420,7 +420,6 @@ if ( ! class_exists( 'YIT_Plugin_Panel_WooCommerce' ) ) {
420
 
421
  wp_enqueue_style( 'yith-plugin-fw-fields' );
422
  wp_enqueue_style( 'woocommerce_admin_styles' );
423
- wp_enqueue_style( 'raleway-font' );
424
 
425
  wp_enqueue_script( 'woocommerce_settings', $woocommerce->plugin_url() . '/assets/js/admin/settings.min.js', $woocommerce_settings_deps, $woocommerce_version, true );
426
  wp_localize_script(
420
 
421
  wp_enqueue_style( 'yith-plugin-fw-fields' );
422
  wp_enqueue_style( 'woocommerce_admin_styles' );
 
423
 
424
  wp_enqueue_script( 'woocommerce_settings', $woocommerce->plugin_url() . '/assets/js/admin/settings.min.js', $woocommerce_settings_deps, $woocommerce_version, true );
425
  wp_localize_script(
plugin-fw/includes/class-yit-plugin-panel.php CHANGED
@@ -332,7 +332,6 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
332
 
333
  wp_enqueue_style( 'yith-plugin-fw-fields' );
334
  wp_enqueue_style( 'jquery-ui-style' );
335
- wp_enqueue_style( 'raleway-font' );
336
 
337
  wp_enqueue_script( 'jquery-ui' );
338
  wp_enqueue_script( 'jquery-ui-core' );
@@ -770,9 +769,10 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
770
  * @return bool Whether panel has help tab or no.
771
  */
772
  public function has_help_tab() {
773
- return ! empty( $this->settings['help_tab'] ) && ( ! $this->is_free() || ! empty( $this->settings['help_tab']['show_on_free'] ) );
774
  }
775
 
 
776
  /**
777
  * Checks whether current tab is special Help Tab
778
  *
@@ -1667,7 +1667,7 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
1667
  * @author Leanza Francesco <leanzafrancesco@gmail.com>
1668
  */
1669
  public function print_panel_tabs_in_wp_pages() {
1670
- if ( self::$panel_tabs_in_wp_pages ) {
1671
  global $pagenow;
1672
 
1673
  wp_enqueue_style( 'yit-plugin-style' );
332
 
333
  wp_enqueue_style( 'yith-plugin-fw-fields' );
334
  wp_enqueue_style( 'jquery-ui-style' );
 
335
 
336
  wp_enqueue_script( 'jquery-ui' );
337
  wp_enqueue_script( 'jquery-ui-core' );
769
  * @return bool Whether panel has help tab or no.
770
  */
771
  public function has_help_tab() {
772
+ return ! empty( $this->settings['help_tab'] ) && apply_filters( 'yith_plugin_fw_panel_has_help_tab', true, $this ) && ( ! $this->is_free() || ! empty( $this->settings['help_tab']['show_on_free'] ) );
773
  }
774
 
775
+
776
  /**
777
  * Checks whether current tab is special Help Tab
778
  *
1667
  * @author Leanza Francesco <leanzafrancesco@gmail.com>
1668
  */
1669
  public function print_panel_tabs_in_wp_pages() {
1670
+ if ( self::$panel_tabs_in_wp_pages && 'all_admin_notices' === current_action() ) {
1671
  global $pagenow;
1672
 
1673
  wp_enqueue_style( 'yit-plugin-style' );
plugin-fw/init.php CHANGED
@@ -1,13 +1,13 @@
1
  <?php
2
  /**
3
  * Framework Name: YIT Plugin Framework
4
- * Version: 3.9.1
5
  * Author: YITH
6
  * Text Domain: yith-plugin-fw
7
  * Domain Path: /languages/
8
  *
9
  * @author YITH
10
- * @version 3.9.1
11
  * @package YITH\PluginFramework
12
  */
13
 
1
  <?php
2
  /**
3
  * Framework Name: YIT Plugin Framework
4
+ * Version: 3.9.2
5
  * Author: YITH
6
  * Text Domain: yith-plugin-fw
7
  * Domain Path: /languages/
8
  *
9
  * @author YITH
10
+ * @version 3.9.2
11
  * @package YITH\PluginFramework
12
  */
13
 
plugin-fw/languages/yith-plugin-fw-el.po CHANGED
@@ -4,7 +4,7 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: YITH Framework\n"
6
  "Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
7
- "POT-Creation-Date: 2022-01-19 09:30:00+00:00\n"
8
  "PO-Revision-Date: 2021-02-11 18:07:46+0000\n"
9
  "Language: el_GR\n"
10
  "MIME-Version: 1.0\n"
@@ -13,56 +13,56 @@ msgstr ""
13
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
14
  "X-Generator: GlotPress/3.0.0-alpha.2\n"
15
 
16
- #: includes/class-yit-assets.php:146 yit-functions.php:1979
17
  msgid "Confirm trash"
18
  msgstr ""
19
 
20
- #: includes/class-yit-assets.php:147
21
  msgid "Are you sure you want to trash the selected items?"
22
  msgstr ""
23
 
24
- #: includes/class-yit-assets.php:149 includes/class-yit-assets.php:153
25
  #: templates/sysinfo/tabs/main.php:42 templates/sysinfo/tabs/main.php:50
26
  #: yit-functions.php:1981 yit-functions.php:1999
27
  msgid "No"
28
  msgstr "Όχι"
29
 
30
- #: includes/class-yit-assets.php:150 yit-functions.php:1997
31
  #: yit-functions.php:2125
32
  msgid "Confirm delete"
33
  msgstr ""
34
 
35
- #: includes/class-yit-assets.php:151
36
  msgid "Are you sure you want to delete the selected items?"
37
  msgstr ""
38
 
39
- #: includes/class-yit-assets.php:151 yit-functions.php:1913
40
  #: yit-functions.php:2073
41
  msgid ""
42
  "This action cannot be undone and you will not be able to recover this data."
43
  msgstr ""
44
 
45
- #: includes/class-yit-assets.php:164
46
  msgid "Clear"
47
  msgstr "Καθαρισμός"
48
 
49
- #: includes/class-yit-assets.php:165
50
  msgid "Clear color"
51
  msgstr "Καθαρισμός χρώματος"
52
 
53
- #: includes/class-yit-assets.php:166
54
  msgid "Default"
55
  msgstr "Προεπιλεγμένο"
56
 
57
- #: includes/class-yit-assets.php:167
58
  msgid "Select default color"
59
  msgstr "Επιλογή προεπιλεγμένου χρώματος"
60
 
61
- #: includes/class-yit-assets.php:168
62
  msgid "Select Color"
63
  msgstr "Επιλογή Χρώματος"
64
 
65
- #: includes/class-yit-assets.php:169
66
  msgid "Color value"
67
  msgstr "Αξία χρώματος"
68
 
@@ -70,7 +70,7 @@ msgstr "Αξία χρώματος"
70
  msgid "There was an error with your request; please try again later."
71
  msgstr ""
72
 
73
- #: includes/class-yit-plugin-panel-woocommerce.php:430
74
  msgid "The changes you have made will be lost if you leave this page."
75
  msgstr ""
76
  "Οι αλλαγές που έχετε δημιουργήσει θα χαθούν αν αφήσετε αυτήν την σελίδα."
@@ -83,17 +83,17 @@ msgstr "Ρυθμίσεις Προσθέτου"
83
  msgid "Settings"
84
  msgstr "Ρυθμίσεις"
85
 
86
- #: includes/class-yit-plugin-panel.php:455
87
- #: includes/class-yit-plugin-panel.php:458
88
  msgid "How to install premium version"
89
  msgstr "Πώς να εγκαταστήσετε την προηγμένη έκδοση"
90
 
91
- #: includes/class-yit-plugin-panel.php:659
92
  #: includes/class-yit-plugin-subpanel.php:132
93
  msgid "Save Changes"
94
  msgstr "Αποθήκευση Αλλαγών"
95
 
96
- #: includes/class-yit-plugin-panel.php:664
97
  #: includes/class-yit-plugin-subpanel.php:136
98
  #: templates/panel/woocommerce/woocommerce-form.php:14
99
  msgid ""
@@ -102,13 +102,13 @@ msgstr ""
102
  "Αν συνεχίσετε με αυτή την ενέργεια θα επαναφέρετε όλες τις επιλογές στη "
103
  "σελίδα."
104
 
105
- #: includes/class-yit-plugin-panel.php:664
106
  #: includes/class-yit-plugin-subpanel.php:136
107
  #: templates/panel/woocommerce/woocommerce-form.php:14
108
  msgid "Are you sure?"
109
  msgstr "Είστε σίγουρος;"
110
 
111
- #: includes/class-yit-plugin-panel.php:668
112
  #: includes/class-yit-plugin-subpanel.php:139
113
  msgid "Reset to default"
114
  msgstr "Επαναφορά σε προεπιλεγμένο"
@@ -697,28 +697,28 @@ msgctxt "[gutenberg]: Category Name"
697
  msgid "YITH"
698
  msgstr "YITH"
699
 
700
- #: includes/class-yit-assets.php:134
701
  msgctxt "Button text"
702
  msgid "Confirm"
703
  msgstr ""
704
 
705
- #: includes/class-yit-assets.php:135
706
  msgctxt "Button text"
707
  msgid "Cancel"
708
  msgstr ""
709
 
710
- #: includes/class-yit-assets.php:148 yit-functions.php:1982
711
  msgctxt "Trash confirmation action"
712
  msgid "Yes, move to trash"
713
  msgstr ""
714
 
715
- #: includes/class-yit-assets.php:152 yit-functions.php:2000
716
  #: yit-functions.php:2127
717
  msgctxt "Delete confirmation action"
718
  msgid "Yes, delete"
719
  msgstr ""
720
 
721
- #: includes/class-yit-plugin-panel.php:492
722
  msgctxt "Help tab name"
723
  msgid "Help"
724
  msgstr ""
4
  msgstr ""
5
  "Project-Id-Version: YITH Framework\n"
6
  "Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
7
+ "POT-Creation-Date: 2022-02-14 12:14:32+00:00\n"
8
  "PO-Revision-Date: 2021-02-11 18:07:46+0000\n"
9
  "Language: el_GR\n"
10
  "MIME-Version: 1.0\n"
13
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
14
  "X-Generator: GlotPress/3.0.0-alpha.2\n"
15
 
16
+ #: includes/class-yit-assets.php:144 yit-functions.php:1979
17
  msgid "Confirm trash"
18
  msgstr ""
19
 
20
+ #: includes/class-yit-assets.php:145
21
  msgid "Are you sure you want to trash the selected items?"
22
  msgstr ""
23
 
24
+ #: includes/class-yit-assets.php:147 includes/class-yit-assets.php:151
25
  #: templates/sysinfo/tabs/main.php:42 templates/sysinfo/tabs/main.php:50
26
  #: yit-functions.php:1981 yit-functions.php:1999
27
  msgid "No"
28
  msgstr "Όχι"
29
 
30
+ #: includes/class-yit-assets.php:148 yit-functions.php:1997
31
  #: yit-functions.php:2125
32
  msgid "Confirm delete"
33
  msgstr ""
34
 
35
+ #: includes/class-yit-assets.php:149
36
  msgid "Are you sure you want to delete the selected items?"
37
  msgstr ""
38
 
39
+ #: includes/class-yit-assets.php:149 yit-functions.php:1913
40
  #: yit-functions.php:2073
41
  msgid ""
42
  "This action cannot be undone and you will not be able to recover this data."
43
  msgstr ""
44
 
45
+ #: includes/class-yit-assets.php:162
46
  msgid "Clear"
47
  msgstr "Καθαρισμός"
48
 
49
+ #: includes/class-yit-assets.php:163
50
  msgid "Clear color"
51
  msgstr "Καθαρισμός χρώματος"
52
 
53
+ #: includes/class-yit-assets.php:164
54
  msgid "Default"
55
  msgstr "Προεπιλεγμένο"
56
 
57
+ #: includes/class-yit-assets.php:165
58
  msgid "Select default color"
59
  msgstr "Επιλογή προεπιλεγμένου χρώματος"
60
 
61
+ #: includes/class-yit-assets.php:166
62
  msgid "Select Color"
63
  msgstr "Επιλογή Χρώματος"
64
 
65
+ #: includes/class-yit-assets.php:167
66
  msgid "Color value"
67
  msgstr "Αξία χρώματος"
68
 
70
  msgid "There was an error with your request; please try again later."
71
  msgstr ""
72
 
73
+ #: includes/class-yit-plugin-panel-woocommerce.php:429
74
  msgid "The changes you have made will be lost if you leave this page."
75
  msgstr ""
76
  "Οι αλλαγές που έχετε δημιουργήσει θα χαθούν αν αφήσετε αυτήν την σελίδα."
83
  msgid "Settings"
84
  msgstr "Ρυθμίσεις"
85
 
86
+ #: includes/class-yit-plugin-panel.php:454
87
+ #: includes/class-yit-plugin-panel.php:457
88
  msgid "How to install premium version"
89
  msgstr "Πώς να εγκαταστήσετε την προηγμένη έκδοση"
90
 
91
+ #: includes/class-yit-plugin-panel.php:658
92
  #: includes/class-yit-plugin-subpanel.php:132
93
  msgid "Save Changes"
94
  msgstr "Αποθήκευση Αλλαγών"
95
 
96
+ #: includes/class-yit-plugin-panel.php:663
97
  #: includes/class-yit-plugin-subpanel.php:136
98
  #: templates/panel/woocommerce/woocommerce-form.php:14
99
  msgid ""
102
  "Αν συνεχίσετε με αυτή την ενέργεια θα επαναφέρετε όλες τις επιλογές στη "
103
  "σελίδα."
104
 
105
+ #: includes/class-yit-plugin-panel.php:663
106
  #: includes/class-yit-plugin-subpanel.php:136
107
  #: templates/panel/woocommerce/woocommerce-form.php:14
108
  msgid "Are you sure?"
109
  msgstr "Είστε σίγουρος;"
110
 
111
+ #: includes/class-yit-plugin-panel.php:667
112
  #: includes/class-yit-plugin-subpanel.php:139
113
  msgid "Reset to default"
114
  msgstr "Επαναφορά σε προεπιλεγμένο"
697
  msgid "YITH"
698
  msgstr "YITH"
699
 
700
+ #: includes/class-yit-assets.php:132
701
  msgctxt "Button text"
702
  msgid "Confirm"
703
  msgstr ""
704
 
705
+ #: includes/class-yit-assets.php:133
706
  msgctxt "Button text"
707
  msgid "Cancel"
708
  msgstr ""
709
 
710
+ #: includes/class-yit-assets.php:146 yit-functions.php:1982
711
  msgctxt "Trash confirmation action"
712
  msgid "Yes, move to trash"
713
  msgstr ""
714
 
715
+ #: includes/class-yit-assets.php:150 yit-functions.php:2000
716
  #: yit-functions.php:2127
717
  msgctxt "Delete confirmation action"
718
  msgid "Yes, delete"
719
  msgstr ""
720
 
721
+ #: includes/class-yit-plugin-panel.php:491
722
  msgctxt "Help tab name"
723
  msgid "Help"
724
  msgstr ""
plugin-fw/languages/yith-plugin-fw-es_ES.po CHANGED
@@ -4,7 +4,7 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: YITH Framework\n"
6
  "Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
7
- "POT-Creation-Date: 2022-01-19 09:30:00+00:00\n"
8
  "PO-Revision-Date: 2021-12-13 13:19:03+0000\n"
9
  "Language: es\n"
10
  "MIME-Version: 1.0\n"
@@ -13,57 +13,57 @@ msgstr ""
13
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
14
  "X-Generator: GlotPress/3.0.0-alpha.2\n"
15
 
16
- #: includes/class-yit-assets.php:146 yit-functions.php:1979
17
  msgid "Confirm trash"
18
  msgstr "Confirmar el traslado a la papelera"
19
 
20
- #: includes/class-yit-assets.php:147
21
  msgid "Are you sure you want to trash the selected items?"
22
  msgstr ""
23
  "¿Estás seguro de que quieres mover a la papelera los elementos seleccionados?"
24
 
25
- #: includes/class-yit-assets.php:149 includes/class-yit-assets.php:153
26
  #: templates/sysinfo/tabs/main.php:42 templates/sysinfo/tabs/main.php:50
27
  #: yit-functions.php:1981 yit-functions.php:1999
28
  msgid "No"
29
  msgstr "No"
30
 
31
- #: includes/class-yit-assets.php:150 yit-functions.php:1997
32
  #: yit-functions.php:2125
33
  msgid "Confirm delete"
34
  msgstr "Confirmar el borrado"
35
 
36
- #: includes/class-yit-assets.php:151
37
  msgid "Are you sure you want to delete the selected items?"
38
  msgstr "¿Estás seguro de que quieres borrar los elementos seleccionados?"
39
 
40
- #: includes/class-yit-assets.php:151 yit-functions.php:1913
41
  #: yit-functions.php:2073
42
  msgid ""
43
  "This action cannot be undone and you will not be able to recover this data."
44
  msgstr "Esta acción no se puede revertir y no podrá recuperar estos datos."
45
 
46
- #: includes/class-yit-assets.php:164
47
  msgid "Clear"
48
  msgstr "Borrar"
49
 
50
- #: includes/class-yit-assets.php:165
51
  msgid "Clear color"
52
  msgstr "Borrar color"
53
 
54
- #: includes/class-yit-assets.php:166
55
  msgid "Default"
56
  msgstr "Predeterminado"
57
 
58
- #: includes/class-yit-assets.php:167
59
  msgid "Select default color"
60
  msgstr "Seleccionar color predeterminado"
61
 
62
- #: includes/class-yit-assets.php:168
63
  msgid "Select Color"
64
  msgstr "Seleccionar color"
65
 
66
- #: includes/class-yit-assets.php:169
67
  msgid "Color value"
68
  msgstr "Valor del color"
69
 
@@ -72,7 +72,7 @@ msgid "There was an error with your request; please try again later."
72
  msgstr ""
73
  "Se ha producido un error en tu solicitud; inténtalo de nuevo más tarde."
74
 
75
- #: includes/class-yit-plugin-panel-woocommerce.php:430
76
  msgid "The changes you have made will be lost if you leave this page."
77
  msgstr "Los cambios que has hecho se perderán si abandonas esta página."
78
 
@@ -84,17 +84,17 @@ msgstr "Ajustes del plugin"
84
  msgid "Settings"
85
  msgstr "Ajustes"
86
 
87
- #: includes/class-yit-plugin-panel.php:455
88
- #: includes/class-yit-plugin-panel.php:458
89
  msgid "How to install premium version"
90
  msgstr "Cómo instalar la versión premium"
91
 
92
- #: includes/class-yit-plugin-panel.php:659
93
  #: includes/class-yit-plugin-subpanel.php:132
94
  msgid "Save Changes"
95
  msgstr "Guardar cambios"
96
 
97
- #: includes/class-yit-plugin-panel.php:664
98
  #: includes/class-yit-plugin-subpanel.php:136
99
  #: templates/panel/woocommerce/woocommerce-form.php:14
100
  msgid ""
@@ -103,13 +103,13 @@ msgstr ""
103
  "Si continúas con esta acción, restablecerás todas las opciones en esta "
104
  "página."
105
 
106
- #: includes/class-yit-plugin-panel.php:664
107
  #: includes/class-yit-plugin-subpanel.php:136
108
  #: templates/panel/woocommerce/woocommerce-form.php:14
109
  msgid "Are you sure?"
110
  msgstr "¿Estás seguro?"
111
 
112
- #: includes/class-yit-plugin-panel.php:668
113
  #: includes/class-yit-plugin-subpanel.php:139
114
  msgid "Reset to default"
115
  msgstr "Restablecer valores predeterminados"
@@ -705,28 +705,28 @@ msgctxt "[gutenberg]: Category Name"
705
  msgid "YITH"
706
  msgstr "YITH"
707
 
708
- #: includes/class-yit-assets.php:134
709
  msgctxt "Button text"
710
  msgid "Confirm"
711
  msgstr "Confirmar"
712
 
713
- #: includes/class-yit-assets.php:135
714
  msgctxt "Button text"
715
  msgid "Cancel"
716
  msgstr "Cancelar"
717
 
718
- #: includes/class-yit-assets.php:148 yit-functions.php:1982
719
  msgctxt "Trash confirmation action"
720
  msgid "Yes, move to trash"
721
  msgstr "Sí, mover a la papelera"
722
 
723
- #: includes/class-yit-assets.php:152 yit-functions.php:2000
724
  #: yit-functions.php:2127
725
  msgctxt "Delete confirmation action"
726
  msgid "Yes, delete"
727
  msgstr "Si, borrar"
728
 
729
- #: includes/class-yit-plugin-panel.php:492
730
  msgctxt "Help tab name"
731
  msgid "Help"
732
  msgstr "Ayuda"
4
  msgstr ""
5
  "Project-Id-Version: YITH Framework\n"
6
  "Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
7
+ "POT-Creation-Date: 2022-02-14 12:14:32+00:00\n"
8
  "PO-Revision-Date: 2021-12-13 13:19:03+0000\n"
9
  "Language: es\n"
10
  "MIME-Version: 1.0\n"
13
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
14
  "X-Generator: GlotPress/3.0.0-alpha.2\n"
15
 
16
+ #: includes/class-yit-assets.php:144 yit-functions.php:1979
17
  msgid "Confirm trash"
18
  msgstr "Confirmar el traslado a la papelera"
19
 
20
+ #: includes/class-yit-assets.php:145
21
  msgid "Are you sure you want to trash the selected items?"
22
  msgstr ""
23
  "¿Estás seguro de que quieres mover a la papelera los elementos seleccionados?"
24
 
25
+ #: includes/class-yit-assets.php:147 includes/class-yit-assets.php:151
26
  #: templates/sysinfo/tabs/main.php:42 templates/sysinfo/tabs/main.php:50
27
  #: yit-functions.php:1981 yit-functions.php:1999
28
  msgid "No"
29
  msgstr "No"
30
 
31
+ #: includes/class-yit-assets.php:148 yit-functions.php:1997
32
  #: yit-functions.php:2125
33
  msgid "Confirm delete"
34
  msgstr "Confirmar el borrado"
35
 
36
+ #: includes/class-yit-assets.php:149
37
  msgid "Are you sure you want to delete the selected items?"
38
  msgstr "¿Estás seguro de que quieres borrar los elementos seleccionados?"
39
 
40
+ #: includes/class-yit-assets.php:149 yit-functions.php:1913
41
  #: yit-functions.php:2073
42
  msgid ""
43
  "This action cannot be undone and you will not be able to recover this data."
44
  msgstr "Esta acción no se puede revertir y no podrá recuperar estos datos."
45
 
46
+ #: includes/class-yit-assets.php:162
47
  msgid "Clear"
48
  msgstr "Borrar"
49
 
50
+ #: includes/class-yit-assets.php:163
51
  msgid "Clear color"
52
  msgstr "Borrar color"
53
 
54
+ #: includes/class-yit-assets.php:164
55
  msgid "Default"
56
  msgstr "Predeterminado"
57
 
58
+ #: includes/class-yit-assets.php:165
59
  msgid "Select default color"
60
  msgstr "Seleccionar color predeterminado"
61
 
62
+ #: includes/class-yit-assets.php:166
63
  msgid "Select Color"
64
  msgstr "Seleccionar color"
65
 
66
+ #: includes/class-yit-assets.php:167
67
  msgid "Color value"
68
  msgstr "Valor del color"
69
 
72
  msgstr ""
73
  "Se ha producido un error en tu solicitud; inténtalo de nuevo más tarde."
74
 
75
+ #: includes/class-yit-plugin-panel-woocommerce.php:429
76
  msgid "The changes you have made will be lost if you leave this page."
77
  msgstr "Los cambios que has hecho se perderán si abandonas esta página."
78
 
84
  msgid "Settings"
85
  msgstr "Ajustes"
86
 
87
+ #: includes/class-yit-plugin-panel.php:454
88
+ #: includes/class-yit-plugin-panel.php:457
89
  msgid "How to install premium version"
90
  msgstr "Cómo instalar la versión premium"
91
 
92
+ #: includes/class-yit-plugin-panel.php:658
93
  #: includes/class-yit-plugin-subpanel.php:132
94
  msgid "Save Changes"
95
  msgstr "Guardar cambios"
96
 
97
+ #: includes/class-yit-plugin-panel.php:663
98
  #: includes/class-yit-plugin-subpanel.php:136
99
  #: templates/panel/woocommerce/woocommerce-form.php:14
100
  msgid ""
103
  "Si continúas con esta acción, restablecerás todas las opciones en esta "
104
  "página."
105
 
106
+ #: includes/class-yit-plugin-panel.php:663
107
  #: includes/class-yit-plugin-subpanel.php:136
108
  #: templates/panel/woocommerce/woocommerce-form.php:14
109
  msgid "Are you sure?"
110
  msgstr "¿Estás seguro?"
111
 
112
+ #: includes/class-yit-plugin-panel.php:667
113
  #: includes/class-yit-plugin-subpanel.php:139
114
  msgid "Reset to default"
115
  msgstr "Restablecer valores predeterminados"
705
  msgid "YITH"
706
  msgstr "YITH"
707
 
708
+ #: includes/class-yit-assets.php:132
709
  msgctxt "Button text"
710
  msgid "Confirm"
711
  msgstr "Confirmar"
712
 
713
+ #: includes/class-yit-assets.php:133
714
  msgctxt "Button text"
715
  msgid "Cancel"
716
  msgstr "Cancelar"
717
 
718
+ #: includes/class-yit-assets.php:146 yit-functions.php:1982
719
  msgctxt "Trash confirmation action"
720
  msgid "Yes, move to trash"
721
  msgstr "Sí, mover a la papelera"
722
 
723
+ #: includes/class-yit-assets.php:150 yit-functions.php:2000
724
  #: yit-functions.php:2127
725
  msgctxt "Delete confirmation action"
726
  msgid "Yes, delete"
727
  msgstr "Si, borrar"
728
 
729
+ #: includes/class-yit-plugin-panel.php:491
730
  msgctxt "Help tab name"
731
  msgid "Help"
732
  msgstr "Ayuda"
plugin-fw/languages/yith-plugin-fw-it_IT.po CHANGED
@@ -4,7 +4,7 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: YITH Framework\n"
6
  "Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
7
- "POT-Creation-Date: 2022-01-19 09:30:00+00:00\n"
8
  "PO-Revision-Date: 2021-12-13 12:05:30+0000\n"
9
  "Language: it\n"
10
  "MIME-Version: 1.0\n"
@@ -13,30 +13,30 @@ msgstr ""
13
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
14
  "X-Generator: GlotPress/3.0.0-alpha.2\n"
15
 
16
- #: includes/class-yit-assets.php:146 yit-functions.php:1979
17
  msgid "Confirm trash"
18
  msgstr "Conferma eliminazione"
19
 
20
- #: includes/class-yit-assets.php:147
21
  msgid "Are you sure you want to trash the selected items?"
22
  msgstr "Se sicuro di voler spostare nel cestino gli elementi selezionati?"
23
 
24
- #: includes/class-yit-assets.php:149 includes/class-yit-assets.php:153
25
  #: templates/sysinfo/tabs/main.php:42 templates/sysinfo/tabs/main.php:50
26
  #: yit-functions.php:1981 yit-functions.php:1999
27
  msgid "No"
28
  msgstr "No"
29
 
30
- #: includes/class-yit-assets.php:150 yit-functions.php:1997
31
  #: yit-functions.php:2125
32
  msgid "Confirm delete"
33
  msgstr "Conferma eliminazione"
34
 
35
- #: includes/class-yit-assets.php:151
36
  msgid "Are you sure you want to delete the selected items?"
37
  msgstr "Se sicuro di voler eliminare gli elementi selezionati?"
38
 
39
- #: includes/class-yit-assets.php:151 yit-functions.php:1913
40
  #: yit-functions.php:2073
41
  msgid ""
42
  "This action cannot be undone and you will not be able to recover this data."
@@ -44,27 +44,27 @@ msgstr ""
44
  "Quest'azione non può essere annullata e non sarà possibile recuperare questi "
45
  "dati."
46
 
47
- #: includes/class-yit-assets.php:164
48
  msgid "Clear"
49
  msgstr "Rimuovi"
50
 
51
- #: includes/class-yit-assets.php:165
52
  msgid "Clear color"
53
  msgstr "Rimuovi colore"
54
 
55
- #: includes/class-yit-assets.php:166
56
  msgid "Default"
57
  msgstr "Predefinito"
58
 
59
- #: includes/class-yit-assets.php:167
60
  msgid "Select default color"
61
  msgstr "Seleziona il colore predefinito"
62
 
63
- #: includes/class-yit-assets.php:168
64
  msgid "Select Color"
65
  msgstr "Seleziona il colore"
66
 
67
- #: includes/class-yit-assets.php:169
68
  msgid "Color value"
69
  msgstr "Valore del colore"
70
 
@@ -72,7 +72,7 @@ msgstr "Valore del colore"
72
  msgid "There was an error with your request; please try again later."
73
  msgstr "Si è verificato un errore con la tua richiesta. Riprova più tardi."
74
 
75
- #: includes/class-yit-plugin-panel-woocommerce.php:430
76
  msgid "The changes you have made will be lost if you leave this page."
77
  msgstr "Perderai tutti i cambiamenti effettuati se lasci questa pagina."
78
 
@@ -84,17 +84,17 @@ msgstr "Impostazioni plugin"
84
  msgid "Settings"
85
  msgstr "Impostazioni"
86
 
87
- #: includes/class-yit-plugin-panel.php:455
88
- #: includes/class-yit-plugin-panel.php:458
89
  msgid "How to install premium version"
90
  msgstr "Come installare la versione premium"
91
 
92
- #: includes/class-yit-plugin-panel.php:659
93
  #: includes/class-yit-plugin-subpanel.php:132
94
  msgid "Save Changes"
95
  msgstr "Salva modifiche"
96
 
97
- #: includes/class-yit-plugin-panel.php:664
98
  #: includes/class-yit-plugin-subpanel.php:136
99
  #: templates/panel/woocommerce/woocommerce-form.php:14
100
  msgid ""
@@ -103,13 +103,13 @@ msgstr ""
103
  "Se prosegui con questa azione, tutte le opzioni di questa pagina saranno "
104
  "reimpostate."
105
 
106
- #: includes/class-yit-plugin-panel.php:664
107
  #: includes/class-yit-plugin-subpanel.php:136
108
  #: templates/panel/woocommerce/woocommerce-form.php:14
109
  msgid "Are you sure?"
110
  msgstr "Sei sicuro?"
111
 
112
- #: includes/class-yit-plugin-panel.php:668
113
  #: includes/class-yit-plugin-subpanel.php:139
114
  msgid "Reset to default"
115
  msgstr "Ripristina configurazione predefinita"
@@ -705,28 +705,28 @@ msgctxt "[gutenberg]: Category Name"
705
  msgid "YITH"
706
  msgstr "YITH"
707
 
708
- #: includes/class-yit-assets.php:134
709
  msgctxt "Button text"
710
  msgid "Confirm"
711
  msgstr "Conferma"
712
 
713
- #: includes/class-yit-assets.php:135
714
  msgctxt "Button text"
715
  msgid "Cancel"
716
  msgstr "Annulla"
717
 
718
- #: includes/class-yit-assets.php:148 yit-functions.php:1982
719
  msgctxt "Trash confirmation action"
720
  msgid "Yes, move to trash"
721
  msgstr "Sì, sposta nel cestino"
722
 
723
- #: includes/class-yit-assets.php:152 yit-functions.php:2000
724
  #: yit-functions.php:2127
725
  msgctxt "Delete confirmation action"
726
  msgid "Yes, delete"
727
  msgstr "Sì, elimina"
728
 
729
- #: includes/class-yit-plugin-panel.php:492
730
  msgctxt "Help tab name"
731
  msgid "Help"
732
  msgstr "Help"
4
  msgstr ""
5
  "Project-Id-Version: YITH Framework\n"
6
  "Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
7
+ "POT-Creation-Date: 2022-02-14 12:14:32+00:00\n"
8
  "PO-Revision-Date: 2021-12-13 12:05:30+0000\n"
9
  "Language: it\n"
10
  "MIME-Version: 1.0\n"
13
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
14
  "X-Generator: GlotPress/3.0.0-alpha.2\n"
15
 
16
+ #: includes/class-yit-assets.php:144 yit-functions.php:1979
17
  msgid "Confirm trash"
18
  msgstr "Conferma eliminazione"
19
 
20
+ #: includes/class-yit-assets.php:145
21
  msgid "Are you sure you want to trash the selected items?"
22
  msgstr "Se sicuro di voler spostare nel cestino gli elementi selezionati?"
23
 
24
+ #: includes/class-yit-assets.php:147 includes/class-yit-assets.php:151
25
  #: templates/sysinfo/tabs/main.php:42 templates/sysinfo/tabs/main.php:50
26
  #: yit-functions.php:1981 yit-functions.php:1999
27
  msgid "No"
28
  msgstr "No"
29
 
30
+ #: includes/class-yit-assets.php:148 yit-functions.php:1997
31
  #: yit-functions.php:2125
32
  msgid "Confirm delete"
33
  msgstr "Conferma eliminazione"
34
 
35
+ #: includes/class-yit-assets.php:149
36
  msgid "Are you sure you want to delete the selected items?"
37
  msgstr "Se sicuro di voler eliminare gli elementi selezionati?"
38
 
39
+ #: includes/class-yit-assets.php:149 yit-functions.php:1913
40
  #: yit-functions.php:2073
41
  msgid ""
42
  "This action cannot be undone and you will not be able to recover this data."
44
  "Quest'azione non può essere annullata e non sarà possibile recuperare questi "
45
  "dati."
46
 
47
+ #: includes/class-yit-assets.php:162
48
  msgid "Clear"
49
  msgstr "Rimuovi"
50
 
51
+ #: includes/class-yit-assets.php:163
52
  msgid "Clear color"
53
  msgstr "Rimuovi colore"
54
 
55
+ #: includes/class-yit-assets.php:164
56
  msgid "Default"
57
  msgstr "Predefinito"
58
 
59
+ #: includes/class-yit-assets.php:165
60
  msgid "Select default color"
61
  msgstr "Seleziona il colore predefinito"
62
 
63
+ #: includes/class-yit-assets.php:166
64
  msgid "Select Color"
65
  msgstr "Seleziona il colore"
66
 
67
+ #: includes/class-yit-assets.php:167
68
  msgid "Color value"
69
  msgstr "Valore del colore"
70
 
72
  msgid "There was an error with your request; please try again later."
73
  msgstr "Si è verificato un errore con la tua richiesta. Riprova più tardi."
74
 
75
+ #: includes/class-yit-plugin-panel-woocommerce.php:429
76
  msgid "The changes you have made will be lost if you leave this page."
77
  msgstr "Perderai tutti i cambiamenti effettuati se lasci questa pagina."
78
 
84
  msgid "Settings"
85
  msgstr "Impostazioni"
86
 
87
+ #: includes/class-yit-plugin-panel.php:454
88
+ #: includes/class-yit-plugin-panel.php:457
89
  msgid "How to install premium version"
90
  msgstr "Come installare la versione premium"
91
 
92
+ #: includes/class-yit-plugin-panel.php:658
93
  #: includes/class-yit-plugin-subpanel.php:132
94
  msgid "Save Changes"
95
  msgstr "Salva modifiche"
96
 
97
+ #: includes/class-yit-plugin-panel.php:663
98
  #: includes/class-yit-plugin-subpanel.php:136
99
  #: templates/panel/woocommerce/woocommerce-form.php:14
100
  msgid ""
103
  "Se prosegui con questa azione, tutte le opzioni di questa pagina saranno "
104
  "reimpostate."
105
 
106
+ #: includes/class-yit-plugin-panel.php:663
107
  #: includes/class-yit-plugin-subpanel.php:136
108
  #: templates/panel/woocommerce/woocommerce-form.php:14
109
  msgid "Are you sure?"
110
  msgstr "Sei sicuro?"
111
 
112
+ #: includes/class-yit-plugin-panel.php:667
113
  #: includes/class-yit-plugin-subpanel.php:139
114
  msgid "Reset to default"
115
  msgstr "Ripristina configurazione predefinita"
705
  msgid "YITH"
706
  msgstr "YITH"
707
 
708
+ #: includes/class-yit-assets.php:132
709
  msgctxt "Button text"
710
  msgid "Confirm"
711
  msgstr "Conferma"
712
 
713
+ #: includes/class-yit-assets.php:133
714
  msgctxt "Button text"
715
  msgid "Cancel"
716
  msgstr "Annulla"
717
 
718
+ #: includes/class-yit-assets.php:146 yit-functions.php:1982
719
  msgctxt "Trash confirmation action"
720
  msgid "Yes, move to trash"
721
  msgstr "Sì, sposta nel cestino"
722
 
723
+ #: includes/class-yit-assets.php:150 yit-functions.php:2000
724
  #: yit-functions.php:2127
725
  msgctxt "Delete confirmation action"
726
  msgid "Yes, delete"
727
  msgstr "Sì, elimina"
728
 
729
+ #: includes/class-yit-plugin-panel.php:491
730
  msgctxt "Help tab name"
731
  msgid "Help"
732
  msgstr "Help"
plugin-fw/languages/yith-plugin-fw-nl_NL.po CHANGED
@@ -4,7 +4,7 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: YITH Framework\n"
6
  "Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
7
- "POT-Creation-Date: 2022-01-19 09:30:00+00:00\n"
8
  "PO-Revision-Date: 2021-12-13 12:45:02+0000\n"
9
  "Language: nl\n"
10
  "MIME-Version: 1.0\n"
@@ -13,32 +13,32 @@ msgstr ""
13
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
14
  "X-Generator: GlotPress/3.0.0-alpha.2\n"
15
 
16
- #: includes/class-yit-assets.php:146 yit-functions.php:1979
17
  msgid "Confirm trash"
18
  msgstr "Verplaatsen naar prullenbak bevestigen"
19
 
20
- #: includes/class-yit-assets.php:147
21
  msgid "Are you sure you want to trash the selected items?"
22
  msgstr ""
23
  "Weet je zeker dat je het geselecteerde item naar de prullenbak wilt "
24
  "verplaatsen?"
25
 
26
- #: includes/class-yit-assets.php:149 includes/class-yit-assets.php:153
27
  #: templates/sysinfo/tabs/main.php:42 templates/sysinfo/tabs/main.php:50
28
  #: yit-functions.php:1981 yit-functions.php:1999
29
  msgid "No"
30
  msgstr "Nee"
31
 
32
- #: includes/class-yit-assets.php:150 yit-functions.php:1997
33
  #: yit-functions.php:2125
34
  msgid "Confirm delete"
35
  msgstr "Verwijderen bevestigen"
36
 
37
- #: includes/class-yit-assets.php:151
38
  msgid "Are you sure you want to delete the selected items?"
39
  msgstr "Weet je zeker dat je de geselecteerde items wilt verwijderen?"
40
 
41
- #: includes/class-yit-assets.php:151 yit-functions.php:1913
42
  #: yit-functions.php:2073
43
  msgid ""
44
  "This action cannot be undone and you will not be able to recover this data."
@@ -46,27 +46,27 @@ msgstr ""
46
  "Deze actie kan niet ongedaan gemaakt worden en je zult deze gegevens niet "
47
  "kunnen herstellen."
48
 
49
- #: includes/class-yit-assets.php:164
50
  msgid "Clear"
51
  msgstr "Wissen"
52
 
53
- #: includes/class-yit-assets.php:165
54
  msgid "Clear color"
55
  msgstr "Kleur wissen"
56
 
57
- #: includes/class-yit-assets.php:166
58
  msgid "Default"
59
  msgstr "Standaard"
60
 
61
- #: includes/class-yit-assets.php:167
62
  msgid "Select default color"
63
  msgstr "Standaardkleur selecteren"
64
 
65
- #: includes/class-yit-assets.php:168
66
  msgid "Select Color"
67
  msgstr "Kleur selecteren"
68
 
69
- #: includes/class-yit-assets.php:169
70
  msgid "Color value"
71
  msgstr "Kleurwaarde"
72
 
@@ -75,7 +75,7 @@ msgid "There was an error with your request; please try again later."
75
  msgstr ""
76
  "Er is een fout opgetreden met je verzoek, probeer het later opnieuw a.u.b."
77
 
78
- #: includes/class-yit-plugin-panel-woocommerce.php:430
79
  msgid "The changes you have made will be lost if you leave this page."
80
  msgstr "Als je deze pagina verlaat zullen alle wijzigingen verloren gaan."
81
 
@@ -87,17 +87,17 @@ msgstr "Plugin instellingen"
87
  msgid "Settings"
88
  msgstr "Instellingen"
89
 
90
- #: includes/class-yit-plugin-panel.php:455
91
- #: includes/class-yit-plugin-panel.php:458
92
  msgid "How to install premium version"
93
  msgstr "Hoe installeer ik de premium versie"
94
 
95
- #: includes/class-yit-plugin-panel.php:659
96
  #: includes/class-yit-plugin-subpanel.php:132
97
  msgid "Save Changes"
98
  msgstr "Wijzigingen opslaan"
99
 
100
- #: includes/class-yit-plugin-panel.php:664
101
  #: includes/class-yit-plugin-subpanel.php:136
102
  #: templates/panel/woocommerce/woocommerce-form.php:14
103
  msgid ""
@@ -105,13 +105,13 @@ msgid ""
105
  msgstr ""
106
  "Als je doorgaat met deze actie, zal je alle opties op deze pagina resetten."
107
 
108
- #: includes/class-yit-plugin-panel.php:664
109
  #: includes/class-yit-plugin-subpanel.php:136
110
  #: templates/panel/woocommerce/woocommerce-form.php:14
111
  msgid "Are you sure?"
112
  msgstr "Weet je het zeker?"
113
 
114
- #: includes/class-yit-plugin-panel.php:668
115
  #: includes/class-yit-plugin-subpanel.php:139
116
  msgid "Reset to default"
117
  msgstr "Resetten naar standaard"
@@ -705,28 +705,28 @@ msgctxt "[gutenberg]: Category Name"
705
  msgid "YITH"
706
  msgstr "YITH"
707
 
708
- #: includes/class-yit-assets.php:134
709
  msgctxt "Button text"
710
  msgid "Confirm"
711
  msgstr "Bevestigen"
712
 
713
- #: includes/class-yit-assets.php:135
714
  msgctxt "Button text"
715
  msgid "Cancel"
716
  msgstr "Annuleren"
717
 
718
- #: includes/class-yit-assets.php:148 yit-functions.php:1982
719
  msgctxt "Trash confirmation action"
720
  msgid "Yes, move to trash"
721
  msgstr "Ja, verplaatsen naar prullenbak"
722
 
723
- #: includes/class-yit-assets.php:152 yit-functions.php:2000
724
  #: yit-functions.php:2127
725
  msgctxt "Delete confirmation action"
726
  msgid "Yes, delete"
727
  msgstr "Ja, verwijderen"
728
 
729
- #: includes/class-yit-plugin-panel.php:492
730
  msgctxt "Help tab name"
731
  msgid "Help"
732
  msgstr "Help"
4
  msgstr ""
5
  "Project-Id-Version: YITH Framework\n"
6
  "Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
7
+ "POT-Creation-Date: 2022-02-14 12:14:32+00:00\n"
8
  "PO-Revision-Date: 2021-12-13 12:45:02+0000\n"
9
  "Language: nl\n"
10
  "MIME-Version: 1.0\n"
13
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
14
  "X-Generator: GlotPress/3.0.0-alpha.2\n"
15
 
16
+ #: includes/class-yit-assets.php:144 yit-functions.php:1979
17
  msgid "Confirm trash"
18
  msgstr "Verplaatsen naar prullenbak bevestigen"
19
 
20
+ #: includes/class-yit-assets.php:145
21
  msgid "Are you sure you want to trash the selected items?"
22
  msgstr ""
23
  "Weet je zeker dat je het geselecteerde item naar de prullenbak wilt "
24
  "verplaatsen?"
25
 
26
+ #: includes/class-yit-assets.php:147 includes/class-yit-assets.php:151
27
  #: templates/sysinfo/tabs/main.php:42 templates/sysinfo/tabs/main.php:50
28
  #: yit-functions.php:1981 yit-functions.php:1999
29
  msgid "No"
30
  msgstr "Nee"
31
 
32
+ #: includes/class-yit-assets.php:148 yit-functions.php:1997
33
  #: yit-functions.php:2125
34
  msgid "Confirm delete"
35
  msgstr "Verwijderen bevestigen"
36
 
37
+ #: includes/class-yit-assets.php:149
38
  msgid "Are you sure you want to delete the selected items?"
39
  msgstr "Weet je zeker dat je de geselecteerde items wilt verwijderen?"
40
 
41
+ #: includes/class-yit-assets.php:149 yit-functions.php:1913
42
  #: yit-functions.php:2073
43
  msgid ""
44
  "This action cannot be undone and you will not be able to recover this data."
46
  "Deze actie kan niet ongedaan gemaakt worden en je zult deze gegevens niet "
47
  "kunnen herstellen."
48
 
49
+ #: includes/class-yit-assets.php:162
50
  msgid "Clear"
51
  msgstr "Wissen"
52
 
53
+ #: includes/class-yit-assets.php:163
54
  msgid "Clear color"
55
  msgstr "Kleur wissen"
56
 
57
+ #: includes/class-yit-assets.php:164
58
  msgid "Default"
59
  msgstr "Standaard"
60
 
61
+ #: includes/class-yit-assets.php:165
62
  msgid "Select default color"
63
  msgstr "Standaardkleur selecteren"
64
 
65
+ #: includes/class-yit-assets.php:166
66
  msgid "Select Color"
67
  msgstr "Kleur selecteren"
68
 
69
+ #: includes/class-yit-assets.php:167
70
  msgid "Color value"
71
  msgstr "Kleurwaarde"
72
 
75
  msgstr ""
76
  "Er is een fout opgetreden met je verzoek, probeer het later opnieuw a.u.b."
77
 
78
+ #: includes/class-yit-plugin-panel-woocommerce.php:429
79
  msgid "The changes you have made will be lost if you leave this page."
80
  msgstr "Als je deze pagina verlaat zullen alle wijzigingen verloren gaan."
81
 
87
  msgid "Settings"
88
  msgstr "Instellingen"
89
 
90
+ #: includes/class-yit-plugin-panel.php:454
91
+ #: includes/class-yit-plugin-panel.php:457
92
  msgid "How to install premium version"
93
  msgstr "Hoe installeer ik de premium versie"
94
 
95
+ #: includes/class-yit-plugin-panel.php:658
96
  #: includes/class-yit-plugin-subpanel.php:132
97
  msgid "Save Changes"
98
  msgstr "Wijzigingen opslaan"
99
 
100
+ #: includes/class-yit-plugin-panel.php:663
101
  #: includes/class-yit-plugin-subpanel.php:136
102
  #: templates/panel/woocommerce/woocommerce-form.php:14
103
  msgid ""
105
  msgstr ""
106
  "Als je doorgaat met deze actie, zal je alle opties op deze pagina resetten."
107
 
108
+ #: includes/class-yit-plugin-panel.php:663
109
  #: includes/class-yit-plugin-subpanel.php:136
110
  #: templates/panel/woocommerce/woocommerce-form.php:14
111
  msgid "Are you sure?"
112
  msgstr "Weet je het zeker?"
113
 
114
+ #: includes/class-yit-plugin-panel.php:667
115
  #: includes/class-yit-plugin-subpanel.php:139
116
  msgid "Reset to default"
117
  msgstr "Resetten naar standaard"
705
  msgid "YITH"
706
  msgstr "YITH"
707
 
708
+ #: includes/class-yit-assets.php:132
709
  msgctxt "Button text"
710
  msgid "Confirm"
711
  msgstr "Bevestigen"
712
 
713
+ #: includes/class-yit-assets.php:133
714
  msgctxt "Button text"
715
  msgid "Cancel"
716
  msgstr "Annuleren"
717
 
718
+ #: includes/class-yit-assets.php:146 yit-functions.php:1982
719
  msgctxt "Trash confirmation action"
720
  msgid "Yes, move to trash"
721
  msgstr "Ja, verplaatsen naar prullenbak"
722
 
723
+ #: includes/class-yit-assets.php:150 yit-functions.php:2000
724
  #: yit-functions.php:2127
725
  msgctxt "Delete confirmation action"
726
  msgid "Yes, delete"
727
  msgstr "Ja, verwijderen"
728
 
729
+ #: includes/class-yit-plugin-panel.php:491
730
  msgctxt "Help tab name"
731
  msgid "Help"
732
  msgstr "Help"
plugin-fw/languages/yith-plugin-fw.pot CHANGED
@@ -4,7 +4,7 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: \n"
6
  "Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
7
- "POT-Creation-Date: 2022-01-19 09:30:00+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -24,55 +24,55 @@ msgstr ""
24
  "X-Textdomain-Support: yes\n"
25
  "X-Generator: grunt-wp-i18n 1.0.3\n"
26
 
27
- #: includes/class-yit-assets.php:146 yit-functions.php:1979
28
  msgid "Confirm trash"
29
  msgstr ""
30
 
31
- #: includes/class-yit-assets.php:147
32
  msgid "Are you sure you want to trash the selected items?"
33
  msgstr ""
34
 
35
- #: includes/class-yit-assets.php:149 includes/class-yit-assets.php:153
36
  #: templates/sysinfo/tabs/main.php:42 templates/sysinfo/tabs/main.php:50
37
  #: yit-functions.php:1981 yit-functions.php:1999
38
  msgid "No"
39
  msgstr ""
40
 
41
- #: includes/class-yit-assets.php:150 yit-functions.php:1997
42
  #: yit-functions.php:2125
43
  msgid "Confirm delete"
44
  msgstr ""
45
 
46
- #: includes/class-yit-assets.php:151
47
  msgid "Are you sure you want to delete the selected items?"
48
  msgstr ""
49
 
50
- #: includes/class-yit-assets.php:151 yit-functions.php:1913
51
  #: yit-functions.php:2073
52
  msgid "This action cannot be undone and you will not be able to recover this data."
53
  msgstr ""
54
 
55
- #: includes/class-yit-assets.php:164
56
  msgid "Clear"
57
  msgstr ""
58
 
59
- #: includes/class-yit-assets.php:165
60
  msgid "Clear color"
61
  msgstr ""
62
 
63
- #: includes/class-yit-assets.php:166
64
  msgid "Default"
65
  msgstr ""
66
 
67
- #: includes/class-yit-assets.php:167
68
  msgid "Select default color"
69
  msgstr ""
70
 
71
- #: includes/class-yit-assets.php:168
72
  msgid "Select Color"
73
  msgstr ""
74
 
75
- #: includes/class-yit-assets.php:169
76
  msgid "Color value"
77
  msgstr ""
78
 
@@ -80,7 +80,7 @@ msgstr ""
80
  msgid "There was an error with your request; please try again later."
81
  msgstr ""
82
 
83
- #: includes/class-yit-plugin-panel-woocommerce.php:430
84
  msgid "The changes you have made will be lost if you leave this page."
85
  msgstr ""
86
 
@@ -92,29 +92,29 @@ msgstr ""
92
  msgid "Settings"
93
  msgstr ""
94
 
95
- #: includes/class-yit-plugin-panel.php:455
96
- #: includes/class-yit-plugin-panel.php:458
97
  msgid "How to install premium version"
98
  msgstr ""
99
 
100
- #: includes/class-yit-plugin-panel.php:659
101
  #: includes/class-yit-plugin-subpanel.php:132
102
  msgid "Save Changes"
103
  msgstr ""
104
 
105
- #: includes/class-yit-plugin-panel.php:664
106
  #: includes/class-yit-plugin-subpanel.php:136
107
  #: templates/panel/woocommerce/woocommerce-form.php:14
108
  msgid "If you continue with this action, you will reset all options in this page."
109
  msgstr ""
110
 
111
- #: includes/class-yit-plugin-panel.php:664
112
  #: includes/class-yit-plugin-subpanel.php:136
113
  #: templates/panel/woocommerce/woocommerce-form.php:14
114
  msgid "Are you sure?"
115
  msgstr ""
116
 
117
- #: includes/class-yit-plugin-panel.php:668
118
  #: includes/class-yit-plugin-subpanel.php:139
119
  msgid "Reset to default"
120
  msgstr ""
@@ -682,28 +682,28 @@ msgctxt "[gutenberg]: Category Name"
682
  msgid "YITH"
683
  msgstr ""
684
 
685
- #: includes/class-yit-assets.php:134
686
  msgctxt "Button text"
687
  msgid "Confirm"
688
  msgstr ""
689
 
690
- #: includes/class-yit-assets.php:135
691
  msgctxt "Button text"
692
  msgid "Cancel"
693
  msgstr ""
694
 
695
- #: includes/class-yit-assets.php:148 yit-functions.php:1982
696
  msgctxt "Trash confirmation action"
697
  msgid "Yes, move to trash"
698
  msgstr ""
699
 
700
- #: includes/class-yit-assets.php:152 yit-functions.php:2000
701
  #: yit-functions.php:2127
702
  msgctxt "Delete confirmation action"
703
  msgid "Yes, delete"
704
  msgstr ""
705
 
706
- #: includes/class-yit-plugin-panel.php:492
707
  msgctxt "Help tab name"
708
  msgid "Help"
709
  msgstr ""
4
  msgstr ""
5
  "Project-Id-Version: \n"
6
  "Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
7
+ "POT-Creation-Date: 2022-02-14 12:14:32+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
24
  "X-Textdomain-Support: yes\n"
25
  "X-Generator: grunt-wp-i18n 1.0.3\n"
26
 
27
+ #: includes/class-yit-assets.php:144 yit-functions.php:1979
28
  msgid "Confirm trash"
29
  msgstr ""
30
 
31
+ #: includes/class-yit-assets.php:145
32
  msgid "Are you sure you want to trash the selected items?"
33
  msgstr ""
34
 
35
+ #: includes/class-yit-assets.php:147 includes/class-yit-assets.php:151
36
  #: templates/sysinfo/tabs/main.php:42 templates/sysinfo/tabs/main.php:50
37
  #: yit-functions.php:1981 yit-functions.php:1999
38
  msgid "No"
39
  msgstr ""
40
 
41
+ #: includes/class-yit-assets.php:148 yit-functions.php:1997
42
  #: yit-functions.php:2125
43
  msgid "Confirm delete"
44
  msgstr ""
45
 
46
+ #: includes/class-yit-assets.php:149
47
  msgid "Are you sure you want to delete the selected items?"
48
  msgstr ""
49
 
50
+ #: includes/class-yit-assets.php:149 yit-functions.php:1913
51
  #: yit-functions.php:2073
52
  msgid "This action cannot be undone and you will not be able to recover this data."
53
  msgstr ""
54
 
55
+ #: includes/class-yit-assets.php:162
56
  msgid "Clear"
57
  msgstr ""
58
 
59
+ #: includes/class-yit-assets.php:163
60
  msgid "Clear color"
61
  msgstr ""
62
 
63
+ #: includes/class-yit-assets.php:164
64
  msgid "Default"
65
  msgstr ""
66
 
67
+ #: includes/class-yit-assets.php:165
68
  msgid "Select default color"
69
  msgstr ""
70
 
71
+ #: includes/class-yit-assets.php:166
72
  msgid "Select Color"
73
  msgstr ""
74
 
75
+ #: includes/class-yit-assets.php:167
76
  msgid "Color value"
77
  msgstr ""
78
 
80
  msgid "There was an error with your request; please try again later."
81
  msgstr ""
82
 
83
+ #: includes/class-yit-plugin-panel-woocommerce.php:429
84
  msgid "The changes you have made will be lost if you leave this page."
85
  msgstr ""
86
 
92
  msgid "Settings"
93
  msgstr ""
94
 
95
+ #: includes/class-yit-plugin-panel.php:454
96
+ #: includes/class-yit-plugin-panel.php:457
97
  msgid "How to install premium version"
98
  msgstr ""
99
 
100
+ #: includes/class-yit-plugin-panel.php:658
101
  #: includes/class-yit-plugin-subpanel.php:132
102
  msgid "Save Changes"
103
  msgstr ""
104
 
105
+ #: includes/class-yit-plugin-panel.php:663
106
  #: includes/class-yit-plugin-subpanel.php:136
107
  #: templates/panel/woocommerce/woocommerce-form.php:14
108
  msgid "If you continue with this action, you will reset all options in this page."
109
  msgstr ""
110
 
111
+ #: includes/class-yit-plugin-panel.php:663
112
  #: includes/class-yit-plugin-subpanel.php:136
113
  #: templates/panel/woocommerce/woocommerce-form.php:14
114
  msgid "Are you sure?"
115
  msgstr ""
116
 
117
+ #: includes/class-yit-plugin-panel.php:667
118
  #: includes/class-yit-plugin-subpanel.php:139
119
  msgid "Reset to default"
120
  msgstr ""
682
  msgid "YITH"
683
  msgstr ""
684
 
685
+ #: includes/class-yit-assets.php:132
686
  msgctxt "Button text"
687
  msgid "Confirm"
688
  msgstr ""
689
 
690
+ #: includes/class-yit-assets.php:133
691
  msgctxt "Button text"
692
  msgid "Cancel"
693
  msgstr ""
694
 
695
+ #: includes/class-yit-assets.php:146 yit-functions.php:1982
696
  msgctxt "Trash confirmation action"
697
  msgid "Yes, move to trash"
698
  msgstr ""
699
 
700
+ #: includes/class-yit-assets.php:150 yit-functions.php:2000
701
  #: yit-functions.php:2127
702
  msgctxt "Delete confirmation action"
703
  msgid "Yes, delete"
704
  msgstr ""
705
 
706
+ #: includes/class-yit-plugin-panel.php:491
707
  msgctxt "Help tab name"
708
  msgid "Help"
709
  msgstr ""
plugin-fw/templates/fields/select.php CHANGED
@@ -8,12 +8,13 @@
8
 
9
  defined( 'ABSPATH' ) || exit; // Exit if accessed directly.
10
 
11
- list ( $field_id, $class, $name, $value, $options, $multiple, $placeholder, $buttons, $custom_attributes, $data ) = yith_plugin_fw_extract( $field, 'id', 'class', 'name', 'value', 'options', 'multiple', 'placeholder', 'buttons', 'custom_attributes', 'data' );
12
 
13
- $multiple = ! empty( $multiple );
14
- $class = isset( $class ) ? $class : 'yith-plugin-fw-select';
15
- $name = isset( $name ) ? $name : '';
16
- $name = ! ! $name && $multiple ? $name . '[]' : $name;
 
17
 
18
  if ( $multiple && ! is_array( $value ) ) {
19
  $value = array();
@@ -44,7 +45,17 @@ if ( $multiple && ! is_array( $value ) ) {
44
  <?php if ( is_array( $item ) ) : ?>
45
  <optgroup label="<?php echo esc_attr( $item['label'] ); ?>">
46
  <?php foreach ( $item['options'] as $option_key => $option ) : ?>
47
- <option value="<?php echo esc_attr( $option_key ); ?>" <?php selected( $option_key, $value ); ?>><?php echo esc_html( $option ); ?></option>
 
 
 
 
 
 
 
 
 
 
48
  <?php endforeach; ?>
49
  </optgroup>
50
  <?php else : ?>
@@ -55,6 +66,8 @@ if ( $multiple && ! is_array( $value ) ) {
55
  } else {
56
  selected( $key, $value );
57
  }
 
 
58
  ?>
59
  ><?php echo esc_html( $item ); ?></option>
60
  <?php endif; ?>
8
 
9
  defined( 'ABSPATH' ) || exit; // Exit if accessed directly.
10
 
11
+ list ( $field_id, $class, $name, $value, $options, $disabled_options, $multiple, $placeholder, $buttons, $custom_attributes, $data ) = yith_plugin_fw_extract( $field, 'id', 'class', 'name', 'value', 'options', 'disabled_options', 'multiple', 'placeholder', 'buttons', 'custom_attributes', 'data' );
12
 
13
+ $multiple = ! empty( $multiple );
14
+ $class = $class ?? 'yith-plugin-fw-select';
15
+ $name = $name ?? '';
16
+ $name = ! ! $name && $multiple ? $name . '[]' : $name;
17
+ $disabled_options = $disabled_options ?? array();
18
 
19
  if ( $multiple && ! is_array( $value ) ) {
20
  $value = array();
45
  <?php if ( is_array( $item ) ) : ?>
46
  <optgroup label="<?php echo esc_attr( $item['label'] ); ?>">
47
  <?php foreach ( $item['options'] as $option_key => $option ) : ?>
48
+ <option value="<?php echo esc_attr( $option_key ); ?>"
49
+ <?php
50
+ if ( $multiple ) {
51
+ selected( true, in_array( $option_key, $value ) ); // phpcs:ignore WordPress.PHP.StrictInArray.MissingTrueStrict
52
+ } else {
53
+ selected( $option_key, $value );
54
+ }
55
+
56
+ disabled( true, in_array( $option_key, $disabled_options, true ) );
57
+ ?>
58
+ ><?php echo esc_html( $option ); ?></option>
59
  <?php endforeach; ?>
60
  </optgroup>
61
  <?php else : ?>
66
  } else {
67
  selected( $key, $value );
68
  }
69
+
70
+ disabled( true, in_array( $key, $disabled_options, true ) );
71
  ?>
72
  ><?php echo esc_html( $item ); ?></option>
73
  <?php endif; ?>
readme.txt CHANGED
@@ -4,7 +4,7 @@ Contributors: yithemes
4
  Tags: zoom, magnifier, slider, carousel, woocommerce
5
  Requires at least: 5.7
6
  Tested up to: 5.9
7
- Stable tag: 2.6.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
  Documentation: https://docs.yithemes.com/yith-woocommerce-zoom-magnifier/
@@ -74,6 +74,11 @@ YITH WooCommerce Product Gallery & Image Zoom will add a new tab called "Product
74
 
75
  == Changelog ==
76
 
 
 
 
 
 
77
  = Version 2.6.0 - Released: January 27, 2022 =
78
 
79
  * New: support for WooCommerce 6.2
4
  Tags: zoom, magnifier, slider, carousel, woocommerce
5
  Requires at least: 5.7
6
  Tested up to: 5.9
7
+ Stable tag: 2.7.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
  Documentation: https://docs.yithemes.com/yith-woocommerce-zoom-magnifier/
74
 
75
  == Changelog ==
76
 
77
+ = Version 2.7.0 - Released: March 02, 2022 =
78
+
79
+ * New: support for WooCommerce 6.3
80
+ * Update: YITH plugin framework
81
+
82
  = Version 2.6.0 - Released: January 27, 2022 =
83
 
84
  * New: support for WooCommerce 6.2