<?xml version='1.0' encoding='UTF-8'?><uidget><metadata><name>Gallery</name><description>Add an image gallery</description><help>Display a list of images. Different styles are possible: horizontal gallery, slider, thumbnails with a preview...</help><api_version>1.0</api_version><size height='200' width='850' /><blog en='504' /></metadata><view><content>
&lt;div&gt;

&lt;/div&gt;</content><properties><images_selector default='[]' default_action='true' help='Choose the images to add to your gallery.' icon='folder' name='imgList' /><select class='uic_prop_type' default='&apos;gh&apos;' display='Horizontal Gallery|Preview Gallery|Slider|Carrousel (old)' help='Set the style of the gallery.' name='type' title='Gallery type' values='gh|gp|s|c' /><select class='uic_prop_list_position' default='&apos;b&apos;' display='Bottom|Top|No Preview' help='Set the position of the thumbnails.' name='list_position' title='List position' values='b|t|n' /><select class='uic_prop_min_height' default='&apos;s&apos;' display='XS|S|M|L|XL' help='Set the minimum height of displayed images.' name='min_height' title='Image height' values='xs|s|m|l|xl' /><checkbox class='uic_prop_slider_anim' default='false' help='Image width will be adjusted to fit the visitor&apos;s browser.' name='slider_width' value='Full screen width' /><checkbox default='false' help='Enable a parallax effect: when the page is scrolled, the image displayed scrolls slightly slower to create a nice 3D effect.' name='parallax' value='Parallax' /><checkbox class='uic_auto_play' default='false' help='By activating this feature, images will switch automatically.' name='auto_play' plans='1,2' value='Auto Play' /><checkbox class='uic_prop_thumb' default='false' help='By clicking on the image, your visitors can see it fullscreen.' name='thumb' plans='1,2' value='Fullscreen on click' /><checkbox class='uic_prop_protect' default='false' help='By activating this feature, &lt;b&gt;your visitors will not be able to download these images&lt;/b&gt; by right clicking on an image or by drag-dropping it or by browsing the source of the page.' name='protect' plans='1,2' value='Anti-download' /></properties><design_properties><select class='uic_prop_slider_nav' default='&apos;arrow&apos;' display='Arrows|Dots|None' help='Set the image navigation style.' name='slider_nav' title='Navigation style' values='arrow|dot|none' /><select class='uic_prop_hover_effect' default='&apos;g&apos;' display='None|Gradient|Fade|Color filter|Flash' help='Choose the hover effect' name='hover_effect' title='Hover effect' values='n|g|fa|c|f' /><select class='uic_prop_slider_anim' default='&apos;slide&apos;' display='Slide|Fade' help='Set the animation when image changes.' name='slider_anim' title='Animation' values='slide|fade' /><select class='uic_prop_preview_type' default='&apos;c&apos;' display='Image with margins|Image cropped' help='Depending on its size, the image can be higher or wider than the zone where it will be displayed. You can choose with this option whether the image should be cropped (its borders will be hidden) or shown entirely (with margins around it).' name='preview_type' title='Preview image style' values='m|c' /><number class='uic_prop_scroll' default='1' help='Number of images to be scrolled by for each click on the previous or next button.' minimum='1' name='scroll' title='Images to scroll' /><number class='uic_prop_start' default='1' help='Image number you want the carousel to be positioned at on load.' minimum='1' name='start' title='First image' /><number class='uic_prop_col' default='3' help='Number of columns of the gallery.' maximum='5' minimum='1' name='col' title='Columns' /><number class='uic_prop_gap' default='0' help='Gap between each column of the gallery.' maximum='10' minimum='0' name='gap' title='Gap' /><select class='uic_prop_speed' default='&apos;normal&apos;' display='Fast|Normal|Slow' help='Speed of the animation when pressing the previous and next buttons.' name='animationSpeed' title='Animation speed' values='fast|normal|slow' /><radio class='filterRadio' default='&apos;none&apos;' display='None|Grayscale|Blur|Invert|Contrast|Color or Gradient' help='Select the filter for the image.&lt;br&gt; &lt;b&gt;None&lt;/b&gt; no filter&lt;br&gt; &lt;b&gt;Grayscale&lt;/b&gt; remove all the colors&lt;br&gt; &lt;b&gt;Blur&lt;/b&gt; blur the image&lt;br&gt; &lt;b&gt;Invert&lt;/b&gt; invert all the colors&lt;br&gt; &lt;b&gt;Contrast&lt;/b&gt; more lightness differences&lt;br&gt; &lt;b&gt;Color or gradient&lt;/b&gt; add a color transparent overlay' name='filter' title='Filter' values='none|grayscale|blur|invert|contrast|color' /><gradient default='vertical|50%!rgba(0,0,0,0.5)' /></design_properties></view><script>(function(d){d.fn.jcarousel=function(f){return this.each(function(){new c(this,f)
})
};
var e={vertical:false,start:1,offset:1,size:null,scroll:3,visible:null,animation:&quot;normal&quot;,easing:&quot;swing&quot;,auto:0,wrap:null,initCallback:null,reloadCallback:null,itemLoadCallback:null,itemFirstInCallback:null,itemFirstOutCallback:null,itemLastInCallback:null,itemLastOutCallback:null,itemVisibleInCallback:null,itemVisibleOutCallback:null,buttonNextHTML:&quot;&lt;div&gt;&lt;/div&gt;&quot;,buttonPrevHTML:&quot;&lt;div&gt;&lt;/div&gt;&quot;,buttonNextEvent:&quot;click&quot;,buttonPrevEvent:&quot;click&quot;,buttonNextCallback:null,buttonPrevCallback:null};
d.jcarousel=function(m,n){this.options=d.extend({},e,n||{});
this.locked=false;
this.container=null;
this.clip=null;
this.list=null;
this.buttonNext=null;
this.itemDimension=this.options.itemDimension||85;
this.buttonPrev=null;
this.wh=!this.options.vertical?&quot;width&quot;:&quot;height&quot;;
this.lt=!this.options.vertical?&quot;left&quot;:&quot;top&quot;;
if(m.nodeName==&quot;UL&quot;||m.nodeName==&quot;OL&quot;){this.list=d(m);
this.container=this.list.parent();
if(this.container.hasClass(&quot;jcarousel-clip&quot;)){if(!this.container.parent().hasClass(&quot;jcarousel-container&quot;)){this.container=this.container.wrap(&quot;&lt;div&gt;&lt;/div&gt;&quot;)
}this.container=this.container.parent()
}else{if(!this.container.hasClass(&quot;jcarousel-container&quot;)){this.container=this.list.wrap(&quot;&lt;div&gt;&lt;/div&gt;&quot;).parent()
}}var k=m.className.split(&quot; &quot;);
for(var j=0;
j&lt;k.length;
j++){if(k[j].indexOf(&quot;jcarousel-skin&quot;)!=-1){this.list.removeClass(k[j]);
this.container.addClass(k[j]);
break
}}}else{this.container=d(m);
this.list=d(m).children(&quot;ul,ol&quot;)
}this.clip=this.list.parent();
if(!this.clip.length||!this.clip.hasClass(&quot;jcarousel-clip&quot;)){this.clip=this.list.wrap(&quot;&lt;div&gt;&lt;/div&gt;&quot;).parent()
}this.buttonPrev=d(&quot;.jcarousel-prev&quot;,this.container);
if(this.buttonPrev.size()==0&amp;&amp;this.options.buttonPrevHTML!=null){this.buttonPrev=this.clip.before(this.options.buttonPrevHTML).prev()
}this.buttonPrev.addClass(this.className(&quot;jcarousel-prev&quot;));
this.buttonNext=d(&quot;.jcarousel-next&quot;,this.container);
if(this.buttonNext.size()==0&amp;&amp;this.options.buttonNextHTML!=null){this.buttonNext=this.clip.before(this.options.buttonNextHTML).prev()
}this.buttonNext.addClass(this.className(&quot;jcarousel-next&quot;));
this.clip.addClass(this.className(&quot;jcarousel-clip&quot;));
this.list.addClass(this.className(&quot;jcarousel-list&quot;));
this.container.addClass(this.className(&quot;jcarousel-container&quot;));
var l=this.options.visible!=null?Math.ceil(this.clipping()/this.options.visible):null;
var f=this.list.children(&quot;li&quot;);
this.nbrItems=f.length;
var h=this;
if(f.size()&gt;0){var g=0,j=this.options.offset;
f.each(function(i,o){h.format(this,j++);
g+=h.itemDimension
});
this.list.css(this.wh,g+&quot;px&quot;);
if(!n||n.size==undefined){this.options.size=f.size()
}}this.container.css(&quot;display&quot;,&quot;block&quot;);
this.buttonNext.css(&quot;display&quot;,&quot;block&quot;);
this.buttonPrev.css(&quot;display&quot;,&quot;block&quot;);
this.funcNext=function(){h.next()
};
this.funcPrev=function(){h.prev()
};
if(this.options.initCallback!=null){this.options.initCallback(this,&quot;init&quot;)
}this.setup()
};
var c=d.jcarousel;
c.fn=c.prototype={jcarousel:&quot;0.2.2&quot;};
c.fn.extend=c.extend=d.extend;
c.fn.extend({setup:function(){this.first=1;
this.last=null;
this.prevFirst=null;
this.prevLast=null;
this.animating=false;
this.timer=null;
this.tail=null;
this.inTail=false;
this.currentItem=this.options.start;
if(this.locked){return
}this.list.css(this.lt,this.pos(this.options.offset)+&quot;px&quot;);
var f=this.pos(this.currentItem);
this.prevFirst=this.prevLast=null;
this.animate(f,false)
},reset:function(){this.list.empty();
this.list.css(this.lt,&quot;0px&quot;);
this.list.css(this.wh,&quot;0px&quot;);
if(this.options.initCallback!=null){this.options.initCallback(this,&quot;reset&quot;)
}this.setup()
},lock:function(){this.locked=true;
this.buttons()
},unlock:function(){this.locked=false;
this.buttons()
},size:function(f){if(f!=undefined){this.options.size=f;
if(!this.locked){this.buttons()
}}return this.options.size
},has:function(g,h){if(h==undefined||!h){h=g
}for(var f=g;
f&lt;=h;
f++){var k=this.get(f).get(0);
if(!k||d(k).hasClass(&quot;jcarousel-item-placeholder&quot;)){return false
}}return true
},get:function(f){return d(&quot;.jcarousel-item-&quot;+f,this.list)
},next:function(){this.stopAuto();
if(this.canNext()){this.scroll(this.currentItem+this.options.scroll)
}else{this.scroll(1)
}},prev:function(){this.stopAuto();
this.scroll(this.currentItem-this.options.scroll)
},scroll:function(g,f){if(this.locked||this.animating){return
}this.currentItem=g;
this.animate(this.pos(g),f)
},pos:function(f){if(this.locked||this.animating){return
}return -(f-1)*this.itemDimension
},animate:function(i,f){if(this.locked||this.animating){return
}this.animating=true;
var g=this;
var h=function(){g.animating=false;
if(i==0){g.list.css(g.lt,0)
}if(g.options.wrap==&quot;both&quot;||g.options.wrap==&quot;last&quot;||g.options.size==null||g.last&lt;g.options.size){g.startAuto()
}g.buttons();
g.notify(&quot;onAfterAnimation&quot;)
};
this.notify(&quot;onBeforeAnimation&quot;);
if(!this.options.animation||f==false){this.list.css(this.lt,i+&quot;px&quot;);
h()
}else{var j=!this.options.vertical?{left:i}:{top:i};
this.list.animate(j,this.options.animation,this.options.easing,h)
}},startAuto:function(g){if(g!=undefined){this.options.auto=g
}if(this.options.auto==0){return this.stopAuto()
}if(this.timer!=null){return
}var f=this;
this.timer=setTimeout(function(){f.next()
},this.options.auto*1000)
},stopAuto:function(){if(this.timer==null){return
}clearTimeout(this.timer);
this.timer=null
},canNext:function(){var g=-this.pos(this.currentItem)+this.clipping();
var f=-this.pos(this.nbrItems+1)-10;
return f&gt;=g
},canPrev:function(){return(this.currentItem-this.options.scroll)&gt;0
},buttons:function(h,g){h=h||this.canNext();
g=g||this.canPrev();
var f=this;
this.buttonNext[h?&quot;bind&quot;:&quot;unbind&quot;](this.options.buttonNextEvent,this.funcNext)[h?&quot;removeClass&quot;:&quot;addClass&quot;](this.className(&quot;jcarousel-next-disabled&quot;)).prop(&quot;disabled&quot;,h?false:true);
this.buttonPrev[g?&quot;bind&quot;:&quot;unbind&quot;](this.options.buttonPrevEvent,this.funcPrev)[g?&quot;removeClass&quot;:&quot;addClass&quot;](this.className(&quot;jcarousel-prev-disabled&quot;)).prop(&quot;disabled&quot;,g?false:true)
},notify:function(f){},create:function(f){return this.format(&quot;&lt;li&gt;&lt;/li&gt;&quot;,f)
},format:function(h,g){var f=d(h).addClass(this.className(&quot;jcarousel-item&quot;)).addClass(this.className(&quot;jcarousel-item-&quot;+g));
f.attr(&quot;jcarouselindex&quot;,g);
return f
},className:function(f){return f+&quot; &quot;+f+(!this.options.vertical?&quot;-horizontal&quot;:&quot;-vertical&quot;)
},clipping:function(){return !this.options.vertical?this.clip[0].offsetWidth-c.intval(this.clip.css(&quot;borderLeftWidth&quot;))-c.intval(this.clip.css(&quot;borderRightWidth&quot;)):this.clip[0].offsetHeight-c.intval(this.clip.css(&quot;borderTopWidth&quot;))-c.intval(this.clip.css(&quot;borderBottomWidth&quot;))
},index:function(f,g){if(g==undefined){g=this.options.size
}return Math.round((((f-1)/g)-Math.floor((f-1)/g))*g)+1
}});
c.extend({defaults:function(f){d.extend(e,f)
},intval:function(f){f=parseInt(f);
return isNaN(f)?0:f
}})
})(jQuery);
UI_List.UI_Carousel={initialize:function(c){this.component=c;
c.setOptions([&quot;locked&quot;])
},buildImg:function(c){if(c.width&gt;c.height){var d=[75,75*c.height/c.width];
d.push(0);
d.push((75-d[1])/2)
}else{var d=[75*c.width/c.height,75];
d.push((75-d[0])/2);
d.push(0)
}return $(document).setImage(c,d[0],d[1],{protect:this._protected()}).data(&quot;file_id&quot;,c.id).css({top:d[3],left:d[2]})
},verticalImgNode:function(f,j,e){var i=f.component.data.col,c=f.component.data.gap,d=(f.div.find(&quot;.gallery-vertical&quot;).innerWidth()-((i-1)*c))/i,k=d*e.height/e.width,g=bestImgSrc(e,d,k);
return $(&quot;&lt;div&gt;&quot;).addClass(&quot;img_click&quot;).data(&quot;file_id&quot;,e.id).data(&quot;index&quot;,j).css({&quot;margin-bottom&quot;:c,height:k,width:d}).cdnSrc(g,d,k)
},horizontalImgNode:function(f,d,g,c){var e=bestImgSrc(d,c,g);
return $(&quot;&lt;div&gt;&quot;).addClass(&quot;img_click&quot;).data(&quot;file_id&quot;,d.id).data(&quot;index&quot;,f).data(&quot;img&quot;,d).css({height:g,width:c}).cdnSrc(e,c,g)
},sliderImgNode:function(f,g,e){var h=&quot;img_click out&quot;,d=(this.component.data.type==&quot;s&quot;&amp;&amp;this.component.data.slider_width)?$(window).width():e.width;
url=bestImgSrc(e,d,e.height);
if(g==f.div.find(&quot;.gallery-slider&quot;).data().currentI){h=&quot;img_click in&quot;
}return $(&quot;&lt;div&gt;&lt;/div&gt;&quot;).addClass(h).data(&quot;file_id&quot;,e.id).data(&quot;index&quot;,g).cdnSrc(url,d,e.height)
},addPinterestNode:function(d){var c=this;
Misc.poll(function(){return $(&quot;.addthis_button_pinterest&quot;).length&gt;0
},function(){var e=$(&quot;&lt;div class=pin-it&gt;&quot;).hide().appendTo(c.div);
c.component.data.imgList.each(function(f){$(&quot;&lt;img&gt;&quot;).attr(&quot;src&quot;,f.url).appendTo(e)
})
})
},sliderNavigation:function(g,e,h){var k=e.div.find(&quot;.gallery-nav&quot;),j=e.div.find(&quot;.gallery-slider&quot;),d=function(p,o){var q=&quot;left&quot;,m=j.find(&quot;.in&quot;).data().index,n=0,i=e.component.data.imgList.length-1;
if(o===undefined){if(p){q=&quot;left&quot;;
n=m-1;
if(n&lt;0){n=i
}}else{q=&quot;right&quot;;
n=m+1;
if(n&gt;i){n=0
}}}else{n=o.data(&quot;imageID&quot;);
if(m&lt;n){q=&quot;right&quot;
}}if(j.find(&quot;.gallery-dot&quot;).length){if(n==i&amp;&amp;m==0){q=&quot;left&quot;
}j.find(&quot;.gallery-dot.selected&quot;).removeClass(&quot;selected&quot;);
$(j.find(&quot;.gallery-dot&quot;)[n]).addClass(&quot;selected&quot;)
}if(m!=n){e.slideTo(e,j,q,m,n)
}};
if(g==&quot;none&quot;){return false
}if(h&gt;5||g==&quot;arrow&quot;){$(&quot;&lt;div class=&apos;gallery-arrow left&apos;&gt;&lt;span class=&apos;fonticon&apos;&gt;&quot;+$.fn.fonticon(&quot;arrow-left&quot;)+&quot;&lt;/span&gt;&lt;/div&gt;&quot;).appendTo(k);
$(&quot;&lt;div class=&apos;gallery-arrow right&apos;&gt;&lt;span class=&apos;fonticon&apos;&gt;&quot;+$.fn.fonticon(&quot;arrow-right&quot;)+&quot;&lt;/span&gt;&lt;/div&gt;&quot;).appendTo(k);
j.find(&quot;.gallery-arrow&quot;).on(&quot;click&quot;,function(){if(!j.hasClass(&quot;wait&quot;)){d($(this).hasClass(&quot;left&quot;))
}})
}else{for(var f=0;
f&lt;h;
f++){var l=&quot;&quot;;
if(!f){l=&quot; selected&quot;
}$(&quot;&lt;div class=&apos;gallery-dot&quot;+l+&quot;&apos;&gt;&lt;/div&gt;&quot;).appendTo(k).data(&quot;imageID&quot;,f)
}j.find(&quot;.gallery-dot&quot;).on(&quot;click&quot;,function(){if(!j.hasClass(&quot;wait&quot;)){d(null,$(this))
}})
}j.swipe(d)
},setPreview:function(d,e){var h=d.component.data.preview_type,g=d.div.find(&quot;.gallery-preview-image&quot;),f=310;
if(h==&quot;c&quot;){g.removeClass(&quot;margin&quot;);
g.addClass(&quot;crop&quot;)
}else{g.removeClass(&quot;crop&quot;);
g.addClass(&quot;margin&quot;)
}g.fadeOut(f,function(){var i=d.component.H()-d._min_height_value(d.component.data.min_height);
var c=bestImgSrc(d.component.data.imgList[e],d.component.W(),i);
g.css({height:i}).data(&quot;index&quot;,e).cdnSrc(c,d.component.W(),i)
}).fadeIn(f,function(){if(!g.is(&quot;:visible&quot;)){g.show()
}})
},slideTo:function(d,f,h,e,g){f.addClass(&quot;wait&quot;).data(&quot;currentI&quot;,g);
if(d.component.data.slider_anim==&quot;slide&quot;){if(h==&quot;right&quot;){d.div.find(&quot;.img_click&quot;).each(function(j,c){var l=$(c).data().index;
if(l==e){$(c).removeClass(&quot;in&quot;).addClass(&quot;in-out&quot;);
setTimeout(function(){var i=$(c);
$(c).remove();
d.div.find(&quot;.gallery-slider&quot;).append(i.removeClass(&quot;in-out&quot;).addClass(&quot;out&quot;).data(&quot;index&quot;,l))
},1050)
}else{if(l==g){$(c).removeClass(&quot;out&quot;).addClass(&quot;out-in&quot;);
setTimeout(function(){$(c).removeClass(&quot;out-in&quot;).addClass(&quot;in&quot;)
},1050)
}}})
}else{d.div.find(&quot;.img_click&quot;).each(function(j,c){var m=$(c).data().index;
if(m==e){$(c).removeClass(&quot;in&quot;).addClass(&quot;out&quot;)
}else{if(m==g){var l=$(c);
$(c).remove();
d.div.find(&quot;.gallery-slider&quot;).prepend(l.data(&quot;index&quot;,m).removeClass(&quot;out&quot;).addClass(&quot;in-out&quot;));
$(c).removeClass(&quot;in-out&quot;).addClass(&quot;in&quot;)
}}})
}}else{d.div.find(&quot;.img_click&quot;).each(function(j,c){var l=$(c).data().index;
if(l==e){$(c).removeClass(&quot;in&quot;).addClass(&quot;in-out&quot;);
setTimeout(function(){$(c).removeClass(&quot;in-out&quot;).addClass(&quot;out&quot;)
},1050)
}else{if(l==g){$(c).removeClass(&quot;out&quot;).addClass(&quot;out-in&quot;);
setTimeout(function(){$(c).removeClass(&quot;out-in&quot;).addClass(&quot;in&quot;)
},1050)
}}})
}if(f.find(&quot;.gallery-dot&quot;).length){f.find(&quot;.gallery-dot.selected&quot;).removeClass(&quot;selected&quot;);
$(f.find(&quot;.gallery-dot&quot;)[g]).addClass(&quot;selected&quot;)
}setTimeout(function(){f.removeClass(&quot;wait&quot;)
},1050)
},buildList:function(){var l=this,u=l.component.data;
var g=this.getDescriptions();
switch(l.component.data.type){case&quot;gv&quot;:var s=$(&quot;&lt;div class=&apos;gallery gallery-vertical hover_n col&quot;+u.col+&quot; gap&quot;+u.gap+&quot;&apos;&gt;&lt;/div&gt;&quot;).appendTo(this.div.empty());
u.imgList.each_with_index(function(w,x){l.verticalImgNode(l,x,w).appendTo(s)
});
s.parents(&quot;.componentBody&quot;).attr(&quot;style&quot;,&quot;overflow:hidden;&quot;);
this._checkHeight();
setTimeout(function(){l._checkHeight();
s.find(&quot;.img_click&quot;).on(&quot;click&quot;,function(){tb_show_viewer((v.mode==&quot;editor&quot;?l.getDescriptions():g),$(this).data().index,u.imgList,l._protected());
sigCtl.emit(&quot;UI_Carousel.fullscreen&quot;,$(this));
this.blur()
})
},1000);
break;
case&quot;gh&quot;:var s=$(&quot;&lt;div class=&apos;gallery gallery-horizontal hover_&quot;+u.hover_effect+&quot;&apos;&gt;&lt;/div&gt;&quot;).appendTo(this.div.empty());
var m=[];
var r=l.div.find(&quot;.gallery-horizontal&quot;).innerWidth();
var q=function(B,x,A,y){var z=(r-x*(B.length-1))/l._totalSize(B,0);
B.each_with_index(function(E,F){var w=Math.floor(E.width()*z);
var D=A*z;
E.css({width:w,height:D,&quot;margin-bottom&quot;:x,&quot;margin-left&quot;:F?x:0});
var C=E.data(&quot;img&quot;);
if(C){E.cdnSrc(bestImgSrc(C,w,D),w,D)
}})
};
u.imgList.each_with_index(function(z,A){var x=u.gap,B=l._min_height_value(u.min_height),y=B*z.width/z.height;
if(l._totalSize(m,x)+y&lt;=r){m[m.length]=l.horizontalImgNode(A,z,B,y).appendTo(s);
if(A==u.imgList.length-1){q(m,x,B,y)
}}else{q(m,x,B,y);
m=[];
m[m.length]=l.horizontalImgNode(A,z,B,y).appendTo(s)
}});
this._checkHeight();
setTimeout(function(){l._checkHeight();
s.find(&quot;.img_click&quot;).on(&quot;click&quot;,function(){tb_show_viewer((v.mode==&quot;editor&quot;?l.getDescriptions():g),$(this).data().index,u.imgList,l._protected());
sigCtl.emit(&quot;UI_Carousel.fullscreen&quot;,$(this));
this.blur()
})
},1000);
break;
case&quot;gp&quot;:var f=0;
if(this.div.find(&quot;.gallery-preview-image&quot;).data()!=null){f=this.div.find(&quot;.gallery-preview-image&quot;).data().index
}var s=$(&quot;&lt;div class=&apos;gallery gallery-preview &quot;+u.min_height+&quot; &quot;+u.list_position+&quot; hover_&quot;+u.hover_effect+&quot;&apos;&gt;&lt;/div&gt;&quot;).appendTo(this.div.empty());
var n=$(&quot;&lt;div class=&apos;gallery-preview-image&apos;&gt;&lt;/div&gt;&quot;);
var p=$(&quot;&lt;div class=&apos;gallery-slide&apos;&gt;&lt;/div&gt;&quot;);
if(u.list_position==&quot;b&quot;){n.appendTo(s);
p.appendTo(s)
}else{if(u.list_position==&quot;t&quot;){p.appendTo(s);
n.appendTo(s)
}else{if(u.list_position==&quot;n&quot;){p.appendTo(s)
}}}var d=$(&quot;&lt;div class=&apos;gallery-images&apos;&gt;&lt;/div&gt;&quot;).appendTo(p);
var e=$(&quot;&lt;div class=&apos;gallery-arrow left&apos;&gt;&lt;span class=&apos;fonticon&apos;&gt;&quot;+$.fn.fonticon(&quot;arrow-left&quot;)+&quot;&lt;/span&gt;&lt;/div&gt;&quot;).appendTo(p);
var t=$(&quot;&lt;div class=&apos;gallery-arrow right&apos;&gt;&lt;span class=&apos;fonticon&apos;&gt;&quot;+$.fn.fonticon(&quot;arrow-right&quot;)+&quot;&lt;/span&gt;&lt;/div&gt;&quot;).appendTo(p);
var o=u.gap;
var i=[];
u.imgList.each_with_index(function(y,z){var A=d.height(),x=Math.floor(A*y.width/y.height);
if(z==f){l.setPreview(l,z)
}i[i.length]=l.horizontalImgNode(z,y,A,x).css({&quot;margin-left&quot;:z?o:0}).appendTo(d)
});
d.css({width:l._totalSize(i,o)+1});
this._checkHeight();
setTimeout(function(){l._checkHeight();
s.find(&quot;.img_click&quot;).on(&quot;click&quot;,function(){if(u.list_position!=&quot;n&quot;){l.setPreview(l,$(this).data().index);
l._checkHeight()
}else{tb_show_viewer((v.mode==&quot;editor&quot;?l.getDescriptions():g),$(this).data().index,u.imgList,l._protected());
sigCtl.emit(&quot;UI_Carousel.fullscreen&quot;,$(this));
this.blur()
}});
s.find(&quot;.gallery-arrow&quot;).on(&quot;click&quot;,function(C){var B=s.find(&quot;.gallery-images&quot;),y=s.find(&quot;.gallery-slide&quot;).width()*0.5;
var A=$(this),x=parseInt(B.css(&quot;left&quot;).replace(&quot;px&quot;,&quot;&quot;)),w=0;
if(A.hasClass(&quot;left&quot;)){if(x&lt;=w&amp;&amp;x!=w){if(x+y&lt;w){B.css({left:x+y})
}else{B.css({left:w})
}}}else{var z=(B.width()-s.find(&quot;.gallery-slide&quot;).width()+w)*-1+1;
if(x&gt;z&amp;&amp;x!=z){if(x-y&gt;=z){B.css({left:x-y})
}else{B.css({left:z})
}}}});
s.find(&quot;.gallery-preview-image&quot;).on(&quot;click&quot;,function(){tb_show_viewer((v.mode==&quot;editor&quot;?l.getDescriptions():g),$(this).data().index,u.imgList,l._protected());
sigCtl.emit(&quot;UI_Carousel.fullscreen&quot;,$(this));
this.blur()
})
},1000);
break;
case&quot;s&quot;:var c=0,j=&quot;arrow&quot;;
if(u.slider_nav==&quot;dot&quot;&amp;&amp;u.imgList.length&lt;=5){j=&quot;dot&quot;
}if(this.div.find(&quot;.gallery-slider&quot;).data()!=null){c=this.div.find(&quot;.gallery-slider&quot;).data().currentI
}var s=$(&quot;&lt;div class=&apos;gallery gallery-slider &quot;+u.slider_anim+&quot;&apos;&gt;&lt;/div&gt;&quot;).data(&quot;currentI&quot;,c).appendTo(this.div.empty());
var h=$(&quot;&lt;div class=&apos;gallery-nav &quot;+j+&quot;&apos;&gt;&lt;/div&gt;&quot;).appendTo(s);
u.imgList.each_with_index(function(w,x){l.sliderImgNode(l,x,w).on(&quot;click&quot;,function(){if(u.thumb){tb_show_viewer((v.mode==&quot;editor&quot;?l.getDescriptions():g),$(this).data().index,u.imgList,l._protected());
sigCtl.emit(&quot;UI_Carousel.fullscreen&quot;,$(this));
this.blur()
}}).appendTo(s)
});
if(u.imgList.length&gt;1){this.sliderNavigation(u.slider_nav,l,u.imgList.length)
}if(u.auto_play&amp;&amp;u.imgList.length&gt;1){var k=function(){if(!s.hasClass(&quot;wait&quot;)){p=l.div.find(&quot;.gallery-slider&quot;);
b=p.data(&quot;currentI&quot;);
a=b+1;
if(a&gt;l.component.data.imgList.length-1){a=0
}p.data(&quot;currentI&quot;,a);
l.slideTo(l,s,&quot;right&quot;,b,a)
}};
clearInterval(l.autoplayInterval);
l.autoplayInterval=setInterval(function(){if(u.auto_play){k()
}},5000)
}break;
default:var s=$(&quot;&lt;ul class=&apos;jcarousel-skin-tango&apos;&gt;&lt;/ul&gt;&quot;).appendTo(this.div.empty());
u.imgList.each_with_index(function(w,x){l.buildImg(w).appendTo($(&quot;&lt;li&gt;&lt;/li&gt;&quot;).appendTo(s)).addClass(&quot;clickable&quot;).click(function(){tb_show_viewer((v.mode==&quot;editor&quot;?l.getDescriptions():g),x,u.imgList,l._protected());
sigCtl.emit(&quot;UI_Carousel.fullscreen&quot;,w);
this.blur();
return false
})
});
var l=this;
s.jcarousel({vertical:(this.component.W()&lt;this.component.H()),scroll:u.scroll,auto:0,start:u.start,animation:u.animationSpeed,initCallback:function(x){try{$(&quot;.jcarousel-skin-tango.jcarousel-container-horizontal ,.jcarousel-skin-tango .jcarousel-clip-horizontal&quot;,l.div).width(l.component.W()-85).height(l.component.H()-45);
$(&quot;.jcarousel-skin-tango.jcarousel-container-vertical ,.jcarousel-skin-tango .jcarousel-clip-vertical&quot;,l.div).width(l.component.W()-42).height(l.component.H()-85)
}catch(w){}x.buttons()
}});
break
}this.addPinterestNode();
if(this._protected()){this._antiDownload()
}},_setFullWidth:function(){this.component.setFullWidth(this.component.data.type==&quot;s&quot;&amp;&amp;this.component.data.slider_width)
},_checkHeight:function(){clearTimeout(this.check_to);
var c=this;
this.check_to=setTimeout(function(){var d=null,f=c.component;
switch(f.data.type){case&quot;gv&quot;:d=c.div.find(&quot;.gallery&quot;).innerHeight();
break;
case&quot;gh&quot;:var e=$(&quot;.img_click:last&quot;,c.div);
if(e.position()){d=e.position().top+e.height()
}else{d=c.div.height()
}break;
case&quot;gp&quot;:var e=$(&quot;.gallery-slide&quot;,c.div);
if(e.position()){if(c.component.data.list_position==&quot;n&quot;){d=c.div.find(&quot;.gallery-images&quot;).height()
}}else{d=parseInt(c.div.height())
}break;
case&quot;s&quot;:e=c.component.data.imgList[c.div.find(&quot;.in&quot;).data(&quot;index&quot;)];
if(e!=undefined){d=Math.floor(c.div.width()*e.height/e.width)
}else{d=c.div.height()
}break
}if(d!=null){c.fromCheckHeight=true;
f.setXYZWH({h:d});
c.fromCheckHeight=false
}},500)
},getDescriptions:function(){var c=this;
var d=[];
return FileDescription.get(this.component.data.imgList).done(function(e){$(&quot;img&quot;,c.div).each(function(){var f;
if((f=$(this).data(&quot;file_id&quot;))&amp;&amp;e[f]){$([this,this.previousSibling]).attr(&quot;title&quot;,e[f])
}})
})
},onDisplay:function(c){this.protect_available=(v.mode==&quot;editor&quot;||v.planid&gt;=1);
this.div=$(&quot;div&quot;,c).css(&quot;width&quot;,&quot;100%&quot;).css(&quot;height&quot;,&quot;100%&quot;);
this.captions={list:[]};
this._loadProperties();
this.component.data.slider_anim=this.component.data.slider_anim||&quot;slide&quot;;
this.component.data.list_position=this.component.data.list_position||&quot;b&quot;;
this.component.data.hover_effect=this.component.data.hover_effect||&quot;n&quot;;
this.component.data.slider_nav=this.component.data.slider_nav||&quot;arrow&quot;;
this.component.data.slider_width=this.component.data.slider_width||false;
this.component.data.preview_type=this.component.data.preview_type||&quot;m&quot;;
this.component.data.min_height=this.component.data.min_height||&quot;s&quot;;
this.component.data.auto_play=this.component.data.auto_play||false;
this.component.data.gap=this.component.data.gap||0;
this.component.data.col=this.component.data.col||3;
this.buildList();
this._setFullWidth();
this._setColorFilter();
this._setParallax()
},onSelect:function(){var c=$(this.component.propertyNode).add(this.component.propertyDesignNode);
this._loadProperties()
},onPropertyChanged:function(c){this._loadProperties();
if(this.component.data.protect){if(this.component.data.imgList.find(function(e){return e.url.match(/\.gif(\?.*)?$/)
})){statusController.message(&quot;&lt;b&gt;Anti-download of images&lt;/b&gt; is not available for GIF animations.&quot;,&quot;warning&quot;)
}else{if(v.mode!=&quot;editor&quot;&amp;&amp;this.protect_available){this._antiDownload()
}}}this.buildList();
this._setFullWidth();
if(c.include(&quot;type&quot;)){if(this.component.data.type==&quot;gp&quot;){this.component.setXYZWH({h:this._min_height_value(this.component.data.min_height)*4})
}else{this._checkHeight()
}}if(c.include(&quot;slider_nav&quot;)&amp;&amp;this.component.data.slider_nav==&quot;dot&quot;){statusController.message(&quot;&lt;b&gt;Dot navigation&lt;/b&gt; is not available for more than 5 images.&quot;,&quot;warning&quot;)
}this._setColorFilter();
this._setParallax();
if(this.component.data.filter==&quot;color&quot;){this.component.data.gradientAngle=this.component.data.gradientAngle||45;
$(&quot;#filterColorImg&quot;+this.component.uniqId()).setBackgroundGradient(this.component.data.gradientColor,this.component.data.select_Gradient,this.component.data.gradientAngle)
}var d=$(this.component.propertyNode).add(this.component.propertyDesignNode);
if(this.component.data.type!=&quot;s&quot;){this.component.componentBody.find(&quot;.img_click&quot;).filter(function(e,f){$(f).css({filter:&quot;&quot;,&quot;-webkit-filter&quot;:&quot;&quot;})
});
this.component.data.filter=&quot;none&quot;;
$(&quot;#ui_radio_property_3_none&quot;).prop(&quot;checked&quot;,&quot;checked&quot;);
$(&quot;.filterRadio&quot;,d).hide()
}else{$(&quot;.filterRadio&quot;,d).show()
}if(this.component.data.type!=&quot;s&quot;){$(&quot;.prop_check&quot;,d).find(&quot;input[data-name=&apos;parallax&apos;]&quot;).parent().hide();
this.component.data.parallax=false;
$(&quot;.prop_check&quot;,d).find(&quot;input[data-name=&apos;parallax&apos;]&quot;).prop(&quot;checked&quot;,&quot;&quot;)
}else{$(&quot;.prop_check&quot;,d).find(&quot;input[data-name=&apos;parallax&apos;]&quot;).parent().show()
}if(c.include(&quot;parallax&quot;)){this._setParallax()
}},onResizeStop:function(){switch(this.component.data.type){case&quot;gh&quot;:case&quot;gv&quot;:if(!this.fromCheckHeight){this.buildList()
}break;
case&quot;s&quot;:case&quot;gp&quot;:break;
default:this.buildList();
break
}this._setFullWidth();
this._setParallax()
},onMoveStop:function(){this._setFullWidth();
this._setParallax()
},_loadProperties:function(){var c=$(this.component.propertyNode).add(this.component.propertyDesignNode);
var d=[&quot;locked&quot;];
switch(this.component.data.type){case&quot;gv&quot;:$(&quot;.uic_prop_gap,.uic_prop_col&quot;,c).show();
$(&quot;.uic_prop_thumb, .uic_auto_play, li.uic_prop_hover_effect,.uic_prop_scroll,.uic_prop_start,li.uic_prop_speed,li.uic_prop_min_height,li.uic_prop_preview_height,li.uic_prop_preview_type,li.uic_prop_list_position,li.uic_prop_slider_anim,li.uic_prop_slider_nav&quot;,c).hide();
break;
case&quot;gh&quot;:$(&quot;li.uic_prop_min_height,.uic_prop_gap, li.uic_prop_hover_effect&quot;,c).show();
$(&quot;.uic_prop_thumb, .uic_auto_play,.uic_prop_scroll,.uic_prop_start,li.uic_prop_speed,.uic_prop_col,li.uic_prop_preview_height,li.uic_prop_preview_type,li.uic_prop_list_position,li.uic_prop_slider_anim,li.uic_prop_slider_nav&quot;,c).hide();
break;
case&quot;gp&quot;:$(&quot;li.uic_prop_min_height,.uic_prop_gap,li.uic_prop_list_position, li.uic_prop_hover_effect&quot;,c).show();
$(&quot;.uic_prop_thumb, .uic_auto_play,.uic_prop_scroll,.uic_prop_start,li.uic_prop_speed,.uic_prop_col, li.uic_prop_slider_anim,li.uic_prop_slider_nav&quot;,c).hide();
if(this.component.data.list_position!=&quot;n&quot;){$(&quot;li.uic_prop_preview_height,li.uic_prop_preview_type&quot;,c).show()
}else{$(&quot;li.uic_prop_preview_height,li.uic_prop_preview_type&quot;,c).hide()
}break;
case&quot;s&quot;:d=[&quot;locked&quot;,&quot;container&quot;];
$(&quot;.uic_prop_thumb, .uic_auto_play,li.uic_prop_slider_anim,li.uic_prop_slider_nav&quot;,c).show();
$(&quot;.uic_prop_scroll,.uic_prop_start,li.uic_prop_speed,.uic_prop_col,li.uic_prop_preview_height,li.uic_prop_preview_type,li.uic_prop_list_position,li.uic_prop_min_height,.uic_prop_gap, li.uic_prop_hover_effect&quot;,c).hide();
break;
default:$(&quot;.uic_prop_scroll,.uic_prop_start,li.uic_prop_speed&quot;,c).show();
$(&quot;.uic_prop_thumb, .uic_auto_play,.uic_prop_gap,.uic_prop_col,li.uic_prop_min_height,li.uic_prop_preview_height,li.uic_prop_preview_type,li.uic_prop_list_position, li.uic_prop_hover_effect&quot;,c).hide();
break
}this.component.setOptions(d);
if(this.component.data.type!=&quot;s&quot;){this.component.data.filter=&quot;none&quot;;
$(&quot;.filterRadio&quot;,c).hide();
$(&quot;.prop_check&quot;,c).find(&quot;input[data-name=&apos;parallax&apos;]&quot;).parent().hide();
this.component.data.parallax=false;
$(&quot;.prop_check&quot;,c).find(&quot;input[data-name=&apos;parallax&apos;]&quot;).prop(&quot;checked&quot;,&quot;&quot;)
}else{$(&quot;.filterRadio&quot;,c).show();
$(&quot;.prop_check&quot;,c).find(&quot;input[data-name=&apos;parallax&apos;]&quot;).parent().show();
if(this.component.data.filter==&quot;color&quot;){$(&quot;.gradientProperty&quot;,c).show();
if(this.component.data.select_Gradient==&quot;diagonal&quot;&amp;&amp;this.component.data.filter==&quot;color&quot;){$(&quot;.roundSliderPropertyDiv&quot;,c).show()
}else{$(&quot;.roundSliderPropertyDiv&quot;,c).hide()
}$(&quot;.selectGradientO.k-widget&quot;,c).show()
}else{$(&quot;.gradientProperty&quot;,c).hide();
$(&quot;.roundSliderPropertyDiv&quot;,c).hide();
$(&quot;.selectGradientO.k-widget&quot;,c).hide()
}}},_totalSize:function(d,c){var e=(d.length-1)*c;
d.each(function(g,f){if($.isFunction((g.width))){e+=g.width()
}else{e+=g.width
}});
return e
},_min_height_value:function(c){var d=50;
switch(c){case&quot;xs&quot;:d=100;
break;
case&quot;s&quot;:d=150;
break;
case&quot;m&quot;:d=200;
break;
case&quot;l&quot;:d=250;
break;
case&quot;xl&quot;:d=300;
break
}return d
},_protected:function(){return(this.component.data.protect||v.page_bg.security.content_protection)&amp;&amp;v.mode!=&quot;editor&quot;&amp;&amp;this.protect_available
},_antiDownload:function(){var f=this.div,c=&quot;/images/spacer.gif&quot;,d=new Image(),e=&quot;&quot;;
d.src=c;
switch(this.component.data.type){case&quot;gh&quot;:case&quot;s&quot;:e=&quot;.img_click, #TB_ImageOff div:first&quot;;
break;
case&quot;gp&quot;:e=&quot;.img_click, #TB_ImageOff div:first, .gallery.gallery-preview .gallery-preview-image&quot;;
break
}if(e!=&quot;&quot;){$(e,f).on(&quot;mouseenter touchstart&quot;,function(i){var g=$(this);
if($(&quot;.protectOverlay&quot;,g).length&gt;0){return
}var h=$(&apos;&lt;img class=&quot;protectOverlay&quot; src=&quot;&apos;+c+&apos;&quot; width=&quot;&apos;+g.width()+&apos;&quot; height=&quot;&apos;+g.height()+&apos;&quot; /&gt;&apos;).css({position:&quot;absolute&quot;,zIndex:95}).on(&quot;mouseleave&quot;,function(){setTimeout(function(){h.remove()
},0)
});
g.html(h);
$(document).on(&quot;touchend&quot;,function(){setTimeout(function(){h.remove()
},0)
})
});
$(e,f).on(&quot;contextmenu&quot;,function(g){if(g.target.nodeName==&quot;DIV&quot;){return false
}})
}},_setColorFilter:function(){var c=this.component.componentBody;
jQuery.fn.setImgFilter(c,&quot;carousel&quot;,this.component.data.filter,&quot;filterColorImg&quot;+this.component.uniqId(),{color:this.component.data.gradientColor,or:this.component.data.select_Gradient,angle:this.component.data.gradientAngle})
},_setParallax:function(){var f=$(this.component.propertyNode).add(this.component.propertyDesignNode);
if(this.component.data.type!=&quot;s&quot;){$(&quot;.prop_check&quot;,f).find(&quot;input[data-name=&apos;parallax&apos;]&quot;).parent().hide();
this.component.data.parallax=false;
$(&quot;.prop_check&quot;,f).find(&quot;input[data-name=&apos;parallax&apos;]&quot;).prop(&quot;checked&quot;,&quot;&quot;)
}else{$(&quot;.prop_check&quot;,f).find(&quot;input[data-name=&apos;parallax&apos;]&quot;).parent().show()
}var d=v.mode==&quot;editor&quot;?$(&quot;#site&quot;):$(window);
var g=this.component.componentBody.find(&quot;.img_click&quot;);
if(this.component.data.parallax){var k=this;
var c=k.component.node.position().top-d.height();
var i=k.component.node.position().top+k.component.node.height();
var e=window.navigator.userAgent.match(/MSIE|Trident|Edge/);
if(e&amp;&amp;v.mode==&quot;viewer&quot;){jQuery.fn.overrideWindowScroll(true)
}var j=function(){var m=i-c;
if(d.scrollTop()&gt;c&amp;&amp;d.scrollTop()&lt;i){var l=(((d.scrollTop()-c)*100)/m);
var n=&quot;50% &quot;+(100-l)+&quot;%&quot;;
g.css({backgroundPosition:n})
}};
d.off(&quot;scroll.parallaximg&quot;+this.component.uniqId()).on(&quot;scroll.parallaximg&quot;+this.component.uniqId(),j)
}else{d.off(&quot;scroll.parallaximg&quot;+this.component.uniqId());
var h=&quot;50% 50%&quot;;
g.css({backgroundPosition:h})
}d.trigger(&quot;scroll&quot;)
}};</script><style>.jcarousel-container{position:relative}
.jcarousel-clip{z-index:2;padding:0;margin:0;overflow:hidden;position:relative}
.jcarousel-list{z-index:1;overflow:hidden;position:relative;top:0;left:0;margin:0;padding:0}
.jcarousel-item{list-style:none;width:75px;height:75px;position:relative}
.jcarousel-item img{position:absolute}
.jcarousel-next{z-index:3;display:none}
.jcarousel-prev{z-index:3;display:none}
.jcarousel-skin-tango.jcarousel-container{border-radius:10px;-moz-border-radius:10px;-webkit-border-radius:10px;background:#F0F6F9;border:1px solid #346F97}
.jcarousel-skin-tango.jcarousel-container-horizontal{width:245px;padding:20px 40px}
.jcarousel-skin-tango.jcarousel-container-vertical{width:75px;height:245px;padding:40px 20px}
.jcarousel-skin-tango .jcarousel-clip-horizontal{width:245px;height:75px}
.jcarousel-skin-tango .jcarousel-clip-vertical{width:75px;height:245px}
.jcarousel-skin-tango .jcarousel-item{width:75px;height:75px}
.jcarousel-skin-tango .jcarousel-item-horizontal{margin-right:10px;float:left}
.jcarousel-skin-tango .jcarousel-item-vertical{margin-bottom:10px}
.jcarousel-skin-tango .jcarousel-item-placeholder{background:#fff;color:#000}
.jcarousel-skin-tango .jcarousel-next-horizontal{position:absolute;top:43px;right:5px;width:32px;height:32px;cursor:pointer;background:transparent url(/stylesheets/components/UI_Carousel/skins/tango/next-horizontal.png) no-repeat 0 0}
.jcarousel-skin-tango .jcarousel-next-horizontal:hover{background-position:-32px 0}
.jcarousel-skin-tango .jcarousel-next-horizontal:active{background-position:-64px 0}
.jcarousel-skin-tango .jcarousel-next-disabled-horizontal,.jcarousel-skin-tango .jcarousel-next-disabled-horizontal:hover,.jcarousel-skin-tango .jcarousel-next-disabled-horizontal:active{cursor:default;background-position:-96px 0}
.jcarousel-skin-tango .jcarousel-prev-horizontal{position:absolute;top:43px;left:5px;width:32px;height:32px;cursor:pointer;background:transparent url(/stylesheets/components/UI_Carousel/skins/tango/prev-horizontal.png) no-repeat 0 0}
.jcarousel-skin-tango .jcarousel-prev-horizontal:hover{background-position:-32px 0}
.jcarousel-skin-tango .jcarousel-prev-horizontal:active{background-position:-64px 0}
.jcarousel-skin-tango .jcarousel-prev-disabled-horizontal,.jcarousel-skin-tango .jcarousel-prev-disabled-horizontal:hover,.jcarousel-skin-tango .jcarousel-prev-disabled-horizontal:active{cursor:default;background-position:-96px 0}
.jcarousel-skin-tango .jcarousel-next-vertical{position:absolute;bottom:5px;left:43px;width:32px;height:32px;cursor:pointer;background:transparent url(/stylesheets/components/UI_Carousel/skins/tango/next-vertical.png) no-repeat 0 0}
.jcarousel-skin-tango .jcarousel-next-vertical:hover{background-position:0 -32px}
.jcarousel-skin-tango .jcarousel-next-vertical:active{background-position:0 -64px}
.jcarousel-skin-tango .jcarousel-next-disabled-vertical,.jcarousel-skin-tango .jcarousel-next-disabled-vertical:hover,.jcarousel-skin-tango .jcarousel-next-disabled-vertical:active{cursor:default;background-position:0 -96px}
.jcarousel-skin-tango .jcarousel-prev-vertical{position:absolute;top:5px;left:43px;width:32px;height:32px;cursor:pointer;background:transparent url(/stylesheets/components/UI_Carousel/skins/tango/prev-vertical.png) no-repeat 0 0}
.jcarousel-skin-tango .jcarousel-prev-vertical:hover{background-position:0 -32px}
.jcarousel-skin-tango .jcarousel-prev-vertical:active{background-position:0 -64px}
.jcarousel-skin-tango .jcarousel-prev-disabled-vertical,.jcarousel-skin-tango .jcarousel-prev-disabled-vertical:hover,.jcarousel-skin-tango .jcarousel-prev-disabled-vertical:active{cursor:default;background-position:0 -96px}
.jcarousel-skin-tango.jcarousel-container-horizontal{width:85%}
.jcarousel-skin-tango .jcarousel-clip-horizontal{width:100%}
.gallery-slider{display:inline-block;width:100%;height:100%}
.gallery-slider .img_click{transform:translate3d(0px,0,0);position:absolute;background-color:#fff;background-repeat:no-repeat;background-position:center center;background-size:cover;width:100%;height:100%}
.gallery-slider.slide .out{transition:left ease 2s;z-index:6;left:100%}
.gallery-slider.slide .in{transition:left ease 1s;z-index:6;left:0}
.gallery-slider.slide .out-in{transition:left ease 1s;z-index:8;left:0}
.gallery-slider.slide .in-out{transition:left ease 2s;z-index:6;left:-100%}
.gallery-slider.fade .out{transition:opacity ease 1s;z-index:6;opacity:0}
.gallery-slider.fade .in{transition:opacity ease 1s;z-index:8;opacity:1}
.gallery-slider.fade .in-out{transition:opacity ease 1s;z-index:8;opacity:0}
.gallery-slider.fade .out-in{transition:opacity ease 0s;z-index:6;opacity:1}
.gallery-slider .gallery-nav{opacity:1;transition:opacity ease 1s}
.gallery-slider:hover .gallery-nav{opacity:1;transition:opacity ease 0s}
.gallery-nav{height:100%;width:100%;position:absolute}
.gallery-nav.arrow{height:100%;width:100%}
.gallery-nav.dot{bottom:20px;font-size:0;height:21px;left:calc(50% - 150px);text-align:center;width:300px;z-index:10}
.gallery-dot{background-color:rgba(0,0,0,.5);-webkit-border-radius:50%;-moz-border-radius:50%;-ms-border-radius:50%;-o-border-radius:50%;border-radius:50%;-webkit-box-shadow:0 0 0 2px rgba(255,255,255,.3);-moz-box-shadow:0 0 0 2px rgba(255,255,255,.3);box-shadow:0 0 0 2px rgba(255,255,255,.3);cursor:pointer;display:inline-block;height:15px;margin:0 10px;position:relative;-webkit-transition:background-color .25s linear,box-shadow .25s linear;-moz-transition:background-color .25s linear,box-shadow .25s linear;-o-transition:background-color .25s linear,box-shadow .25s linear;transition:background-color .25s linear,box-shadow .25s linear;width:15px}
.gallery-dot::after{background-color:rgba(255,255,255,.7);-webkit-border-radius:50%;-moz-border-radius:50%;-ms-border-radius:50%;-o-border-radius:50%;border-radius:50%;content:&quot;&quot;;height:100%;left:0;pointer-events:none;position:absolute;top:0;transform:scale(0);-webkit-transform:scale(0);-webkit-transition:-webkit-transform .2s linear;-moz-transition:-moz-transform .2s linear;-o-transition:-o-transform .2s linear;transition:transform .2s linear;width:100%}
.gallery-dot.selected{background-color:rgba(0,0,0,0)}
.gallery-dot.selected::after{transform:scale(1);-webkit-transform:scale(1)}
.gallery-arrow{background-color:rgba(0,0,0,0);cursor:pointer;display:block;height:100%;position:absolute;-webkit-transition:background-color .25s linear;-moz-transition:background-color .25s linear;-o-transition:background-color .25s linear;transition:background-color .25s linear;width:70px;z-index:100}
.gallery-arrow.left{left:0}
.gallery-arrow.right{right:0}
.gallery-arrow:hover{background-color:rgba(0,0,0,.3)}
.gallery-arrow.left:hover .fonticon{transform:translateX(-5px);-webkit-transform:translateX(-5px)}
.gallery-arrow.right:hover .fonticon{transform:translateX(5px);-webkit-transform:translateX(5px)}
.gallery-arrow .fonticon{color:#fff;cursor:pointer;font-size:40px;left:0;position:absolute;right:0;text-align:center;top:calc(50% - 20px);transform:translateX(0px);-webkit-transform:translateX(0px);-webkit-transition:-webkit-transform .25s ease-in-out;-moz-transition:-moz-transform .25s ease-in-out;-o-transition:-o-transform .25s ease-in-out;transition:transform .25s ease-in-out}
.gallery-slide{clear:both;position:absolute;height:100px;width:100%;display:block;background-color:rgba(0,0,0,.6)}
.gallery-preview{height:100%}
.gallery-preview img{float:left}
.gallery-preview.b .gallery-slide{bottom:0}
.gallery-preview.t .gallery-slide{top:0}
.gallery-preview.xs.t .gallery-preview-image{margin-top:100px}
.gallery-preview.xs.b .gallery-preview-image{margin-bottom:100px}
.gallery-preview.xs .gallery-preview-image{height:calc(100% - 100px)}
.gallery-preview.xs .gallery-slide{height:100px}
.gallery-preview.s.t .gallery-preview-image{margin-top:150px}
.gallery-preview.s.b .gallery-preview-image{margin-bottom:150px}
.gallery-preview.s .gallery-preview-image{height:calc(100% - 150px)}
.gallery-preview.s .gallery-slide{height:150px}
.gallery-preview.m.t .gallery-preview-image{margin-top:200px}
.gallery-preview.m.b .gallery-preview-image{margin-bottom:200px}
.gallery-preview.m .gallery-preview-image{height:calc(100% - 200px)}
.gallery-preview.m .gallery-slide{height:200px}
.gallery-preview.l.t .gallery-preview-image{margin-top:250px}
.gallery-preview.l.b .gallery-preview-image{margin-bottom:250px}
.gallery-preview.l .gallery-preview-image{height:calc(100% - 250px)}
.gallery-preview.l .gallery-slide{height:250px}
.gallery-preview.xl.t .gallery-preview-image{margin-top:300px}
.gallery-preview.xl.b .gallery-preview-image{margin-bottom:300px}
.gallery-preview.xl .gallery-preview-image{height:calc(100% - 300px)}
.gallery-preview.xl .gallery-slide{height:300px}
.gallery-preview-image{background-repeat:no-repeat;background-position:center center}
.gallery-preview-image.margin{background-size:contain}
.gallery-preview-image.crop{background-size:cover}
.gallery-images{position:absolute;left:0;height:100%;-webkit-transition:left .5s ease-in-out;-moz-transition:left .5s ease-in-out;-o-transition:left .5s ease-in-out;transition:left .5s ease-in-out}
.gallery-images&gt;div,.gallery-vertical&gt;div,.gallery-horizontal&gt;div{float:left;overflow:hidden;position:relative}
.gallery-preview img,.gallery-vertical img,.gallery-horizontal img{cursor:pointer;float:left;-webkit-transition:-webkit-transform .25s ease;-moz-transition:-moz-transform .25s ease;-o-transition:-o-transform .25s ease;transition:transform .25s ease}
.gallery-horizontal{line-height:0;position:absolute;height:100%;width:100%}
.gallery-vertical{line-height:0;-webkit-column-count:3;-moz-column-count:3;column-count:3;-webkit-column-gap:0px;-moz-column-gap:0px;column-gap:0px}
.gallery-vertical.col1{-webkit-column-count:1;-moz-column-count:1;column-count:1}
.gallery-vertical.col2{-webkit-column-count:2;-moz-column-count:2;column-count:2}
.gallery-vertical.col3{-webkit-column-count:3;-moz-column-count:3;column-count:3}
.gallery-vertical.col4{-webkit-column-count:4;-moz-column-count:4;column-count:4}
.gallery-vertical.col5{-webkit-column-count:5;-moz-column-count:5;column-count:5}
.gallery-vertical.gap1{-webkit-column-gap:1px;-moz-column-gap:1px;column-gap:1px}
.gallery-vertical.gap2{-webkit-column-gap:2px;-moz-column-gap:2px;column-gap:2px}
.gallery-vertical.gap3{-webkit-column-gap:3px;-moz-column-gap:3px;column-gap:3px}
.gallery-vertical.gap4{-webkit-column-gap:4px;-moz-column-gap:4px;column-gap:4px}
.gallery-vertical.gap5{-webkit-column-gap:5px;-moz-column-gap:5px;column-gap:5px}
.gallery-vertical.gap6{-webkit-column-gap:6px;-moz-column-gap:6px;column-gap:6px}
.gallery-vertical.gap7{-webkit-column-gap:7px;-moz-column-gap:7px;column-gap:7px}
.gallery-vertical.gap8{-webkit-column-gap:8px;-moz-column-gap:8px;column-gap:8px}
.gallery-vertical.gap9{-webkit-column-gap:9px;-moz-column-gap:9px;column-gap:9px}
.gallery-vertical.gap10{-webkit-column-gap:10px;-moz-column-gap:10px;column-gap:10px}
.img_click{cursor:pointer;background-size:contain}
.gallery-slider .img_click{cursor:default}
.gallery-slider .img_click::after,.gallery-slider .img_click::before{display:none}
.hover_n .img_click::after,.hover_n .img_click::before{display:none}
.img_click::after{bottom:0;left:0;position:absolute;content:&quot;&quot;;right:0;top:0;z-index:50}
.img_click::before{content:&quot;\26b2&quot;;color:#fff;font-size:45px;left:calc(50% - 20px);position:absolute;top:50%;z-index:60}
.hover_fa .img_click::after{-webkit-transition:background-color .25s linear;-moz-transition:background-color .25s linear;-o-transition:background-color .25s linear;transition:background-color .25s linear}
.hover_fa .img_click::before{filter:alpha(Opacity=0);opacity:0;transform:scale(1.2) rotate(45deg);-webkit-transform:scale(1.2) rotate(45deg);-webkit-transition:-webkit-transform .2s linear,opacity .3s ease;-moz-transition:-moz-transform .2s linear,opacity .3s ease;-o-transition:-o-transform .2s linear,opacity .3s ease;transition:transform .2s linear,opacity .3s ease}
.hover_fa .img_click:hover::after{background-color:rgba(0,0,0,.3)}
.hover_fa .img_click:hover::before{filter:alpha(Opacity=100);opacity:1;transform:scale(1) rotate(45deg);-webkit-transform:scale(1) rotate(45deg)}
.hover_g .img_click::before{transform:translateY(-15px) rotate(45deg);-webkit-transform:translateY(-15px) rotate(45deg);filter:alpha(Opacity=0);opacity:0;-webkit-transition:-webkit-transform .2s linear,opacity .42s ease;-moz-transition:-moz-transform .2s linear,opacity .42s ease;-o-transition:-o-transform .2s linear,opacity .42s ease;transition:transform .2s linear,opacity .42s ease}
.hover_g .img_click::after{background:-moz-linear-gradient(top,rgba(0,0,0,0) 23%,rgba(0,0,0,.02) 26%,rgba(0,0,0,.5) 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(23%,rgba(0,0,0,0)),color-stop(26%,rgba(0,0,0,.02)),color-stop(100%,rgba(0,0,0,.5)));background:-webkit-linear-gradient(top,rgba(0,0,0,0) 23%,rgba(0,0,0,.02) 26%,rgba(0,0,0,.5) 100%);background:-o-linear-gradient(top,rgba(0,0,0,0) 23%,rgba(0,0,0,.02) 26%,rgba(0,0,0,.5) 100%);background:-ms-linear-gradient(top,rgba(0,0,0,0) 23%,rgba(0,0,0,.02) 26%,rgba(0,0,0,.5) 100%);background:linear-gradient(to bottom,rgba(0,0,0,0) 23%,rgba(0,0,0,.02) 26%,rgba(0,0,0,.5) 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=&apos;#00000000&apos;, endColorstr=&apos;#80000000&apos;, GradientType=0);transform:translateY(10px);-webkit-transform:translateY(10px);filter:alpha(Opacity=0);opacity:0;-webkit-transition:-webkit-transform .2s linear,opacity .2s linear;-moz-transition:-moz-transform .2s linear,opacity .2s linear;-o-transition:-o-transform .2s linear,opacity .2s linear;transition:transform .2s linear,opacity .2s linear}
.hover_g .img_click:hover::after{transform:translateY(0px);-webkit-transform:translateY(0px);filter:alpha(Opacity=100);opacity:1}
.hover_g .img_click:hover::before{filter:alpha(Opacity=100);opacity:1;transform:translateY(0px) rotate(45deg);-webkit-transform:translateY(0px) rotate(45deg)}
.hover_c .img_click::before{transform:translateX(-10px) rotate(45deg);-webkit-transform:translateX(-10px) rotate(45deg);filter:alpha(Opacity=0);opacity:0;-webkit-transition:-webkit-transform .2s linear,opacity .2s ease;-webkit-transition-delay:.1s,.1s;-moz-transition:-moz-transform .2s linear .1s,opacity .2s ease .1s;-o-transition:-o-transform .2s linear .1s,opacity .2s ease .1s;transition:transform .2s linear .1s,opacity .2s ease .1s;font-size:25px;text-shadow:0 0 30px rgba(0,0,0,.8);top:20px;left:15px;color:rgba(255,255,255,.5)}
.hover_c .img_click::after{filter:alpha(Opacity=0);opacity:0;-webkit-transition:opacity .2s linear;-moz-transition:opacity .2s linear;-o-transition:opacity .2s linear;transition:opacity .2s linear}
.hover_c .img_click:hover::after{filter:alpha(Opacity=50);opacity:.5}
.hover_c .img_click:hover::before{filter:alpha(Opacity=100);opacity:1;transform:translateX(0px) rotate(45deg);-webkit-transform:translateX(0px) rotate(45deg)}
.hover_f .img_click::before{background-color:rgba(0,0,0,.2);-webkit-border-radius:50%;-moz-border-radius:50%;-ms-border-radius:50%;-o-border-radius:50%;border-radius:50%;box-sizing:border-box;color:rgba(255,255,255,.8);height:70px;filter:alpha(Opacity=0);opacity:0;padding-left:17px;padding-top:34px;transform:translate(-15px,-31px) rotate(45deg);-webkit-transform:translate(-15px,-31px) rotate(45deg);-webkit-transition:opacity .55s ease;-moz-transition:opacity .55s ease;-o-transition:opacity .55s ease;transition:opacity .55s ease;width:70px}
.hover_f .img_click::after{filter:alpha(Opacity=0);opacity:0;background-color:#fff}
.hover_f .img_click:hover::after{filter:alpha(Opacity=10);opacity:.1;animation:uic_flash .45s ease-in}
.hover_f .img_click:hover::before{filter:alpha(Opacity=100);opacity:1}
@keyframes uic_flash{0%{opacity:.7}
100%{opacity:.1}
}
.gallery-preview.hover_f .gallery-images .img_click::before{padding-left:19px;padding-top:5px}
.hover_fa .gallery-images .img_click::before,.hover_g .gallery-images .img_click::before{top:calc(50% - 30px)}
.gallery.gallery-preview.hover_c .img_click::before{top:0}</style></uidget>