!function(){"use strict";function e(e){e.fn._fadeIn=e.fn.fadeIn;var t=e.noop||function(){},o=/MSIE/.test(navigator.userAgent),n=/MSIE 6.0/.test(navigator.userAgent)&&!/MSIE 8.0/.test(navigator.userAgent),i=(document.documentMode,"function"==typeof document.createElement("div").style.setExpression&&document.createElement("div").style.setExpression);e.blockUI=function(e){d(window,e)},e.unblockUI=function(e){a(window,e)},e.growlUI=function(t,o,n,i){var s=e('
');t&&s.append("

"+t+"

"),o&&s.append("

"+o+"

"),n===undefined&&(n=3e3);var l=function(t){t=t||{},e.blockUI({message:s,fadeIn:"undefined"!=typeof t.fadeIn?t.fadeIn:700,fadeOut:"undefined"!=typeof t.fadeOut?t.fadeOut:1e3,timeout:"undefined"!=typeof t.timeout?t.timeout:n,centerY:!1,showOverlay:!1,onUnblock:i,css:e.blockUI.defaults.growlCSS})};l();s.css("opacity");s.on("mouseover",function(){l({fadeIn:0,timeout:3e4});var t=e(".blockMsg");t.stop(),t.fadeTo(300,1)}).on("mouseout",function(){e(".blockMsg").fadeOut(1e3)})},e.fn.block=function(t){if(this[0]===window)return e.blockUI(t),this;var o=e.extend({},e.blockUI.defaults,t||{});return this.each(function(){var t=e(this);o.ignoreIfBlocked&&t.data("blockUI.isBlocked")||t.unblock({fadeOut:0})}),this.each(function(){"static"==e.css(this,"position")&&(this.style.position="relative",e(this).data("blockUI.static",!0)),this.style.zoom=1,d(this,t)})},e.fn.unblock=function(t){return this[0]===window?(e.unblockUI(t),this):this.each(function(){a(this,t)})},e.blockUI.version=2.7,e.blockUI.defaults={message:"

Please wait...

",title:null,draggable:!0,theme:!1,css:{padding:0,margin:0,width:"30%",top:"40%",left:"35%",textAlign:"center",color:"#000",border:"3px solid #aaa",backgroundColor:"#fff",cursor:"wait"},themedCSS:{width:"30%",top:"40%",left:"35%"},overlayCSS:{backgroundColor:"#000",opacity:.6,cursor:"wait"},cursorReset:"default",growlCSS:{width:"350px",top:"10px",left:"",right:"10px",border:"none",padding:"5px",opacity:.6,cursor:"default",color:"#fff",backgroundColor:"#000","-webkit-border-radius":"10px","-moz-border-radius":"10px","border-radius":"10px"},iframeSrc:/^https/i.test(window.location.href||"")?"javascript:false":"about:blank",forceIframe:!1,baseZ:1e3,centerX:!0,centerY:!0,allowBodyStretch:!0,bindEvents:!0,constrainTabKey:!0,fadeIn:200,fadeOut:400,timeout:0,showOverlay:!0,focusInput:!0,focusableElements:":input:enabled:visible",onBlock:null,onUnblock:null,onOverlayClick:null,quirksmodeOffsetHack:4,blockMsgClass:"blockMsg",ignoreIfBlocked:!1};var s=null,l=[];function d(d,c){var u,b,h=d==window,k=c&&c.message!==undefined?c.message:undefined;if(!(c=e.extend({},e.blockUI.defaults,c||{})).ignoreIfBlocked||!e(d).data("blockUI.isBlocked")){if(c.overlayCSS=e.extend({},e.blockUI.defaults.overlayCSS,c.overlayCSS||{}),u=e.extend({},e.blockUI.defaults.css,c.css||{}),c.onOverlayClick&&(c.overlayCSS.cursor="pointer"),b=e.extend({},e.blockUI.defaults.themedCSS,c.themedCSS||{}),k=k===undefined?c.message:k,h&&s&&a(window,{fadeOut:0}),k&&"string"!=typeof k&&(k.parentNode||k.jquery)){var y=k.jquery?k[0]:k,m={};e(d).data("blockUI.history",m),m.el=y,m.parent=y.parentNode,m.display=y.style.display,m.position=y.style.position,m.parent&&m.parent.removeChild(y)}e(d).data("blockUI.onUnblock",c.onUnblock);var g,v,I,w,U=c.baseZ;g=o||c.forceIframe?e(''):e(''),v=c.theme?e(''):e(''),c.theme&&h?(w='"):c.theme?(w='"):w=h?'':'',I=e(w),k&&(c.theme?(I.css(b),I.addClass("ui-widget-content")):I.css(u)),c.theme||v.css(c.overlayCSS),v.css("position",h?"fixed":"absolute"),(o||c.forceIframe)&&g.css("opacity",0);var x=[g,v,I],C=e(h?"body":d);e.each(x,function(){this.appendTo(C)}),c.theme&&c.draggable&&e.fn.draggable&&I.draggable({handle:".ui-dialog-titlebar",cancel:"li"});var S=i&&(!e.support.boxModel||e("object,embed",h?null:d).length>0);if(n||S){if(h&&c.allowBodyStretch&&e.support.boxModel&&e("html,body").css("height","100%"),(n||!e.support.boxModel)&&!h)var E=p(d,"borderTopWidth"),O=p(d,"borderLeftWidth"),T=E?"(0 - "+E+")":0,M=O?"(0 - "+O+")":0;e.each(x,function(e,t){var o=t[0].style;if(o.position="absolute",e<2)h?o.setExpression("height","Math.max(document.body.scrollHeight, document.body.offsetHeight) - (jQuery.support.boxModel?0:"+c.quirksmodeOffsetHack+') + "px"'):o.setExpression("height",'this.parentNode.offsetHeight + "px"'),h?o.setExpression("width",'jQuery.support.boxModel&&document.documentElement.clientWidth||document.body.clientWidth + "px"'):o.setExpression("width",'this.parentNode.offsetWidth + "px"'),M&&o.setExpression("left",M),T&&o.setExpression("top",T);else if(c.centerY)h&&o.setExpression("top",'(document.documentElement.clientHeight||document.body.clientHeight) / 2 - (this.offsetHeight / 2) + (blah=document.documentElement.scrollTop ? document.documentElement.scrollTop:document.body.scrollTop) + "px"'),o.marginTop=0;else if(!c.centerY&&h){var n="((document.documentElement.scrollTop ? document.documentElement.scrollTop:document.body.scrollTop) + "+(c.css&&c.css.top?parseInt(c.css.top,10):0)+') + "px"';o.setExpression("top",n)}})}if(k&&(c.theme?I.find(".ui-widget-content").append(k):I.append(k),(k.jquery||k.nodeType)&&e(k).show()),(o||c.forceIframe)&&c.showOverlay&&g.show(),c.fadeIn){var B=c.onBlock?c.onBlock:t,j=c.showOverlay&&!k?B:t,H=k?B:t;c.showOverlay&&v._fadeIn(c.fadeIn,j),k&&I._fadeIn(c.fadeIn,H)}else c.showOverlay&&v.show(),k&&I.show(),c.onBlock&&c.onBlock.bind(I)();if(r(1,d,c),h?(s=I[0],l=e(c.focusableElements,s),c.focusInput&&setTimeout(f,20)):function(e,t,o){var n=e.parentNode,i=e.style,s=(n.offsetWidth-e.offsetWidth)/2-p(n,"borderLeftWidth"),l=(n.offsetHeight-e.offsetHeight)/2-p(n,"borderTopWidth");t&&(i.left=s>0?s+"px":"0");o&&(i.top=l>0?l+"px":"0")}(I[0],c.centerX,c.centerY),c.timeout){var z=setTimeout(function(){h?e.unblockUI(c):e(d).unblock(c)},c.timeout);e(d).data("blockUI.timeout",z)}}}function a(t,o){var n,i,d=t==window,a=e(t),u=a.data("blockUI.history"),f=a.data("blockUI.timeout");f&&(clearTimeout(f),a.removeData("blockUI.timeout")),o=e.extend({},e.blockUI.defaults,o||{}),r(0,t,o),null===o.onUnblock&&(o.onUnblock=a.data("blockUI.onUnblock"),a.removeData("blockUI.onUnblock")),i=d?e(document.body).children().filter(".blockUI").add("body > .blockUI"):a.find(">.blockUI"),o.cursorReset&&(i.length>1&&(i[1].style.cursor=o.cursorReset),i.length>2&&(i[2].style.cursor=o.cursorReset)),d&&(s=l=null),o.fadeOut?(n=i.length,i.stop().fadeOut(o.fadeOut,function(){0==--n&&c(i,u,o,t)})):c(i,u,o,t)}function c(t,o,n,i){var s=e(i);if(!s.data("blockUI.isBlocked")){t.each(function(e,t){this.parentNode&&this.parentNode.removeChild(this)}),o&&o.el&&(o.el.style.display=o.display,o.el.style.position=o.position,o.el.style.cursor="default",o.parent&&o.parent.appendChild(o.el),s.removeData("blockUI.history")),s.data("blockUI.static")&&s.css("position","static"),"function"==typeof n.onUnblock&&n.onUnblock(i,n);var l=e(document.body),d=l.width(),a=l[0].style.width;l.width(d-1).width(d),l[0].style.width=a}}function r(t,o,n){var i=o==window,l=e(o);if((t||(!i||s)&&(i||l.data("blockUI.isBlocked")))&&(l.data("blockUI.isBlocked",t),i&&n.bindEvents&&(!t||n.showOverlay))){var d="mousedown mouseup keydown keypress keyup touchstart touchend touchmove";t?e(document).on(d,n,u):e(document).off(d,u)}}function u(t){if("keydown"===t.type&&t.keyCode&&9==t.keyCode&&s&&t.data.constrainTabKey){var o=l,n=!t.shiftKey&&t.target===o[o.length-1],i=t.shiftKey&&t.target===o[0];if(n||i)return setTimeout(function(){f(i)},10),!1}var d=t.data,a=e(t.target);return a.hasClass("blockOverlay")&&d.onOverlayClick&&d.onOverlayClick(t),a.parents("div."+d.blockMsgClass).length>0||0===a.parents().children().filter("div.blockUI").length}function f(e){if(l){var t=l[!0===e?l.length-1:0];t&&t.trigger("focus")}}function p(t,o){return parseInt(e.css(t,o),10)||0}}"function"==typeof define&&define.amd&&define.amd.jQuery?define(["jquery"],e):e(jQuery)}(); jQuery(function(t){if("undefined"==typeof wc_add_to_cart_params)return!1;var a=function(){this.requests=[],this.addRequest=this.addRequest.bind(this),this.run=this.run.bind(this),this.$liveRegion=this.createLiveRegion(),t(document.body).on("click",".add_to_cart_button:not(.wc-interactive)",{addToCartHandler:this},this.onAddToCart).on("click",".remove_from_cart_button",{addToCartHandler:this},this.onRemoveFromCart).on("added_to_cart",{addToCartHandler:this},this.onAddedToCart).on("removed_from_cart",{addToCartHandler:this},this.onRemovedFromCart).on("ajax_request_not_sent.adding_to_cart",this.updateButton)};a.prototype.addRequest=function(t){this.requests.push(t),1===this.requests.length&&this.run()},a.prototype.run=function(){var a=this,e=a.requests[0].complete;a.requests[0].complete=function(){"function"==typeof e&&e(),a.requests.shift(),a.requests.length>0&&a.run()},t.ajax(this.requests[0])},a.prototype.onAddToCart=function(a){var e=t(this);if(e.is(".ajax_add_to_cart")){if(!e.attr("data-product_id"))return!0;if(a.data.addToCartHandler.$liveRegion.text("").removeAttr("aria-relevant"),a.preventDefault(),e.removeClass("added"),e.addClass("loading"),!1===t(document.body).triggerHandler("should_send_ajax_request.adding_to_cart",[e]))return t(document.body).trigger("ajax_request_not_sent.adding_to_cart",[!1,!1,e]),!0;var r={};t.each(e.data(),function(t,a){r[t]=a}),t.each(e[0].dataset,function(t,a){r[t]=a}),t(document.body).trigger("adding_to_cart",[e,r]),a.data.addToCartHandler.addRequest({type:"POST",url:wc_add_to_cart_params.wc_ajax_url.toString().replace("%%endpoint%%","add_to_cart"),data:r,success:function(a){a&&(a.error&&a.product_url?window.location=a.product_url:"yes"!==wc_add_to_cart_params.cart_redirect_after_add?t(document.body).trigger("added_to_cart",[a.fragments,a.cart_hash,e]):window.location=wc_add_to_cart_params.cart_url)},dataType:"json"})}},a.prototype.onRemoveFromCart=function(a){var e=t(this),r=e.closest(".woocommerce-mini-cart-item");a.data.addToCartHandler.$liveRegion.text("").removeAttr("aria-relevant"),a.preventDefault(),r.block({message:null,overlayCSS:{opacity:.6}}),a.data.addToCartHandler.addRequest({type:"POST",url:wc_add_to_cart_params.wc_ajax_url.toString().replace("%%endpoint%%","remove_from_cart"),data:{cart_item_key:e.data("cart_item_key")},success:function(a){a&&a.fragments?t(document.body).trigger("removed_from_cart",[a.fragments,a.cart_hash,e]):window.location=e.attr("href")},error:function(){window.location=e.attr("href")},dataType:"json"})},a.prototype.updateButton=function(a,e,r,d){if(d=void 0!==d&&d){if(d.removeClass("loading"),e&&d.addClass("added"),e&&!wc_add_to_cart_params.is_cart&&0===d.parent().find(".added_to_cart").length){var o=document.createElement("a");o.href=wc_add_to_cart_params.cart_url,o.className="added_to_cart wc-forward",o.title=wc_add_to_cart_params.i18n_view_cart,o.textContent=wc_add_to_cart_params.i18n_view_cart,d.after(o)}t(document.body).trigger("wc_cart_button_updated",[d])}},a.prototype.updateFragments=function(a,e){e&&(t.each(e,function(a){t(a).addClass("updating").fadeTo("400","0.6").block({message:null,overlayCSS:{opacity:.6}})}),t.each(e,function(a,e){t(a).replaceWith(e),t(a).stop(!0).css("opacity","1").unblock()}),t(document.body).trigger("wc_fragments_loaded"))},a.prototype.alertCartUpdated=function(t,a,e,r){if(r=void 0!==r&&r){var d=r.data("success_message");if(!d)return;t.data.addToCartHandler.$liveRegion.delay(1e3).text(d).attr("aria-relevant","all")}},a.prototype.createLiveRegion=function(){var a=t(".widget_shopping_cart_live_region");return a.length?a:t('
').appendTo("body")},a.prototype.onAddedToCart=function(t,a,e,r){t.data.addToCartHandler.updateButton(t,a,e,r),t.data.addToCartHandler.updateFragments(t,a),t.data.addToCartHandler.alertCartUpdated(t,a,e,r)},a.prototype.onRemovedFromCart=function(t,a,e,r){t.data.addToCartHandler.updateFragments(t,a),t.data.addToCartHandler.alertCartUpdated(t,a,e,r)},new a}); !function(o){var t={url:!1,callback:!1,target:!1,duration:120,on:"mouseover",touch:!0,onZoomIn:!1,onZoomOut:!1,magnify:1};o.zoom=function(t,e,n,i){var u,a,c,r,l,m,f,s=o(t),h=s.css("position"),d=o(e);return t.style.position=/(absolute|fixed)/.test(h)?h:"relative",t.style.overflow="hidden",n.style.width=n.style.height="",o(n).addClass("zoomImg").css({position:"absolute",top:0,left:0,opacity:0,width:n.width*i,height:n.height*i,border:"none",maxWidth:"none",maxHeight:"none"}).appendTo(t),{init:function(){a=s.outerWidth(),u=s.outerHeight(),e===t?(r=a,c=u):(r=d.outerWidth(),c=d.outerHeight()),l=(n.width-a)/r,m=(n.height-u)/c,f=d.offset()},move:function(o){var t=o.pageX-f.left,e=o.pageY-f.top;e=Math.max(Math.min(e,c),0),t=Math.max(Math.min(t,r),0),n.style.left=t*-l+"px",n.style.top=e*-m+"px"}}},o.fn.zoom=function(e){return this.each(function(){var n=o.extend({},t,e||{}),i=n.target&&o(n.target)[0]||this,u=this,a=o(u),c=document.createElement("img"),r=o(c),l="mousemove.zoom",m=!1,f=!1;if(!n.url){var s=u.querySelector("img");if(s&&(n.url=s.getAttribute("data-src")||s.currentSrc||s.src,n.alt=s.getAttribute("data-alt")||s.alt),!n.url)return}a.one("zoom.destroy",function(o,t){a.off(".zoom"),i.style.position=o,i.style.overflow=t,c.onload=null,r.remove()}.bind(this,i.style.position,i.style.overflow)),c.onload=function(){var t=o.zoom(i,u,c,n.magnify);function e(e){t.init(),t.move(e),r.stop().fadeTo(o.support.opacity?n.duration:0,1,"function"==typeof n.onZoomIn&&n.onZoomIn.call(c))}function s(){r.stop().fadeTo(n.duration,0,"function"==typeof n.onZoomOut&&n.onZoomOut.call(c))}"grab"===n.on?a.on("mousedown.zoom",function(n){1===n.which&&(o(document).one("mouseup.zoom",function(){s(),o(document).off(l,t.move)}),e(n),o(document).on(l,t.move),n.preventDefault())}):"click"===n.on?a.on("click.zoom",function(n){return m?void 0:(m=!0,e(n),o(document).on(l,t.move),o(document).one("click.zoom",function(){s(),m=!1,o(document).off(l,t.move)}),!1)}):"toggle"===n.on?a.on("click.zoom",function(o){m?s():e(o),m=!m}):"mouseover"===n.on&&(t.init(),a.on("mouseenter.zoom",e).on("mouseleave.zoom",s).on(l,t.move)),n.touch&&a.on("touchstart.zoom",function(o){o.preventDefault(),f?(f=!1,s()):(f=!0,e(o.originalEvent.touches[0]||o.originalEvent.changedTouches[0]))}).on("touchmove.zoom",function(o){o.preventDefault(),t.move(o.originalEvent.touches[0]||o.originalEvent.changedTouches[0])}).on("touchend.zoom",function(o){o.preventDefault(),f&&(f=!1,s())}),"function"==typeof n.callback&&n.callback.call(c)},c.setAttribute("role","presentation"),c.alt=n.alt||"",c.src=n.url})},o.fn.zoom.defaults=t}(window.jQuery); jQuery(function(t){if("undefined"==typeof wc_single_product_params)return!1;var e;t("body").on("init",".wc-tabs-wrapper, .woocommerce-tabs",function(){t(this).find(".wc-tab, .woocommerce-tabs .panel:not(.panel .panel)").hide();var e=window.location.hash,i=window.location.href,o=t(this).find(".wc-tabs, ul.tabs").first();e.toLowerCase().indexOf("comment-")>=0||"#reviews"===e||"#tab-reviews"===e?o.find("li.reviews_tab a").trigger("click"):i.indexOf("comment-page-")>0||i.indexOf("cpage=")>0?o.find("li.reviews_tab a").trigger("click"):"#tab-additional_information"===e?o.find("li.additional_information_tab a").trigger("click"):o.find("li:first a").trigger("click")}).on("click",".wc-tabs li a, ul.tabs li a",function(e){e.preventDefault();var i=t(this),o=i.closest(".wc-tabs-wrapper, .woocommerce-tabs"),a=o.find(".wc-tabs, ul.tabs");a.find("li").removeClass("active"),a.find('a[role="tab"]').attr("aria-selected","false").attr("tabindex","-1"),o.find(".wc-tab, .panel:not(.panel .panel)").hide(),i.closest("li").addClass("active"),i.attr("aria-selected","true").attr("tabindex","0"),o.find("#"+i.attr("href").split("#")[1]).show()}).on("keydown",".wc-tabs li a, ul.tabs li a",function(e){var i=e.key,o="ArrowRight",a="ArrowLeft",r="Home",n="End";if([o,a,n,r].includes(i)){e.preventDefault();var s=t(this),l=s.closest(".wc-tabs-wrapper, .woocommerce-tabs").find(".wc-tabs, ul.tabs").find('a[role="tab"]'),c=l.length-1,d=l.index(s),p=i===a?d-1:d+1;i===a&&0===d||i===n?p=c:(o===i&&d===c||i===r)&&(p=0),l.eq(p).focus()}}).on("focusout",".wc-tabs li a, ul.tabs li a, #respond p.stars a",function(){e.data("flexslider")&&setTimeout(function(){t(document.activeElement).closest([".stars",".tabs",".wc-tabs"].join(", ")).length?e.data("flexslider").animating=!0:e.data("flexslider").animating=!1},0)}).on("click","a.woocommerce-review-link",function(){return t(".reviews_tab a").trigger("click"),!0}).on("init","#rating",function(){t("#rating").hide().before('

\t\t\t\t\t\t\t\t\t\t\t\t\t'+wc_single_product_params.i18n_rating_options[0]+'\t\t\t\t\t\t\t'+wc_single_product_params.i18n_rating_options[1]+'\t\t\t\t\t\t\t'+wc_single_product_params.i18n_rating_options[2]+'\t\t\t\t\t\t\t'+wc_single_product_params.i18n_rating_options[3]+'\t\t\t\t\t\t\t'+wc_single_product_params.i18n_rating_options[4]+"\t\t\t\t\t\t\t\t\t\t\t

")}).on("click","#respond p.stars a",function(){var e=t(this),i=e.closest("p.stars").find("a").index(e)+1,o=t(this).closest("#respond").find("#rating"),a=t(this).closest(".stars");return o.val(i),e.siblings("a").removeClass("active").attr("aria-checked","false").attr("tabindex","-1"),e.addClass("active").attr("aria-checked","true").attr("tabindex","0"),a.addClass("selected"),!1}).on("click","#respond #submit",function(){var e=t(this).closest("#respond").find("#rating"),i=e.val();if(e.length>0&&!i&&"yes"===wc_single_product_params.review_rating_required)return window.alert(wc_single_product_params.i18n_required_rating_text),!1}).on("keydown","#respond p.stars a",function(e){var i=e.key,o=["ArrowRight","ArrowDown"];o.concat(["ArrowLeft","ArrowUp"]).includes(i)&&(e.preventDefault(),o.includes(i)?t(this).next().focus().click():t(this).prev().focus().click())}),t(".wc-tabs-wrapper, .woocommerce-tabs, #rating").trigger("init");var i=function(e,i){this.$target=e,this.$images=t(".woocommerce-product-gallery__image",e),0!==this.$images.length?(e.data("product_gallery",this),this.flexslider_enabled="function"==typeof t.fn.flexslider&&wc_single_product_params.flexslider_enabled,this.zoom_enabled="function"==typeof t.fn.zoom&&wc_single_product_params.zoom_enabled,this.photoswipe_enabled="undefined"!=typeof PhotoSwipe&&wc_single_product_params.photoswipe_enabled,i&&(this.flexslider_enabled=!1!==i.flexslider_enabled&&this.flexslider_enabled,this.zoom_enabled=!1!==i.zoom_enabled&&this.zoom_enabled,this.photoswipe_enabled=!1!==i.photoswipe_enabled&&this.photoswipe_enabled),1===this.$images.length&&(this.flexslider_enabled=!1),this.initFlexslider=this.initFlexslider.bind(this),this.initZoom=this.initZoom.bind(this),this.initZoomForTarget=this.initZoomForTarget.bind(this),this.initPhotoswipe=this.initPhotoswipe.bind(this),this.onResetSlidePosition=this.onResetSlidePosition.bind(this),this.getGalleryItems=this.getGalleryItems.bind(this),this.openPhotoswipe=this.openPhotoswipe.bind(this),this.trapFocusPhotoswipe=this.trapFocusPhotoswipe.bind(this),this.handlePswpTrapFocus=this.handlePswpTrapFocus.bind(this),this.flexslider_enabled?(this.initFlexslider(i.flexslider),e.on("woocommerce_gallery_reset_slide_position",this.onResetSlidePosition)):this.$target.css("opacity",1),this.zoom_enabled&&(this.initZoom(),e.on("woocommerce_gallery_init_zoom",this.initZoom)),this.photoswipe_enabled&&this.initPhotoswipe()):this.$target.css("opacity",1)};i.prototype.initFlexslider=function(e){var i=this.$target,o=this,a=t.extend({selector:".woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image",start:function(){i.css("opacity",1)},after:function(t){o.initZoomForTarget(o.$images.eq(t.currentSlide))}},e);i.flexslider(a),t(".woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image:eq(0) .wp-post-image").one("load",function(){var e=t(this);e&&setTimeout(function(){var t=e.closest(".woocommerce-product-gallery__image").height(),i=e.closest(".flex-viewport");t&&i&&i.height(t)},100)}).each(function(){this.complete&&t(this).trigger("load")})},i.prototype.initZoom=function(){this.initZoomForTarget(this.$images.first())},i.prototype.initZoomForTarget=function(e){if(!this.zoom_enabled)return!1;var i=this.$target.width(),o=!1;if(t(e).each(function(e,a){if(t(a).find("img").data("large_image_width")>i)return o=!0,!1}),o){var a=t.extend({touch:!1,callback:function(){var t=this;setTimeout(function(){t.removeAttribute("role"),t.setAttribute("alt",""),t.setAttribute("aria-hidden","true")},100)}},wc_single_product_params.zoom_options);"ontouchstart"in document.documentElement&&(a.on="click"),e.trigger("zoom.destroy"),e.zoom(a),setTimeout(function(){e.find(":hover").length&&e.trigger("mouseover")},100)}},i.prototype.initPhotoswipe=function(){this.zoom_enabled&&this.$images.length>0?(this.$target.prepend(''),this.$target.on("click",".woocommerce-product-gallery__trigger",this.openPhotoswipe),this.$target.on("click",".woocommerce-product-gallery__image a",function(t){t.preventDefault()}),this.flexslider_enabled||this.$target.on("click",".woocommerce-product-gallery__image a",this.openPhotoswipe)):this.$target.on("click",".woocommerce-product-gallery__image a",this.openPhotoswipe)},i.prototype.onResetSlidePosition=function(){this.$target.flexslider(0)},i.prototype.getGalleryItems=function(){var e=this.$images,i=[];return e.length>0&&e.each(function(e,o){var a=t(o).find("img");if(a.length){var r=a.attr("data-large_image"),n=a.attr("data-large_image_width"),s=a.attr("data-large_image_height"),l={alt:a.attr("alt"),src:r,w:n,h:s,title:a.attr("data-caption")?a.attr("data-caption"):a.attr("title")};i.push(l)}}),i},i.prototype.openPhotoswipe=function(e){e.preventDefault();var i,o=t(".pswp")[0],a=this.getGalleryItems(),r=t(e.target),n=e.currentTarget,s=this;i=0=i.length)){var o=i[0],a=i[i.length-1];"Tab"===t.key&&(t.shiftKey?document.activeElement===o&&(t.preventDefault(),a.focus()):document.activeElement===a&&(t.preventDefault(),o.focus()))}},t.fn.wc_product_gallery=function(t){return new i(this,t||wc_single_product_params),this},t(".woocommerce-product-gallery").each(function(){t(this).trigger("wc-product-gallery-before-init",[this,wc_single_product_params]),e=t(this).wc_product_gallery(wc_single_product_params),t(this).trigger("wc-product-gallery-after-init",[this,wc_single_product_params])})}); !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self,function(){var n=e.Cookies,o=e.Cookies=t();o.noConflict=function(){return e.Cookies=n,o}}())}(this,function(){"use strict";function e(e){for(var t=1;t=0&&parseFloat(e(this).val())'),e(".woocommerce form input").filter(":password").parent("span").addClass("password-input"),e(".password-input").each(function(){const o=e(this).find("input").attr("id");e(this).append(''),e(this).on("keydown",function(e){"Enter"===e.key&&e.preventDefault()})}),e(".show-password-input").on("click",function(o){o.preventDefault(),e(this).hasClass("display-password")?(e(this).removeClass("display-password"),e(this).attr("aria-label",woocommerce_params.i18n_password_show)):(e(this).addClass("display-password"),e(this).attr("aria-label",woocommerce_params.i18n_password_hide)),e(this).hasClass("display-password")?e(this).siblings(['input[type="password"]']).prop("type","text"):e(this).siblings('input[type="text"]').prop("type","password"),e(this).siblings("input").focus()}),e("#customer_login .password-input").on("keydown",function(o){"Enter"===o.key&&e(this).closest("form").find("[type=submit]").click()}),e("a.coming-soon-footer-banner-dismiss").on("click",function(o){var t=e(o.target);e.ajax({type:"post",url:t.data("rest-url"),data:{woocommerce_meta:{coming_soon_banner_dismissed:"yes"}},beforeSend:function(e){e.setRequestHeader("X-WP-Nonce",t.data("rest-nonce"))},complete:function(){e("#coming-soon-footer-banner").hide()}})}),e(document.body).on("item_removed_from_classic_cart",focus_populate_live_region)}),document.addEventListener("DOMContentLoaded",on_document_ready); (function(){var l,a;l=this,a=function(){"use strict";var l={},a={};try{"undefined"!=typeof window&&(l=window),"undefined"!=typeof document&&(a=document)}catch(l){}var e=(l.navigator||{}).userAgent,r=void 0===e?"":e,n=l,o=a,u=(n.document,!!o.documentElement&&!!o.head&&"function"==typeof o.addEventListener&&o.createElement,~r.indexOf("MSIE")||r.indexOf("Trident/"),"___FONT_AWESOME___"),t=function(){try{return"production"===process.env.NODE_ENV}catch(l){return!1}}();var f=n||{};f[u]||(f[u]={}),f[u].styles||(f[u].styles={}),f[u].hooks||(f[u].hooks={}),f[u].shims||(f[u].shims=[]);var i=f[u],s=[["glass",null,"glass-martini"],["meetup","fab",null],["star-o","far","star"],["remove",null,"times"],["close",null,"times"],["gear",null,"cog"],["trash-o","far","trash-alt"],["file-o","far","file"],["clock-o","far","clock"],["arrow-circle-o-down","far","arrow-alt-circle-down"],["arrow-circle-o-up","far","arrow-alt-circle-up"],["play-circle-o","far","play-circle"],["repeat",null,"redo"],["rotate-right",null,"redo"],["refresh",null,"sync"],["list-alt","far",null],["dedent",null,"outdent"],["video-camera",null,"video"],["picture-o","far","image"],["photo","far","image"],["image","far","image"],["pencil",null,"pencil-alt"],["map-marker",null,"map-marker-alt"],["pencil-square-o","far","edit"],["share-square-o","far","share-square"],["check-square-o","far","check-square"],["arrows",null,"arrows-alt"],["times-circle-o","far","times-circle"],["check-circle-o","far","check-circle"],["mail-forward",null,"share"],["expand",null,"expand-alt"],["compress",null,"compress-alt"],["eye","far",null],["eye-slash","far",null],["warning",null,"exclamation-triangle"],["calendar",null,"calendar-alt"],["arrows-v",null,"arrows-alt-v"],["arrows-h",null,"arrows-alt-h"],["bar-chart","far","chart-bar"],["bar-chart-o","far","chart-bar"],["twitter-square","fab",null],["facebook-square","fab",null],["gears",null,"cogs"],["thumbs-o-up","far","thumbs-up"],["thumbs-o-down","far","thumbs-down"],["heart-o","far","heart"],["sign-out",null,"sign-out-alt"],["linkedin-square","fab","linkedin"],["thumb-tack",null,"thumbtack"],["external-link",null,"external-link-alt"],["sign-in",null,"sign-in-alt"],["github-square","fab",null],["lemon-o","far","lemon"],["square-o","far","square"],["bookmark-o","far","bookmark"],["twitter","fab",null],["facebook","fab","facebook-f"],["facebook-f","fab","facebook-f"],["github","fab",null],["credit-card","far",null],["feed",null,"rss"],["hdd-o","far","hdd"],["hand-o-right","far","hand-point-right"],["hand-o-left","far","hand-point-left"],["hand-o-up","far","hand-point-up"],["hand-o-down","far","hand-point-down"],["arrows-alt",null,"expand-arrows-alt"],["group",null,"users"],["chain",null,"link"],["scissors",null,"cut"],["files-o","far","copy"],["floppy-o","far","save"],["navicon",null,"bars"],["reorder",null,"bars"],["pinterest","fab",null],["pinterest-square","fab",null],["google-plus-square","fab",null],["google-plus","fab","google-plus-g"],["money","far","money-bill-alt"],["unsorted",null,"sort"],["sort-desc",null,"sort-down"],["sort-asc",null,"sort-up"],["linkedin","fab","linkedin-in"],["rotate-left",null,"undo"],["legal",null,"gavel"],["tachometer",null,"tachometer-alt"],["dashboard",null,"tachometer-alt"],["comment-o","far","comment"],["comments-o","far","comments"],["flash",null,"bolt"],["clipboard","far",null],["paste","far","clipboard"],["lightbulb-o","far","lightbulb"],["exchange",null,"exchange-alt"],["cloud-download",null,"cloud-download-alt"],["cloud-upload",null,"cloud-upload-alt"],["bell-o","far","bell"],["cutlery",null,"utensils"],["file-text-o","far","file-alt"],["building-o","far","building"],["hospital-o","far","hospital"],["tablet",null,"tablet-alt"],["mobile",null,"mobile-alt"],["mobile-phone",null,"mobile-alt"],["circle-o","far","circle"],["mail-reply",null,"reply"],["github-alt","fab",null],["folder-o","far","folder"],["folder-open-o","far","folder-open"],["smile-o","far","smile"],["frown-o","far","frown"],["meh-o","far","meh"],["keyboard-o","far","keyboard"],["flag-o","far","flag"],["mail-reply-all",null,"reply-all"],["star-half-o","far","star-half"],["star-half-empty","far","star-half"],["star-half-full","far","star-half"],["code-fork",null,"code-branch"],["chain-broken",null,"unlink"],["shield",null,"shield-alt"],["calendar-o","far","calendar"],["maxcdn","fab",null],["html5","fab",null],["css3","fab",null],["ticket",null,"ticket-alt"],["minus-square-o","far","minus-square"],["level-up",null,"level-up-alt"],["level-down",null,"level-down-alt"],["pencil-square",null,"pen-square"],["external-link-square",null,"external-link-square-alt"],["compass","far",null],["caret-square-o-down","far","caret-square-down"],["toggle-down","far","caret-square-down"],["caret-square-o-up","far","caret-square-up"],["toggle-up","far","caret-square-up"],["caret-square-o-right","far","caret-square-right"],["toggle-right","far","caret-square-right"],["eur",null,"euro-sign"],["euro",null,"euro-sign"],["gbp",null,"pound-sign"],["usd",null,"dollar-sign"],["dollar",null,"dollar-sign"],["inr",null,"rupee-sign"],["rupee",null,"rupee-sign"],["jpy",null,"yen-sign"],["cny",null,"yen-sign"],["rmb",null,"yen-sign"],["yen",null,"yen-sign"],["rub",null,"ruble-sign"],["ruble",null,"ruble-sign"],["rouble",null,"ruble-sign"],["krw",null,"won-sign"],["won",null,"won-sign"],["btc","fab",null],["bitcoin","fab","btc"],["file-text",null,"file-alt"],["sort-alpha-asc",null,"sort-alpha-down"],["sort-alpha-desc",null,"sort-alpha-down-alt"],["sort-amount-asc",null,"sort-amount-down"],["sort-amount-desc",null,"sort-amount-down-alt"],["sort-numeric-asc",null,"sort-numeric-down"],["sort-numeric-desc",null,"sort-numeric-down-alt"],["youtube-square","fab",null],["youtube","fab",null],["xing","fab",null],["xing-square","fab",null],["youtube-play","fab","youtube"],["dropbox","fab",null],["stack-overflow","fab",null],["instagram","fab",null],["flickr","fab",null],["adn","fab",null],["bitbucket","fab",null],["bitbucket-square","fab","bitbucket"],["tumblr","fab",null],["tumblr-square","fab",null],["long-arrow-down",null,"long-arrow-alt-down"],["long-arrow-up",null,"long-arrow-alt-up"],["long-arrow-left",null,"long-arrow-alt-left"],["long-arrow-right",null,"long-arrow-alt-right"],["apple","fab",null],["windows","fab",null],["android","fab",null],["linux","fab",null],["dribbble","fab",null],["skype","fab",null],["foursquare","fab",null],["trello","fab",null],["gratipay","fab",null],["gittip","fab","gratipay"],["sun-o","far","sun"],["moon-o","far","moon"],["vk","fab",null],["weibo","fab",null],["renren","fab",null],["pagelines","fab",null],["stack-exchange","fab",null],["arrow-circle-o-right","far","arrow-alt-circle-right"],["arrow-circle-o-left","far","arrow-alt-circle-left"],["caret-square-o-left","far","caret-square-left"],["toggle-left","far","caret-square-left"],["dot-circle-o","far","dot-circle"],["vimeo-square","fab",null],["try",null,"lira-sign"],["turkish-lira",null,"lira-sign"],["plus-square-o","far","plus-square"],["slack","fab",null],["wordpress","fab",null],["openid","fab",null],["institution",null,"university"],["bank",null,"university"],["mortar-board",null,"graduation-cap"],["yahoo","fab",null],["google","fab",null],["reddit","fab",null],["reddit-square","fab",null],["stumbleupon-circle","fab",null],["stumbleupon","fab",null],["delicious","fab",null],["digg","fab",null],["pied-piper-pp","fab",null],["pied-piper-alt","fab",null],["drupal","fab",null],["joomla","fab",null],["spoon",null,"utensil-spoon"],["behance","fab",null],["behance-square","fab",null],["steam","fab",null],["steam-square","fab",null],["automobile",null,"car"],["envelope-o","far","envelope"],["spotify","fab",null],["deviantart","fab",null],["soundcloud","fab",null],["file-pdf-o","far","file-pdf"],["file-word-o","far","file-word"],["file-excel-o","far","file-excel"],["file-powerpoint-o","far","file-powerpoint"],["file-image-o","far","file-image"],["file-photo-o","far","file-image"],["file-picture-o","far","file-image"],["file-archive-o","far","file-archive"],["file-zip-o","far","file-archive"],["file-audio-o","far","file-audio"],["file-sound-o","far","file-audio"],["file-video-o","far","file-video"],["file-movie-o","far","file-video"],["file-code-o","far","file-code"],["vine","fab",null],["codepen","fab",null],["jsfiddle","fab",null],["life-ring","far",null],["life-bouy","far","life-ring"],["life-buoy","far","life-ring"],["life-saver","far","life-ring"],["support","far","life-ring"],["circle-o-notch",null,"circle-notch"],["rebel","fab",null],["ra","fab","rebel"],["resistance","fab","rebel"],["empire","fab",null],["ge","fab","empire"],["git-square","fab",null],["git","fab",null],["hacker-news","fab",null],["y-combinator-square","fab","hacker-news"],["yc-square","fab","hacker-news"],["tencent-weibo","fab",null],["qq","fab",null],["weixin","fab",null],["wechat","fab","weixin"],["send",null,"paper-plane"],["paper-plane-o","far","paper-plane"],["send-o","far","paper-plane"],["circle-thin","far","circle"],["header",null,"heading"],["sliders",null,"sliders-h"],["futbol-o","far","futbol"],["soccer-ball-o","far","futbol"],["slideshare","fab",null],["twitch","fab",null],["yelp","fab",null],["newspaper-o","far","newspaper"],["paypal","fab",null],["google-wallet","fab",null],["cc-visa","fab",null],["cc-mastercard","fab",null],["cc-discover","fab",null],["cc-amex","fab",null],["cc-paypal","fab",null],["cc-stripe","fab",null],["bell-slash-o","far","bell-slash"],["trash",null,"trash-alt"],["copyright","far",null],["eyedropper",null,"eye-dropper"],["area-chart",null,"chart-area"],["pie-chart",null,"chart-pie"],["line-chart",null,"chart-line"],["lastfm","fab",null],["lastfm-square","fab",null],["ioxhost","fab",null],["angellist","fab",null],["cc","far","closed-captioning"],["ils",null,"shekel-sign"],["shekel",null,"shekel-sign"],["sheqel",null,"shekel-sign"],["meanpath","fab","font-awesome"],["buysellads","fab",null],["connectdevelop","fab",null],["dashcube","fab",null],["forumbee","fab",null],["leanpub","fab",null],["sellsy","fab",null],["shirtsinbulk","fab",null],["simplybuilt","fab",null],["skyatlas","fab",null],["diamond","far","gem"],["intersex",null,"transgender"],["facebook-official","fab","facebook"],["pinterest-p","fab",null],["whatsapp","fab",null],["hotel",null,"bed"],["viacoin","fab",null],["medium","fab",null],["y-combinator","fab",null],["yc","fab","y-combinator"],["optin-monster","fab",null],["opencart","fab",null],["expeditedssl","fab",null],["battery-4",null,"battery-full"],["battery",null,"battery-full"],["battery-3",null,"battery-three-quarters"],["battery-2",null,"battery-half"],["battery-1",null,"battery-quarter"],["battery-0",null,"battery-empty"],["object-group","far",null],["object-ungroup","far",null],["sticky-note-o","far","sticky-note"],["cc-jcb","fab",null],["cc-diners-club","fab",null],["clone","far",null],["hourglass-o","far","hourglass"],["hourglass-1",null,"hourglass-start"],["hourglass-2",null,"hourglass-half"],["hourglass-3",null,"hourglass-end"],["hand-rock-o","far","hand-rock"],["hand-grab-o","far","hand-rock"],["hand-paper-o","far","hand-paper"],["hand-stop-o","far","hand-paper"],["hand-scissors-o","far","hand-scissors"],["hand-lizard-o","far","hand-lizard"],["hand-spock-o","far","hand-spock"],["hand-pointer-o","far","hand-pointer"],["hand-peace-o","far","hand-peace"],["registered","far",null],["creative-commons","fab",null],["gg","fab",null],["gg-circle","fab",null],["tripadvisor","fab",null],["odnoklassniki","fab",null],["odnoklassniki-square","fab",null],["get-pocket","fab",null],["wikipedia-w","fab",null],["safari","fab",null],["chrome","fab",null],["firefox","fab",null],["opera","fab",null],["internet-explorer","fab",null],["television",null,"tv"],["contao","fab",null],["500px","fab",null],["amazon","fab",null],["calendar-plus-o","far","calendar-plus"],["calendar-minus-o","far","calendar-minus"],["calendar-times-o","far","calendar-times"],["calendar-check-o","far","calendar-check"],["map-o","far","map"],["commenting",null,"comment-dots"],["commenting-o","far","comment-dots"],["houzz","fab",null],["vimeo","fab","vimeo-v"],["black-tie","fab",null],["fonticons","fab",null],["reddit-alien","fab",null],["edge","fab",null],["credit-card-alt",null,"credit-card"],["codiepie","fab",null],["modx","fab",null],["fort-awesome","fab",null],["usb","fab",null],["product-hunt","fab",null],["mixcloud","fab",null],["scribd","fab",null],["pause-circle-o","far","pause-circle"],["stop-circle-o","far","stop-circle"],["bluetooth","fab",null],["bluetooth-b","fab",null],["gitlab","fab",null],["wpbeginner","fab",null],["wpforms","fab",null],["envira","fab",null],["wheelchair-alt","fab","accessible-icon"],["question-circle-o","far","question-circle"],["volume-control-phone",null,"phone-volume"],["asl-interpreting",null,"american-sign-language-interpreting"],["deafness",null,"deaf"],["hard-of-hearing",null,"deaf"],["glide","fab",null],["glide-g","fab",null],["signing",null,"sign-language"],["viadeo","fab",null],["viadeo-square","fab",null],["snapchat","fab",null],["snapchat-ghost","fab",null],["snapchat-square","fab",null],["pied-piper","fab",null],["first-order","fab",null],["yoast","fab",null],["themeisle","fab",null],["google-plus-official","fab","google-plus"],["google-plus-circle","fab","google-plus"],["font-awesome","fab",null],["fa","fab","font-awesome"],["handshake-o","far","handshake"],["envelope-open-o","far","envelope-open"],["linode","fab",null],["address-book-o","far","address-book"],["vcard",null,"address-card"],["address-card-o","far","address-card"],["vcard-o","far","address-card"],["user-circle-o","far","user-circle"],["user-o","far","user"],["id-badge","far",null],["drivers-license",null,"id-card"],["id-card-o","far","id-card"],["drivers-license-o","far","id-card"],["quora","fab",null],["free-code-camp","fab",null],["telegram","fab",null],["thermometer-4",null,"thermometer-full"],["thermometer",null,"thermometer-full"],["thermometer-3",null,"thermometer-three-quarters"],["thermometer-2",null,"thermometer-half"],["thermometer-1",null,"thermometer-quarter"],["thermometer-0",null,"thermometer-empty"],["bathtub",null,"bath"],["s15",null,"bath"],["window-maximize","far",null],["window-restore","far",null],["times-rectangle",null,"window-close"],["window-close-o","far","window-close"],["times-rectangle-o","far","window-close"],["bandcamp","fab",null],["grav","fab",null],["etsy","fab",null],["imdb","fab",null],["ravelry","fab",null],["eercast","fab","sellcast"],["snowflake-o","far","snowflake"],["superpowers","fab",null],["wpexplorer","fab",null],["cab",null,"taxi"]];return function(l){try{l()}catch(l){if(!t)throw l}}(function(){var l;"function"==typeof i.hooks.addShims?i.hooks.addShims(s):(l=i.shims).push.apply(l,s)}),s},"object"==typeof exports&&"undefined"!=typeof module?module.exports=a():"function"==typeof define&&define.amd?define(a):l["fontawesome-free-shims"]=a();})(); (function(){var t=/^[\s,#]+/,n=/\s+$/,o=0,a=Math,A=a.round,h=a.min,k=a.max,j=a.random;function y(J,G){J=(J)?J:"";G=G||{};if(typeof J=="object"&&J.hasOwnProperty("_tc_id")){return J}var L=p(J);var H=L.r,K=L.g,M=L.b,N=L.a,I=A(100*N)/100,O=G.format||L.format;if(H<1){H=A(H)}if(K<1){K=A(K)}if(M<1){M=A(M)}return{ok:L.ok,format:O,_tc_id:o++,alpha:N,getAlpha:function(){return N},setAlpha:function(P){N=q(P);I=A(100*N)/100},toHsv:function(){var P=s(H,K,M);return{h:P.h*360,s:P.s,v:P.v,a:N}},toHsvString:function(){var Q=s(H,K,M);var S=A(Q.h*360),R=A(Q.s*100),P=A(Q.v*100);return(N==1)?"hsv("+S+", "+R+"%, "+P+"%)":"hsva("+S+", "+R+"%, "+P+"%, "+I+")"},toHsl:function(){var P=B(H,K,M);return{h:P.h*360,s:P.s,l:P.l,a:N}},toHslString:function(){var Q=B(H,K,M);var S=A(Q.h*360),R=A(Q.s*100),P=A(Q.l*100);return(N==1)?"hsl("+S+", "+R+"%, "+P+"%)":"hsla("+S+", "+R+"%, "+P+"%, "+I+")"},toHex:function(P){return z(H,K,M,P)},toHexString:function(P){return"#"+this.toHex(P)},toHex8:function(){return e(H,K,M,N)},toHex8String:function(){return"#"+this.toHex8()},toRgb:function(){return{r:A(H),g:A(K),b:A(M),a:N}},toRgbString:function(){return(N==1)?"rgb("+A(H)+", "+A(K)+", "+A(M)+")":"rgba("+A(H)+", "+A(K)+", "+A(M)+", "+I+")"},toPercentageRgb:function(){return{r:A(D(H,255)*100)+"%",g:A(D(K,255)*100)+"%",b:A(D(M,255)*100)+"%",a:N}},toPercentageRgbString:function(){return(N==1)?"rgb("+A(D(H,255)*100)+"%, "+A(D(K,255)*100)+"%, "+A(D(M,255)*100)+"%)":"rgba("+A(D(H,255)*100)+"%, "+A(D(K,255)*100)+"%, "+A(D(M,255)*100)+"%, "+I+")"},toName:function(){if(N===0){return"transparent"}return F[z(H,K,M,true)]||false},toFilter:function(S){var T="#"+e(H,K,M,N);var Q=T;var P=G&&G.gradientType?"GradientType=1, ":"";if(S){var R=y(S);Q=R.toHex8String()}return"progid:DXImageTransform.Microsoft.gradient("+P+"startColorstr="+T+",endColorstr="+Q+")"},toString:function(T){var Q=!!T;T=T||this.format;var S=false;var P=!Q&&N<1&&N>0;var R=P&&(T==="hex"||T==="hex6"||T==="hex3"||T==="name");if(T==="rgb"){S=this.toRgbString()}if(T==="prgb"){S=this.toPercentageRgbString()}if(T==="hex"||T==="hex6"){S=this.toHexString()}if(T==="hex3"){S=this.toHexString(true)}if(T==="hex8"){S=this.toHex8String()}if(T==="name"){S=this.toName()}if(T==="hsl"){S=this.toHslString()}if(T==="hsv"){S=this.toHsvString()}if(R){return this.toRgbString()}return S||this.toHexString()}}}y.fromRatio=function(G,J){if(typeof G=="object"){var H={};for(var I in G){if(G.hasOwnProperty(I)){if(I==="a"){H[I]=G[I]}else{H[I]=g(G[I])}}}G=H}return y(G,J)};function p(H){var I={r:0,g:0,b:0};var G=1;var J=false;var K=false;if(typeof H=="string"){H=i(H)}if(typeof H=="object"){if(H.hasOwnProperty("r")&&H.hasOwnProperty("g")&&H.hasOwnProperty("b")){I=l(H.r,H.g,H.b);J=true;K=String(H.r).substr(-1)==="%"?"prgb":"rgb"}else{if(H.hasOwnProperty("h")&&H.hasOwnProperty("s")&&H.hasOwnProperty("v")){H.s=g(H.s);H.v=g(H.v);I=w(H.h,H.s,H.v);J=true;K="hsv"}else{if(H.hasOwnProperty("h")&&H.hasOwnProperty("s")&&H.hasOwnProperty("l")){H.s=g(H.s);H.l=g(H.l);I=m(H.h,H.s,H.l);J=true;K="hsl"}}}if(H.hasOwnProperty("a")){G=H.a}}G=q(G);return{ok:J,format:H.format||K,r:h(255,k(I.r,0)),g:h(255,k(I.g,0)),b:h(255,k(I.b,0)),a:G}}function l(I,H,G){return{r:D(I,255)*255,g:D(H,255)*255,b:D(G,255)*255}}function B(G,K,M){G=D(G,255);K=D(K,255);M=D(M,255);var N=k(G,K,M),I=h(G,K,M);var J,O,H=(N+I)/2;if(N==I){J=O=0}else{var L=N-I;O=H>0.5?L/(2-N-I):L/(N+I);switch(N){case G:J=(K-M)/L+(K1){P-=1}if(P<1/6){return R+(Q-R)*6*P}if(P<1/2){return Q}if(P<2/3){return R+(Q-R)*(2/3-P)*6}return R}if(O===0){G=M=N=K}else{var H=K<0.5?K*(1+O):K+O-K*O;var I=2*K-H;G=J(I,H,L+1/3);M=J(I,H,L);N=J(I,H,L-1/3)}return{r:G*255,g:M*255,b:N*255}}function s(G,J,L){G=D(G,255);J=D(J,255);L=D(L,255);var M=k(G,J,L),H=h(G,J,L);var I,O,N=M;var K=M-H;O=M===0?0:K/M;if(M==H){I=0}else{switch(M){case G:I=(J-L)/K+(J>1))+720)%360;--K;){G.h=(G.h+J)%360;I.push(y(G))}return I};y.monochromatic=function(I,L){L=L||6;var K=y(I).toHsv();var N=K.h,M=K.s,H=K.v;var J=[];var G=1/L;while(L--){J.push(y({h:N,s:M,v:H}));H=(H+G)%1}return J};y.readability=function(K,I){var J=y(K).toRgb();var H=y(I).toRgb();var G=(J.r*299+J.g*587+J.b*114)/1000;var M=(H.r*299+H.g*587+H.b*114)/1000;var L=(Math.max(J.r,H.r)-Math.min(J.r,H.r)+Math.max(J.g,H.g)-Math.min(J.g,H.g)+Math.max(J.b,H.b)-Math.min(J.b,H.b));return{brightness:Math.abs(G-M),color:L}};y.readable=function(H,G){var I=y.readability(H,G);return I.brightness>125&&I.color>500};y.mostReadable=function(N,M){var J=null;var H=0;var O=false;for(var L=0;L125&&I.color>500;var G=3*(I.brightness/125)+(I.color/500);if((K&&!O)||(K&&O&&G>H)||((!K)&&(!O)&&G>H)){O=K;H=G;J=y(M[L])}}return J};var r=y.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};var F=y.hexNames=d(r);function d(I){var H={};for(var G in I){if(I.hasOwnProperty(G)){H[I[G]]=G}}return H}function q(G){G=parseFloat(G);if(isNaN(G)||G<0||G>1){G=1}return G}function D(I,G){if(u(I)){I="100%"}var H=E(I);I=h(G,k(0,parseFloat(I)));if(H){I=parseInt(I*G,10)/100}if((a.abs(I-G)<0.000001)){return 1}return(I%G)/parseFloat(G)}function v(G){return h(1,k(0,G))}function c(G){return parseInt(G,16)}function u(G){return typeof G=="string"&&G.indexOf(".")!=-1&&parseFloat(G)===1}function E(G){return typeof G==="string"&&G.indexOf("%")!=-1}function f(G){return G.length==1?"0"+G:""+G}function g(G){if(G<=1){G=(G*100)+"%"}return G}function C(G){return Math.round(parseFloat(G)*255).toString(16)}function x(G){return(c(G)/255)}var b=(function(){var K="[-\\+]?\\d+%?";var J="[-\\+]?\\d*\\.\\d+%?";var G="(?:"+J+")|(?:"+K+")";var I="[\\s|\\(]+("+G+")[,|\\s]+("+G+")[,|\\s]+("+G+")\\s*\\)?";var H="[\\s|\\(]+("+G+")[,|\\s]+("+G+")[,|\\s]+("+G+")[,|\\s]+("+G+")\\s*\\)?";return{rgb:new RegExp("rgb"+I),rgba:new RegExp("rgba"+H),hsl:new RegExp("hsl"+I),hsla:new RegExp("hsla"+H),hsv:new RegExp("hsv"+I),hex3:/^([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex8:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}})();function i(H){H=H.replace(t,"").replace(n,"").toLowerCase();var G=false;if(r[H]){H=r[H];G=true}else{if(H=="transparent"){return{r:0,g:0,b:0,a:0,format:"name"}}}var I;if((I=b.rgb.exec(H))){return{r:I[1],g:I[2],b:I[3]}}if((I=b.rgba.exec(H))){return{r:I[1],g:I[2],b:I[3],a:I[4]}}if((I=b.hsl.exec(H))){return{h:I[1],s:I[2],l:I[3]}}if((I=b.hsla.exec(H))){return{h:I[1],s:I[2],l:I[3],a:I[4]}}if((I=b.hsv.exec(H))){return{h:I[1],s:I[2],v:I[3]}}if((I=b.hex8.exec(H))){return{a:x(I[1]),r:c(I[2]),g:c(I[3]),b:c(I[4]),format:G?"name":"hex8"}}if((I=b.hex6.exec(H))){return{r:c(I[1]),g:c(I[2]),b:c(I[3]),format:G?"name":"hex"}}if((I=b.hex3.exec(H))){return{r:c(I[1]+""+I[1]),g:c(I[2]+""+I[2]),b:c(I[3]+""+I[3]),format:G?"name":"hex"}}return false}if(typeof module!=="undefined"&&module.exports){module.exports=y}else{if(typeof define!=="undefined"){define(function(){return y})}else{window.tinycolor=y}}})(); !function(){"use strict";var a={autostart:!0,autostartAtImage:1,autostartAtAlbum:1,backgroundColor:"#fff",browserHistory:!0,canChangeMode:!0,canClose:!1,canMinimalizeThumbnails:!0,canZoom:!0,disabledOnIE8AndOlder:!0,draggableZoom:!0,draggableZoomHideNavigationOnMobile:!0,height:"600px",hideThumbnailsOnInit:!1,maxMobileWidth:767,mode:"standard",preloadAll:!1,slideshow:!0,slideshowAutostart:!1,slideshowCanRandom:!0,slideshowInterval:"8s",slideshowRandom:!1,swipeEvents:!0,textColor:"#000",thumbnails:!0,thumbHeight:75,thumbHeightOnFullScreen:100,thumbnailsFullScreen:!0,thumbnailsHideOnMobile:!0,thumbnailsPosition:"bottom",thumbType:"image",thumbWidth:75,thumbWidthOnFullScreen:100,title:!0,titleExpanded:!1,tooltipClose:"Close",tooltipFullScreen:"Full screen",tooltipRandom:"Random",tooltips:!0,tooltipSeeAllPhotos:"See all photos",tooltipSeeOtherAlbums:"See other albums",tooltipSlideshow:"Slideshow",tooltipToggleThumbnails:"Toggle thumbnails",tooltipZoom:"Zoom",transition:"moveToLeft_moveFromRight",transitionBackward:"auto",transitionCols:1,transitionDuration:"0.7s",transitionRows:1,transitionTimingFunction:"cubic-bezier(0,1,1,1)",transitionWaveDirection:"forward",width:"100%",zoomSize:"fit",afterLoadPhoto:function(){},beforeLoadPhoto:function(){},closeGallery:function(){},initGallery:function(){},showGallery:function(){},showPhoto:function(){}},b={},c={width:"940px",height:"360px",canZoom:!1,draggableZoom:!1,browserHistory:!1,thumbnailsFullScreen:!1,thumbType:"square",thumbWidth:20,thumbHeight:20,canMinimalizeThumbnails:!1,transition:"rotateCubeRightOut_rotateCubeRightIn",transitionBackward:"rotateCubeRightOut_rotateCubeRightIn",transitionCols:6,transitionRows:1,slideshow:!0,slideshowAutostart:!0,zoomSize:"fill"},d={},e={autostart:!0,canClose:!1,zoomSize:"fill",canChangeMode:!1},f={moveToLeft_moveFromRight:["pt-page-moveToLeft","pt-page-moveFromRight"],moveToRight_moveFromLeft:["pt-page-moveToRight","pt-page-moveFromLeft"],moveToTop_moveFromBottom:["pt-page-moveToTop","pt-page-moveFromBottom"],moveToBottom_moveFromTop:["pt-page-moveToBottom","pt-page-moveFromTop"],fade_moveFromRight:["pt-page-fade","pt-page-moveFromRight pt-page-ontop"],fade_moveFromLeft:["pt-page-fade","pt-page-moveFromLeft pt-page-ontop"],fade_moveFromBottom:["pt-page-fade","pt-page-moveFromBottom pt-page-ontop"],fade_moveFromTop:["pt-page-fade","pt-page-moveFromTop pt-page-ontop"],moveToLeftFade_moveFromRightFade:["pt-page-moveToLeftFade","pt-page-moveFromRightFade"],moveToRightFade_moveFromLeftFade:["pt-page-moveToRightFade","pt-page-moveFromLeftFade"],moveToTopFade_moveFromBottomFade:["pt-page-moveToTopFade","pt-page-moveFromBottomFade"],moveToBottomFade_moveFromTopFade:["pt-page-moveToBottomFade","pt-page-moveFromTopFade"],moveToLeftEasing_moveFromRight:["pt-page-moveToLeftEasing pt-page-ontop","pt-page-moveFromRight"],moveToRightEasing_moveFromLeft:["pt-page-moveToRightEasing pt-page-ontop","pt-page-moveFromLeft"],moveToTopEasing_moveFromBottom:["pt-page-moveToTopEasing pt-page-ontop","pt-page-moveFromBottom"],moveToBottomEasing_moveFromTop:["pt-page-moveToBottomEasing pt-page-ontop","pt-page-moveFromTop"],scaleDown_moveFromRight:["pt-page-scaleDown","pt-page-moveFromRight pt-page-ontop"],scaleDown_moveFromLeft:["pt-page-scaleDown","pt-page-moveFromLeft pt-page-ontop"],scaleDown_moveFromBottom:["pt-page-scaleDown","pt-page-moveFromBottom pt-page-ontop"],scaleDown_moveFromTop:["pt-page-scaleDown","pt-page-moveFromTop pt-page-ontop"],scaleDown_scaleUpDown:["pt-page-scaleDown","pt-page-scaleUpDown pt-page-delay300"],scaleDownUp_scaleUp:["pt-page-scaleDownUp","pt-page-scaleUp pt-page-delay300"],moveToLeft_scaleUp:["pt-page-moveToLeft pt-page-ontop","pt-page-scaleUp"],moveToRight_scaleUp:["pt-page-moveToRight pt-page-ontop","pt-page-scaleUp"],moveToTop_scaleUp:["pt-page-moveToTop pt-page-ontop","pt-page-scaleUp"],moveToBottom_scaleUp:["pt-page-moveToBottom pt-page-ontop","pt-page-scaleUp"],scaleDownCenter_scaleUpCenter:["pt-page-scaleDownCenter","pt-page-scaleUpCenter pt-page-delay400"],rotateRightSideFirst_moveFromRight:["pt-page-rotateRightSideFirst","pt-page-moveFromRight pt-page-delay200 pt-page-ontop"],rotateLeftSideFirst_moveFromLeft:["pt-page-rotateLeftSideFirst","pt-page-moveFromLeft pt-page-delay200 pt-page-ontop"],rotateTopSideFirst_moveFromTop:["pt-page-rotateTopSideFirst","pt-page-moveFromTop pt-page-delay200 pt-page-ontop"],rotateBottomSideFirst_moveFromBottom:["pt-page-rotateBottomSideFirst","pt-page-moveFromBottom pt-page-delay200 pt-page-ontop"],flipOutRight_flipInLeft:["pt-page-flipOutRight","pt-page-flipInLeft pt-page-delay500"],flipOutLeft_flipInRight:["pt-page-flipOutLeft","pt-page-flipInRight pt-page-delay500"],flipOutTop_flipInBottom:["pt-page-flipOutTop","pt-page-flipInBottom pt-page-delay500"],flipOutBottom_flipInTop:["pt-page-flipOutBottom","pt-page-flipInTop pt-page-delay500"],rotateFall_scaleUp:["pt-page-rotateFall pt-page-ontop","pt-page-scaleUp"],rotateOutNewspaper_rotateInNewspaper:["pt-page-rotateOutNewspaper","pt-page-rotateInNewspaper pt-page-delay500"],rotatePushLeft_moveFromRight:["pt-page-rotatePushLeft","pt-page-moveFromRight"],rotatePushRight_moveFromLeft:["pt-page-rotatePushRight","pt-page-moveFromLeft"],rotatePushTop_moveFromBottom:["pt-page-rotatePushTop","pt-page-moveFromBottom"],rotatePushBottom_moveFromTop:["pt-page-rotatePushBottom","pt-page-moveFromTop"],rotatePushLeft_rotatePullRight:["pt-page-rotatePushLeft","pt-page-rotatePullRight pt-page-delay180"],rotatePushRight_rotatePullLeft:["pt-page-rotatePushRight","pt-page-rotatePullLeft pt-page-delay180"],rotatePushTop_rotatePullBottom:["pt-page-rotatePushTop","pt-page-rotatePullBottom pt-page-delay180"],rotatePushBottom_page:["pt-page-rotatePushBottom","pt-page-rotatePullTop pt-page-delay180"],rotateFoldLeft_moveFromRightFade:["pt-page-rotateFoldLeft","pt-page-moveFromRightFade"],rotateFoldRight_moveFromLeftFade:["pt-page-rotateFoldRight","pt-page-moveFromLeftFade"],rotateFoldTop_moveFromBottomFade:["pt-page-rotateFoldTop","pt-page-moveFromBottomFade"],rotateFoldBottom_moveFromTopFade:["pt-page-rotateFoldBottom","pt-page-moveFromTopFade"],moveToRightFade_rotateUnfoldLeft:["pt-page-moveToRightFade","pt-page-rotateUnfoldLeft"],moveToLeftFade_rotateUnfoldRight:["pt-page-moveToLeftFade","pt-page-rotateUnfoldRight"],moveToBottomFade_rotateUnfoldTop:["pt-page-moveToBottomFade","pt-page-rotateUnfoldTop"],moveToTopFade_rotateUnfoldBottom:["pt-page-moveToTopFade","pt-page-rotateUnfoldBottom"],rotateRoomLeftOut_rotateRoomLeftIn:["pt-page-rotateRoomLeftOut pt-page-ontop","pt-page-rotateRoomLeftIn"],rotateRoomRightOut_rotateRoomRightIn:["pt-page-rotateRoomRightOut pt-page-ontop","pt-page-rotateRoomRightIn"],rotateRoomTopOut_rotateRoomTopIn:["pt-page-rotateRoomTopOut pt-page-ontop","pt-page-rotateRoomTopIn"],rotateRoomBottomOut_rotateRoomBottomIn:["pt-page-rotateRoomBottomOut pt-page-ontop","pt-page-rotateRoomBottomIn"],rotateCubeLeftOut_rotateCubeLeftIn:["pt-page-rotateCubeLeftOut pt-page-ontop","pt-page-rotateCubeLeftIn"],rotateCubeRightOut_rotateCubeRightIn:["pt-page-rotateCubeRightOut pt-page-ontop","pt-page-rotateCubeRightIn"],rotateCubeTopOut_rotateCubeTopIn:["pt-page-rotateCubeTopOut pt-page-ontop","pt-page-rotateCubeTopIn"],rotateCubeBottomOut_rotateCubeBottomIn:["pt-page-rotateCubeBottomOut pt-page-ontop","pt-page-rotateCubeBottomIn"],rotateCarouselLeftOut_rotateCarouselLeftIn:["pt-page-rotateCarouselLeftOut pt-page-ontop","pt-page-rotateCarouselLeftIn"],rotateCarouselRightOut_rotateCarouselRightIn:["pt-page-rotateCarouselRightOut pt-page-ontop","pt-page-rotateCarouselRightIn"],rotateCarouselTopOut_rotateCarouselTopIn:["pt-page-rotateCarouselTopOut pt-page-ontop","pt-page-rotateCarouselTopIn"],rotateCarouselBottomOut_rotateCarouselBottomIn:["pt-page-rotateCarouselBottomOut pt-page-ontop","pt-page-rotateCarouselBottomIn"],rotateSidesOut_rotateSidesInDelay:["pt-page-rotateSidesOut","pt-page-rotateSidesIn pt-page-delay200"],rotateSlideOut_rotateSlideIn:["pt-page-rotateSlideOut","pt-page-rotateSlideIn"]},g=function(a){var b=jQuery,c=[];return b.each(a,function(a,b){c.push(b)}),c}(f),h={moveToLeft_moveFromRight:"moveToRight_moveFromLeft",moveToRight_moveFromLeft:"moveToLeft_moveFromRight",moveToTop_moveFromBottom:"moveToBottom_moveFromTop",moveToBottom_moveFromTop:"moveToTop_moveFromBottom",fade_moveFromRight:"fade_moveFromLeft",fade_moveFromLeft:"fade_moveFromRight",fade_moveFromBottom:"fade_moveFromTop",fade_moveFromTop:"fade_moveFromBottom",moveToLeftFade_moveFromRightFade:"moveToRightFade_moveFromLeftFade",moveToRightFade_moveFromLeftFade:"moveToLeftFade_moveFromRightFade",moveToTopFade_moveFromBottomFade:"moveToBottomFade_moveFromTopFade",moveToBottomFade_moveFromTopFade:"moveToTopFade_moveFromBottomFade",moveToLeftEasing_moveFromRight:"moveToRightEasing_moveFromLeft",moveToRightEasing_moveFromLeft:"moveToLeftEasing_moveFromRight",moveToTopEasing_moveFromBottom:"moveToBottomEasing_moveFromTop",moveToBottomEasing_moveFromTop:"moveToTopEasing_moveFromBottom",scaleDown_moveFromRight:"scaleDown_moveFromLeft",scaleDown_moveFromLeft:"scaleDown_moveFromRight",scaleDown_moveFromBottom:"scaleDown_moveFromTop",scaleDown_moveFromTop:"scaleDown_moveFromBottom",scaleDown_scaleUpDown:"scaleDownUp_scaleUp",scaleDownUp_scaleUp:"scaleDown_scaleUpDown",moveToLeft_scaleUp:"moveToRight_scaleUp",moveToRight_scaleUp:"moveToLeft_scaleUp",moveToTop_scaleUp:"moveToBottom_scaleUp",moveToBottom_scaleUp:"moveToTop_scaleUp",scaleDownCenter_scaleUpCenter:"scaleDownCenter_scaleUpCenter",rotateRightSideFirst_moveFromRight:"rotateLeftSideFirst_moveFromLeft",rotateLeftSideFirst_moveFromLeft:"rotateRightSideFirst_moveFromRight",rotateTopSideFirst_moveFromTop:"rotateBottomSideFirst_moveFromBottom",rotateBottomSideFirst_moveFromBottom:"rotateTopSideFirst_moveFromTop",flipOutRight_flipInLeft:"flipOutLeft_flipInRight",flipOutLeft_flipInRight:"flipOutRight_flipInLeft",flipOutTop_flipInBottom:"flipOutBottom_flipInTop",flipOutBottom_flipInTop:"flipOutTop_flipInBottom",rotateFall_scaleUp:"rotateFall_scaleUp",rotateOutNewspaper_rotateInNewspaper:"rotateOutNewspaper_rotateInNewspaper",rotatePushLeft_moveFromRight:"rotatePushRight_moveFromLeft",rotatePushRight_moveFromLeft:"rotatePushLeft_moveFromRight",rotatePushTop_moveFromBottom:"rotatePushBottom_moveFromTop",rotatePushBottom_moveFromTop:"rotatePushTop_moveFromBottom",rotatePushLeft_rotatePullRight:"rotatePushRight_rotatePullLeft",rotatePushRight_rotatePullLeft:"rotatePushLeft_rotatePullRight",rotatePushTop_rotatePullBottom:"rotatePushTop_rotatePullBottom",rotatePushBottom_page:"rotatePushBottom_page",rotateFoldLeft_moveFromRightFade:"rotateFoldRight_moveFromLeftFade",rotateFoldRight_moveFromLeftFade:"rotateFoldLeft_moveFromRightFade",rotateFoldTop_moveFromBottomFade:"rotateFoldBottom_moveFromTopFade",rotateFoldBottom_moveFromTopFade:"rotateFoldTop_moveFromBottomFade",moveToRightFade_rotateUnfoldLeft:"moveToLeftFade_rotateUnfoldRight",moveToLeftFade_rotateUnfoldRight:"moveToRightFade_rotateUnfoldLeft",moveToBottomFade_rotateUnfoldTop:"moveToTopFade_rotateUnfoldBottom",moveToTopFade_rotateUnfoldBottom:"moveToBottomFade_rotateUnfoldTop",rotateRoomLeftOut_rotateRoomLeftIn:"rotateRoomRightOut_rotateRoomRightIn",rotateRoomRightOut_rotateRoomRightIn:"rotateRoomLeftOut_rotateRoomLeftIn",rotateRoomTopOut_rotateRoomTopIn:"rotateRoomBottomOut_rotateRoomBottomIn",rotateRoomBottomOut_rotateRoomBottomIn:"rotateRoomTopOut_rotateRoomTopIn",rotateCubeLeftOut_rotateCubeLeftIn:"rotateCubeRightOut_rotateCubeRightIn",rotateCubeRightOut_rotateCubeRightIn:"rotateCubeLeftOut_rotateCubeLeftIn",rotateCubeTopOut_rotateCubeTopIn:"rotateCubeBottomOut_rotateCubeBottomIn",rotateCubeBottomOut_rotateCubeBottomIn:"rotateCubeTopOut_rotateCubeTopIn",rotateCarouselLeftOut_rotateCarouselLeftIn:"rotateCarouselRightOut_rotateCarouselRightIn",rotateCarouselRightOut_rotateCarouselRightIn:"rotateCarouselLeftOut_rotateCarouselLeftIn",rotateCarouselTopOut_rotateCarouselTopIn:"rotateCarouselBottomOut_rotateCarouselBottomIn",rotateCarouselBottomOut_rotateCarouselBottomIn:"rotateCarouselTopOut_rotateCarouselTopIn",rotateSidesOut_rotateSidesInDelay:"rotateSidesOut_rotateSidesInDelay",rotateSlideOut_rotateSlideIn:"rotateSlideOut_rotateSlideIn"},i=function(){return this.length?this[0].outerHTML||function(a){var b=document.createElement("div");b.appendChild(a.cloneNode(!0));var c=b.innerHTML;return b=null,c}(this[0]):this},j=function(){var a=jQuery;return function(b){var c={show:!1,hide:!1,showLoader:!1,hideLoader:!1,showProgress:!1,hideProgress:!1,resetProgress:!1,fadeIn:!0,fadeOut:!0,fadeInLoader:!0,fadeOutLoader:!0,afterInit:function(){}};b=a.extend({},c,b),this.each(function(){var c,d,e,f,g=a(this),h=g.is(".overlayContainer:has(.overlay)"),i=function(){b.fadeIn?c.fadeIn(500):c.show()},j=function(){b.fadeOut?c.fadeOut(500):c.hide()},k=function(){b.fadeInLoader?d.not(":visible").fadeIn(500):d.not(":visible").show()},l=function(){b.fadeOutLoader?d.filter(":visible").fadeOut(500):d.filter(":visible").hide()};h||(g.addClass("overlayContainer"),g.append(''),b.afterInit()),c=g.children(".overlay"),d=g.find(".imageLoaderPositionAbsolute"),e=d.find(".progress-value"),f=d.find(".fa-spinner"),b.resetProgress&&e.html("0"),b.showProgress?(d.addClass("preloadAll"),e.show(),f.hide()):b.hideProgress&&(d.removeClass("preloadAll"),e.hide(),f.show()),c.stop(!1,!0),d.stop(!1,!0),b.show?i():b.hide&&j(),b.showLoader?k():b.hideLoader&&l()})}}(),k=function(a){var b=jQuery;return b.fn.overlay=a,function(a){a=b.extend({interval:1e3,skip:":not(*)",start:function(){b("body").overlay({fadeIn:!1,fadeOut:!1,show:!0,showLoader:!0}),b("body").show()},success:function(){b("body").overlay({hide:!0})},progress:function(){}},a),this.each(function(){function c(){var e,i=!0,j=0;g.each(function(){b(this)[0].complete&&b(this)[0].naturalWidth>0?j++:i=!1}),e=parseInt(100*j/h),a.progress({percent:e}),i?(clearTimeout(d),f.remove(),a.success()):d=setTimeout(c,a.interval)}var d,e=b(this),f=b(),g=b(),h=0;e.append(''),f=e.children(".jLoaderTmp:last-child"),b(e).add(e.find("*")).not(a.skip).each(function(){var a;"none"!==b(this).css("background-image")&&(a=b(this).css("background-image"),/url/.exec(a)&&(a=a.replace('"',"").replace("'","").replace(" ","").replace("url(","").replace(")",""),f.append('')))}),g=e.find("img:not("+a.skip+")"),e.is("img")&&(e.is(a.skip)||(g=g.add(e))),h=parseInt(g.length),a.start(),c()})}}(j),l=function(){var a=jQuery,b=a("title");return function(c){c=a.extend({},{stateObj:{},title:b.html(),path:""},c),window.history.pushState(c.stateObj,c.title,document.location.href.split("#")[0]+"#"+c.path)}}(),m=function(){var a=!1;if("Microsoft Internet Explorer"===navigator.appName){var b=navigator.userAgent,c=new RegExp("MSIE ([0-9]{1,}[.0-9]{0,})");null!==c.exec(b)&&(a=!0)}return a},n=function(){var a=!1;if("Microsoft Internet Explorer"===navigator.appName){var b=navigator.userAgent,c=new RegExp("MSIE ([0-9]{1,}[.0-9]{0,})");null!==c.exec(b)&&(a=parseFloat(RegExp.$1),a=9>a)}return a},o=function(){var a=jQuery,b=a("html");return function(){0===b.find(".jgallery").length?b.removeClass("has-jgallery"):b.addClass("has-jgallery"),0===b.find(".jgallery.hidden").length?b.removeClass("has-hidden-jgallery"):b.addClass("has-hidden-jgallery"),0===b.find(".jgallery:not(.hidden)").length?b.removeClass("has-visible-jgallery"):b.addClass("has-visible-jgallery")}},p=function(a){var b=jQuery,c=b("head"),d=0,e=function(a){a.is("[data-advanced-animation-id]")||(this.cols=1,this.rows=1,this.direction="forward",this.animation=!0,this.$element=a,this.$element.filter(":not([data-advanced-animation-id])").attr("data-advanced-animation-id",++d),this.$element.find(".pt-item").wrap('
'),this.$element.wrapInner('
'),this.generateHtml(),this._showParts(this.$element.find(".pt-part"),1))};return e.prototype={next:function(){var a=this.$element.find(".pt-part").eq("backward"===this.direction?-1:0).find(".pt-page-current:not(.pt-page-prev)").next();a.length?this.show(a):this.show(this.$element.find(".pt-part").eq("backward"===this.direction?-1:0).find(".pt-page").eq(0))},show:function(a,c){var d=a.prevAll().length+1;a.is(".pt-page-current:not(.pt-page-prev)")||(c=b.extend({},{animation:!0},c),this.animation=c.animation,this._waveJumpToEnd(),this.animation?this._runWave(d):this._showParts(this.$element.find(".pt-part"),d),this.intPrevPtPageNumber=d)},setQuantityParts:function(a,b){this.cols=a,this.rows=b,this.generateHtml()},setAnimationProperties:function(b){var d=this.$element.attr("data-advanced-animation-id"),e=c.find('style[data-advanced-animation-id="'+d+'"]');this.duration=b.duration,a()||(0===e.length&&(e=c.append(' "),this.isHorizontal()?this.jGallery.zoom.$container.find(".minimalize-thumbnails").addClass("fa-ellipsis-h").removeClass("fa-ellipsis-v"):this.jGallery.zoom.$container.find(".minimalize-thumbnails").addClass("fa-ellipsis-v").removeClass("fa-ellipsis-h"),this.isJgalleryInitialized||this.hide()},_showNextThumb:function(){var a=this,b=this.$a.parent(".active").children(".hidden").eq(0);setTimeout(function(){b.removeClass("hidden"),b.length&&a._showNextThumb()},70)},_horizontalCenter:function(a){var b=this;1===a.length&&this.$container.stop(!1,!0).animate({scrollLeft:a.position().left- -1*this.$container.scrollLeft()-a.outerWidth()/-2-this.$container.outerWidth()/2},function(){b.refreshNavigation()})},_verticalCenter:function(a){var b=this;1===a.length&&this.$container.stop(!1,!0).animate({scrollTop:a.position().top- -1*this.$container.scrollTop()-a.outerHeight()/-2-this.$container.outerHeight()/2},function(){b.refreshNavigation()})},canScrollToPrev:function(){return this.isVertical()||this.isFullScreen()?this.$container.scrollTop()>0:this.$container.scrollLeft()>0},canScrollToNext:function(){if(this.isVertical()||this.isFullScreen())return this.$container.find(".jgallery-container-inner").height()>this.$container.height()+this.$container.scrollTop();var a=this.getElement().find("div.active"),b="image"===this.jGallery.options.thumbType?this.$a.outerWidth(!0)*a.find("img").length:this.$a.outerWidth(!0)*a.find("a").length;return b>this.$container.width()+this.$container.scrollLeft()},_scrollToPrev:function(){var a=this;this.isVertical()||this.isFullScreen()?this.$container.stop(!1,!0).animate({scrollTop:"-="+.7*d.height()},function(){a.refreshNavigation()}):this.isHorizontal()&&this.$container.stop(!1,!0).animate({scrollLeft:"-="+.7*d.width()},function(){a.refreshNavigation()})},_scrollToNext:function(){var a=this;this.isVertical()||this.isFullScreen()?this.$container.stop(!1,!0).animate({scrollTop:"+="+.7*d.height()},function(){a.refreshNavigation()}):this.isHorizontal()&&this.$container.stop(!1,!0).animate({scrollLeft:"+="+.7*d.width()},function(){a.refreshNavigation()})}},e}(k),t=function(a,b){var c=jQuery;c.fn.outerHtml=a,c.fn.jLoader=b;var d=function(a,b){this.options=c.extend({},{thumbsHidden:!0},b),this.jGallery=a,this.isSlider=a.isSlider(),this.$element=a.$this,this.booIsAlbums=a.booIsAlbums,this.$tmp,this.intI=1,this.intJ=1,this.intNo,this.$thumbnailsContainerInner=this.jGallery.$jgallery.find(".jgallery-thumbnails .jgallery-container-inner"),this.start()};return d.prototype={start:function(){var a=this,b=this.jGallery.isSlider()?".album:has(img)":".album:has(a:has(img))";c("body").append('
'+this.$element.html()+"
"), this.$tmp=c("#jGalleryTmp"),this.$thumbnailsContainerInner.html(""),this.booIsAlbums?this.$tmp.find(b).each(function(){a.insertAlbum(c(this))}):this.insertImages(this.$tmp,this.$thumbnailsContainerInner),this.$tmp.remove(),this.refreshThumbsSize()},insertAlbum:function(a){var b=a.is("[data-jgallery-album-title]")?a.attr("data-jgallery-album-title"):"Album "+this.intJ,c=this.$thumbnailsContainerInner.append('
').children(":last-child");1===this.intJ&&c.addClass("active"),this.insertImages(a,c),this.intJ++},insertImages:function(a,b){var d=this,e=this.jGallery.isSlider()?"img":"a:has(img)";this.intNo=1,a.find(e).each(function(){d.insertImage(c(this),b)})},insertImage:function(a,b){var d,e=c();a.is("a")?e=b.append(''+this.generateImgTag(a.find("img").eq(0)).outerHtml()+"").children(":last-child"):a.is("img")&&(e=b.append(c(''+this.generateImgTag(a).outerHtml()+"")).children(":last-child"),d=a.parent(),this.isSlider&&d.is("a")&&(e.attr("link",d.attr("href")),d.is("[target]")&&e.attr("target",d.attr("target")))),e.jLoader({start:function(){e.overlay({fadeIn:!1,fadeOut:!1,show:!0,showLoader:!0})},success:function(){e.overlay({hide:!0})}}),b.children(":last-child").attr("data-jgallery-photo-id",this.intI++).attr("data-jgallery-number",this.intNo++)},generateImgTag:function(a){var b=c('');return a.is("[alt]")&&b.attr("alt",a.attr("alt")),a.is("[data-jgallery-bg-color]")&&b.attr("data-jgallery-bg-color",a.attr("data-jgallery-bg-color")),a.is("[data-jgallery-text-color]")&&b.attr("data-jgallery-text-color",a.attr("data-jgallery-text-color")),b},refreshThumbsSize:function(){var a=this.jGallery.options;this.$thumbnailsContainerInner.find("img").each(function(){var b=c(this),d=new Image;d.src=b.attr("src"),d.width/d.height .title"),this.$btnPrev=this.$container.children(".prev"),this.$btnNext=this.$container.children(".next"),this.thumbnails=a.thumbnails,this.$jGallery=a.$element,this.jGallery=a,this.$resize=this.$container.find(".resize"),this.$dragNav=this.$container.find(".drag-nav"),this.$dragNavCrop=i(),this.$dragNavCropImg=i(),this.$changeMode=this.$container.find(".fa.change-mode"),this.$random=this.$container.find(".random"),this.$slideshow=this.$container.find(".slideshow"),this.intJGalleryId=this.$jGallery.attr("data-jgallery-id"),this.booSlideshowPlayed=!1,this.booLoadingInProgress=!1,this.booLoadedAll=!1,this.$title.on("click",function(){i(this).toggleClass("expanded")}),this.update(),this.enableDrag(),this.jGallery.options.swipeEvents&&this.initSwipeEvents()};return k.prototype={update:function(){var a=d[this.jGallery.options.transition];this.$container.attr("data-size",this.jGallery.options.zoomSize),this.$element.find(".pt-page").removeClass(this.jGallery.options.hideEffect).removeClass(this.jGallery.options.showEffect),"undefined"!=typeof a&&(this.jGallery.options.hideEffect=a[0],this.jGallery.options.showEffect=a[1]),this.initAdvancedAnimation()},initSwipeEvents:function(){if(i.fn.swipe){var a,b=this.$element,c=this,d=function(a){b.css({"-webkit-transform":"translateX("+a+"px)",transform:"translateX("+a+"px)"})};b.swipe({swipeStatus:function(b,e,f,g){"start"===e&&(a=c.draggedHorizontal),a&&("move"!==e||"left"!==f&&"right"!==f?"cancel"===e?d(0):"end"===e&&("left"===f?(c.showNextPhoto(),d(0)):"right"===f&&(c.showPrevPhoto(),d(0))):"left"===f?d(-g):"right"===f&&d(g))}}).on("mouseleave",function(){d(0)})}},initAdvancedAnimation:function(){"undefined"==typeof this.advancedAnimation&&(this.advancedAnimation=new g(this.$element)),this.advancedAnimation.setAnimationProperties({duration:this.jGallery.options.transitionDuration,transitionTimingFunction:this.jGallery.options.transitionTimingFunction}),this.advancedAnimation.setDirection(this.jGallery.options.transitionWaveDirection),this.advancedAnimation.setQuantityParts(this.jGallery.options.transitionCols,this.jGallery.options.transitionRows),this.advancedAnimation.setHideEffect(this.jGallery.options.hideEffect),this.advancedAnimation.setShowEffect(this.jGallery.options.showEffect)},setThumbnails:function(a){this.thumbnails=a},showDragNav:function(){this.$dragNav.removeClass("hide").addClass("show")},hideDragNav:function(){this.$dragNav.removeClass("show").addClass("hide")},refreshDragNavVisibility:function(){var a=this.$element.find("img.active");a.width()<=this.$element.outerWidth()||a.height()<=this.$element.outerHeight()?this.hideDragNav():this.showDragNav()},refreshDragged:function(){var a=this.$element.find("img.active");a.width()<=this.$element.outerWidth()?this.draggedHorizontal=!0:this.draggedHorizontal=!1,a.height()<=this.$element.outerHeight()?this.draggedVertical=!0:this.draggedVertical=!1},enableDrag:function(){if(this.jGallery.options.draggableZoom){var a,b,c,d,e=this,f=function(c){var d=c.pageX,f=c.pageY,i=e.$element.find("img.active");a=i.css("margin-left"),b=i.css("margin-top"),e.$element.on({mousemove:function(a){h(a.pageX-d,a.pageY-f)},touchmove:function(a){a=a.originalEvent.touches[0],h(a.pageX-d,a.pageY-f)},mouseleave:function(){g()},touchend:function(){g()}}),"fill"===e.jGallery.options.zoomSize&&e.$dragNav.removeClass("hide").addClass("show"),h(0,0)},g=function(){e.$element.off("mousemove touchmove"),"fill"===e.jGallery.options.zoomSize&&e.$dragNav.removeClass("show").addClass("hide"),e.draggedHorizontal=c,e.draggedVertical=d},h=function(f,g){var h=parseFloat(parseFloat(a)+f),i=parseFloat(parseFloat(b)+g),j=e.$element.find("img.active"),k=j.eq(0),l=k.position(),m=l.left,n=l.top,o=j.eq(-1),p=o.position(),q=o.parent(),r=e.$dragNavCrop,s=r.position();0>m+h&&p.left+o.width()+h>q.outerWidth()?(j.css({"margin-left":h}),r.css({left:-(m+h)/j.width()*100+"%"}),c=!1):c=!0,0>n+i&&p.top+o.height()+i>q.outerHeight()?(j.css({"margin-top":i}),r.css({top:-(n+i)/j.height()*100+"%"}),d=!1):d=!0,e.$dragNavCropImg.css({"margin-left":-s.left,"margin-top":-s.top})};this.refreshDragNavCropSize(),this.$element.css("cursor","move").on({mousedown:function(a){a.preventDefault(),f(a),e.slideshowPause()},touchstart:function(a){a.preventDefault(),f(a.originalEvent.touches[0]),e.slideshowPause()},mouseup:function(){g()},touchend:function(){g()}})}},refreshContainerSize:function(){var a=this.jGallery.isSlider()?0:this.$container.find(".nav-bottom").outerHeight(),b=!this.jGallery.isSlider()&&!this.thumbnails.getElement().is(".hidden"),c=b?this.jGallery.options.thumbnailsPosition:"";this.$container.css({width:b&&this.thumbnails.isVertical()?this.$jGallery.width()-this.thumbnails.getElement().outerWidth(!0):"auto",height:b&&this.thumbnails.isHorizontal()?this.$jGallery.height()-this.thumbnails.getElement().outerHeight(!0)-a:this.$jGallery.height()-a,"margin-top":"top"===c?this.thumbnails.getElement().outerHeight(!0):0,"margin-left":"left"===c?this.thumbnails.getElement().outerWidth(!0):0,"margin-right":"right"===c?this.thumbnails.getElement().outerWidth(!0):0}),this.jGallery.options.draggableZoom&&this.refreshDragNavCropSize()},refreshSize:function(){this.thumbnails.isFullScreen()||(this.refreshContainerSize(),"original"===this.jGallery.options.zoomSize?this.original():"fill"===this.jGallery.options.zoomSize?this.fill():this.fit(),this.jGallery.options.draggableZoom&&(this.refreshDragNavCropSize(),this.refreshDragNavVisibility(),this.refreshDragged()),this.$element.addClass("visible"))},refreshDragNavCropSize:function(){var a,b,c=this.$element.find("img.active");this.$dragNavCrop.css({width:this.$element.width()/c.width()*100+"%",height:this.$element.height()/c.height()*100+"%"}),a=c.attr("data-width")a.width()&&a.attr("data-height")>a.height()?this.$resize.addClass("fa-search-plus").removeClass("fa-search-minus"):this.$resize.addClass("fa-search-minus").removeClass("fa-search-plus")},setImgSizeForOriginal:function(a){a.css({width:a.attr("data-width"),height:a.attr("data-height"),"min-width":0,"min-height":0,"max-width":"none","max-height":"none"}),a.css({"margin-top":-a.height()/2,"margin-left":-a.width()/2})},setImgSizeForFit:function(a){var b=this.jGallery.isSlider()?0:this.$container.find(".nav-bottom").outerHeight(),c=!this.jGallery.isSlider()&&!this.thumbnails.getElement().is(".hidden");a.css({width:"auto",height:"auto","min-width":0,"min-height":0,"max-width":c&&this.thumbnails.isVertical()?this.$jGallery.width()-this.thumbnails.getElement().outerWidth(!0):this.$jGallery.width(),"max-height":c&&this.thumbnails.isHorizontal()?this.$jGallery.height()-this.thumbnails.getElement().outerHeight(!0)-b:this.$jGallery.height()-b}),a.width()/a.height()/this.jGallery.getCanvasRatioWidthToHeight()<1?a.css({width:"auto",height:c&&this.thumbnails.isHorizontal()?this.$jGallery.height()-this.thumbnails.getElement().outerHeight(!0)-b:this.$jGallery.height()-b}):a.css({width:c&&this.thumbnails.isVertical()?this.$jGallery.width()-this.thumbnails.getElement().outerWidth(!0):this.$jGallery.width(),height:"auto"}),a.css({"margin-top":-a.height()/2,"margin-left":-a.width()/2})},setImgSizeForFill:function(a){var b=this.jGallery.isSlider()?0:this.$container.find(".nav-bottom").outerHeight(),c=!this.jGallery.isSlider()&&!this.thumbnails.getElement().is(".hidden");a.css({width:"auto",height:"auto","max-width":"none","max-height":"none","min-width":0,"min-height":0}),a.width()/a.height()/this.jGallery.getCanvasRatioWidthToHeight()>1?a.css({width:"auto",height:c&&this.thumbnails.isHorizontal()?this.$jGallery.height()-this.thumbnails.getElement().outerHeight(!0)-b:this.$jGallery.height()-b}):a.css({width:c&&this.thumbnails.isVertical()?this.$jGallery.width()-this.thumbnails.getElement().outerWidth(!0):this.$jGallery.width(),height:"auto"}),a.css({"min-width":c&&this.thumbnails.isVertical()?this.$jGallery.width()-this.thumbnails.getElement().outerWidth(!0):this.$jGallery.width(),"min-height":c&&this.thumbnails.isHorizontal()?this.$jGallery.height()-this.thumbnails.getElement().outerHeight(!0)-b:this.$jGallery.height()-b}),a.css({"margin-top":-a.height()/2,"margin-left":-a.width()/2})},isAddedToLoad:function(a){return this.$element.find("img").filter('[src="'+a.attr("href")+'"]').length>0},isLoaded:function(a){var b=this.$element.find("img").filter('[src="'+a.attr("href")+'"]').get(0);return b?this.imgIsLoaded(b):void 0},imgIsLoaded:function(a){return a.complete&&a.naturalWidth>0},refreshNav:function(){var a=this.thumbnails.getElement().find("div.active a.active");1===a.prev("a").length?this.$btnPrev.removeClass("hidden"):this.$btnPrev.addClass("hidden"),1===a.next("a").length?this.$btnNext.removeClass("hidden"):this.$btnNext.addClass("hidden")},slideshowStop:function(){this.slideshowPause(),this.jGallery.progress.clear()},slideshowPause:function(){this.jGallery.progress.pause(),this.$slideshow.removeClass("fa-pause").addClass("fa-play"),this.booSlideshowPlayed=!1,this.jGallery.options.slideshowCanRandom&&this.$random.hide()},slideshowPlay:function(){this.booLoadingInProgress||this.booSlideshowPlayed||(this.booSlideshowPlayed=!0,this.$slideshow.removeClass("fa-play").addClass("fa-pause"),this.slideshowSetTimeout(),this.jGallery.options.slideshowCanRandom&&this.$random.show())},slideshowPlayPause:function(){this.$slideshow.is(".fa-play")?this.slideshowPlay():this.slideshowPause()},slideshowSetTimeout:function(){var a=this;this.jGallery.progress.start(this.$container.width(),function(){a.jGallery.progress.clear(),a.jGallery.options.slideshowRandom?a.showRandomPhoto():a.showNextPhotoLoop()})},slideshowRandomToggle:function(){this.jGallery.options.slideshowRandom?(this.$random.removeClass("active"),this.jGallery.options.slideshowRandom=!1):(this.$random.addClass("active"),this.jGallery.options.slideshowRandom=!0)},showNextPhotoLoop:function(){var a=this.thumbnails.$a.filter(".active").next("a");0===a.length&&(a=this.thumbnails.$albums.filter(".active").find("a").eq(0)),this.showPhoto(a)},showRandomPhoto:function(){var a=this.thumbnails.$albums.filter(".active").find("a:not(.active)");this.showPhoto(a.eq(Math.floor(Math.random()*a.length)))},showPrevPhoto:function(){var a=this.thumbnails.$a.filter(".active").prev("a");1===a.length&&this.showPhoto(a)},showNextPhoto:function(){var a=this.thumbnails.$a.filter(".active").next("a");1===a.length&&this.showPhoto(a)},showPhotoInit:function(){this.jGallery.init()},showPhoto:function(a,b){var c,e,g,h,i=this,j=a.children("img"),k=a.next();k.length>0&&(i.isAddedToLoad(k)||this.appendPhoto(k));var l=a.prev();if(l.length>0&&(i.isAddedToLoad(l)||this.appendPhoto(l)),this.jGallery.initialized()||this.showPhotoInit(),!this.booLoadingInProgress){if(this.booLoadingInProgress=!0,h=this.jGallery.options[a.nextAll(".active").length>0?"transitionBackward":"transition"],"random"===h?this.setRandomTransition():"auto"===h?(g=d[f[this.jGallery.options.transition]],this.advancedAnimation.setHideEffect(g[0]),this.advancedAnimation.setShowEffect(g[1])):(g=d[h],this.advancedAnimation.setHideEffect(g[0]),this.advancedAnimation.setShowEffect(g[1])),this.$element.find(".pt-page.init").remove(),this.jGallery.options.showPhoto(a,j),this.jGallery.$element.is(":not(:visible)")&&this.jGallery.show(),this.thumbnails.changeViewToBar(),this.jGallery.booIsAlbums&&""===this.jGallery.iconChangeAlbum.getTitle()&&(e=a.parents(".album").eq(0).attr("data-jgallery-album-title"),this.jGallery.iconChangeAlbum.setTitle(e),this.jGallery.iconChangeAlbum.$element.find('[data-jgallery-album-title="'+e+'"]').addClass("active"),a.parents(".album").addClass("active").siblings(".album").removeClass("active")),this.thumbnails.setActiveAlbum(this.thumbnails.$albums.filter('[data-jgallery-album-title="'+a.parents("[data-jgallery-album-title]").attr("data-jgallery-album-title")+'"]')),this.thumbnails.setActiveThumb(a),this.$element.find("img.active").attr("src")===a.attr("href"))return this.booLoadingInProgress=!1,void this.setJGalleryColoursForActiveThumb();a.is("[link]")?(this.$element.addClass("is-link"),a.is('[target="_blank"]')?this.$element.attr("onclick",'window.open("'+a.attr("link")+'")'):this.$element.attr("onclick",'window.location="'+a.attr("link")+'"')):(this.$element.removeClass("is-link"),this.$element.removeAttr("onclick")),this.refreshNav(),this.jGallery.options.title&&this.$title.addClass("after fade"),c=i.isLoaded(a),c||(i.jGallery.options.preloadAll&&!i.booLoadedAll?this.appendAllPhotos():this.isAddedToLoad(a)||this.appendPhoto(a)),this.$element.find("img.active").addClass("prev-img"),i.$container.find("img.active").removeClass("active"),i.$container.find('[src="'+a.attr("href")+'"]').addClass("active"),i.jGallery.options.title&&j.is("[alt]")&&i.$title.removeClass("after").addClass("before"),!c||i.jGallery.options.preloadAll&&!i.booLoadedAll?(i.booLoadedAll=!0,i.$container.overlay({show:!0,showLoader:!0,showProgress:i.jGallery.options.preloadAll,resetProgress:i.jGallery.options.preloadAll}),i.jGallery.options.beforeLoadPhoto(a,j),i.loadPhoto(i.$element,a,b)):i.showPhotoSuccess(a,j,b)}},appendPhoto:function(a){this.$element.find(".pt-part").append('
')},appendAllPhotos:function(){var a=this;this.jGallery.options.preloadAll&&(this.thumbnails.$a.each(function(){var b=i(this);a.isAddedToLoad(b)||a.$element.find(".pt-part").append('
')}),this.appendInitPhoto(this.thumbnails.$a.eq(-1)))},appendInitPhoto:function(a){1===a.length&&this.$element.find(".pt-part").append(' ')},loadPhoto:function(a,b,c){var d=this,e=b.children("img"),f=0,g=a.find(".pt-part").eq(0),h=this.jGallery.options.preloadAll?g:g.find("img.active");h.jLoader({interval:500,skip:".loaded",start:function(){},success:function(){a.find("img").each(function(){var a=i(this);d.imgIsLoaded(a.get(0))&&a.addClass("loaded")}),d.$container.overlay({hide:!0,hideLoader:!0}),d.showPhotoSuccess(b,e,c)},progress:function(a){d.jGallery.options.preloadAll&&(f=a.percent,d.$container.find(".overlay .imageLoaderPositionAbsolute").find(".progress-value").html(f))}})},showPhotoSuccess:function(a,b,d){var e,f=this.$element.find("img.active");d=i.extend({},{historyPushState:!0},d),f.is(":not([data-width])")&&(e=new Image,e.src=f.attr("src"),f.attr("data-width",e.width),f.attr("data-height",e.height)),this.jGallery.options.title&&b.attr("alt")?(this.$title.html(b.attr("alt")).removeClass("before").removeClass("after"),this.jGallery.$element.addClass("has-title")):this.jGallery.$element.removeClass("has-title"),this.setJGalleryColoursForActiveThumb(),this.$element.find(".pt-page.init").css({visibility:"visible"}),this.$element.find("img.prev-img").removeClass("prev-img"),this.advancedAnimation.show(f.eq(0).parent().parent(),{animation:1===this.$element.find(".pt-part").eq(0).find(".pt-page-current:not(.pt-page-prev)").length}),this.refreshSize(),this.thumbnails.refreshNavigation(),this.booSlideshowPlayed&&this.slideshowSetTimeout(),this.jGallery.options.afterLoadPhoto(a,b),this.booLoadingInProgress=!1,this.jGallery.options.autostart&&this.jGallery.options.slideshowAutostart&&this.jGallery.options.slideshow&&(this.jGallery.options.slideshowAutostart=!1,this.slideshowPlay()),this.jGallery.options.draggableZoom&&(this.$dragNav.html('
'),this.$dragNavCrop=this.$dragNav.find(".crop"),this.$dragNavCropImg=this.$dragNavCrop.find("img"),this.refreshDragNavCropSize()),d.historyPushState&&this.jGallery.options.browserHistory&&c({path:f.attr("src")})},showPhotoByPath:function(a){var b=this.thumbnails.$albums.filter(".active").find('a[href="'+a+'"]');0===b.length&&(b=this.thumbnails.$a.filter('a[href="'+a+'"]').eq(0)),0!==b.length&&this.showPhoto(b,{historyPushState:!1})},setJGalleryColoursForActiveThumb:function(){var a=this.thumbnails.$a.filter(".active").find("img");this.jGallery.setColours({strBg:a.is("[data-jgallery-bg-color]")?a.attr("data-jgallery-bg-color"):this.jGallery.options.backgroundColor,strText:a.is("[data-jgallery-bg-color]")?a.attr("data-jgallery-text-color"):this.jGallery.options.textColor})},setTransition:function(a){this.jGallery.options.hideEffect=d[a][0],this.jGallery.options.showEffect=d[a][1],this.advancedAnimation.setHideEffect(this.jGallery.options.hideEffect),this.advancedAnimation.setShowEffect(this.jGallery.options.showEffect)},setRandomTransition:function(){var a;this.$element.find(".pt-page").removeClass(this.jGallery.options.hideEffect).removeClass(this.jGallery.options.showEffect),a=Math.floor(Math.random()*e.length),this.jGallery.options.hideEffect=e[a][0],this.jGallery.options.showEffect=e[a][1],this.advancedAnimation.setHideEffect(this.jGallery.options.hideEffect),this.advancedAnimation.setShowEffect(this.jGallery.options.showEffect)},unmarkActive:function(){this.$element.find("img.active").removeClass("active")},changeMode:function(){var a=this.jGallery.options.mode;"slider"!==a&&("standard"===a?this.goToFullScreenMode():"full-screen"===a&&this.goToStandardMode(),this.jGallery.iconChangeAlbum instanceof h&&this.jGallery.iconChangeAlbum.refreshMenuHeight())},goToFullScreenMode:function(){j.css({overflow:"hidden"}),this.jGallery.$this.show(),this.jGallery.$element.removeClass("jgallery-standard").addClass("jgallery-full-screen").css({width:"auto",height:"auto"}),this.$changeMode.removeClass("fa-expand").addClass("fa-compress"),this.jGallery.options.mode="full-screen",this.jGallery.refreshDimensions()},goToStandardMode:function(){j.css({overflow:"visible"}),this.jGallery.$this.hide(),this.jGallery.$element.removeClass("jgallery-full-screen").addClass("jgallery-standard").css({width:this.jGallery.options.width,height:this.jGallery.options.height}),this.$changeMode.removeClass("fa-compress").addClass("fa-expand"),this.jGallery.options.mode="standard",this.jGallery.refreshDimensions()}},k}(k,j,l,f,g,h,p,q),v=function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){var p=jQuery,q=p("html"),r=p("head"),s=p("body"),t=p(window);p.fn.outerHtml=a;var u=function(a,b,c){var f=this;b&&!a.is("[data-jgallery-id]")&&(this.$this=a,this.intId=b,this.$this.attr("data-jgallery-id",this.intId),this.overrideOptions(c),this.booIsAlbums=a.find(".album:has(a:has(img))").length>1,this.options.disabledOnIE8AndOlder&&d()||this.init({success:function(){f.options.browserHistory&&f.browserHistory(),f.options.autostart&&f.autostart(),e(),q.on({keydown:function(a){if(f.$element.is(":visible")){if(27===a.which){if(a.preventDefault(),f.thumbnails.getElement().is(".full-screen"))return f.thumbnails.changeViewToBar(),void f.zoom.refreshSize();f.hide()}37===a.which&&(a.preventDefault(),f.zoom.showPrevPhoto()),39===a.which&&(a.preventDefault(),f.zoom.showNextPhoto())}}})}}))};return u.prototype={template:{html:'',done:function(a){a(this.html)}},initialized:function(){return this.$this.is("[data-jgallery-id]")},update:function(a){var b=this;this.template.done(function(){b.overrideOptions(a),b.options.disabledOnIE8AndOlder&&d()||(b.booIsAlbums=b.$this.find(".album:has(a:has(img))").length>1,b.zoom.update(),b.thumbnails.init(),b.setUserOptions(),b.reloadThumbnails(),b.refreshDimensions())})},overrideOptions:function(a){var b="undefined"!=typeof a&&"undefined"!=typeof a.mode;this.options=p.extend({},f,this.options),b&&"full-screen"===a.mode?this.options=p.extend({},this.options,g,a,i):b&&"slider"===a.mode?this.options=p.extend({},this.options,h,a,j):this.options=p.extend({},this.options,a)},reloadThumbnails:function(){new n(this,{thumbsHidden:!1}),this.generateAlbumsDropdown(),this.thumbnails.reload()},setVariables:function(){this.$element=p(".jgallery").filter('[data-jgallery-id="'+this.intId+'"]'),this.progress=new l(this.$element.find(".zoom-container").children(".progress"),this),this.zoom=new o(this),this.thumbnails=new m(this),this.zoom.setThumbnails(this.thumbnails)},show:function(){this.$this.hide(),t.on("resize",{jGallery:this},this.windowOnResize),"full-screen"===this.options.mode&&(this.bodyOverflowBeforeShow=s.css("overflow"),s.css({overflow:"hidden"})),this.$element.not(":visible").removeClass("hidden").stop(!1,!0).fadeIn(500),this.zoom.refreshContainerSize(),this.zoom.$title.removeClass("hidden"),this.options.showGallery(),this.iconChangeAlbum instanceof k&&this.iconChangeAlbum.refreshMenuHeight(),e()},hide:function(a){var c=this;this.options.canClose&&(a=p.extend({},{historyPushState:!0},a),this.$element.filter(":visible").stop(!1,!0).addClass("hidden").fadeOut(500,function(){"full-screen"===c.options.mode&&s.css({overflow:c.bodyOverflowBeforeShow}),e()}),this.zoom.booLoadingInProgress=!1,clearTimeout(this.zoom.showPhotoTimeout),this.zoom.$title.addClass("hidden"),this.zoom.$btnPrev.addClass("hidden"),this.zoom.$btnNext.addClass("hidden"),this.zoom.slideshowPause(),this.zoom.advancedAnimation.hideActive(),this.zoom.unmarkActive(),t.off("resize",this.windowOnResize),this.$this.show(),a.historyPushState&&this.options.browserHistory&&b(),this.options.closeGallery())},autostart:function(){var a,b;this.$element.is(":visible")||(this.booIsAlbums?(a=this.thumbnails.getElement().find(".album").eq(this.options.autostartAtAlbum-1),0===a.length&&(a=this.thumbnails.getElement().find(".album").eq(0))):a=this.thumbnails.getElement(),b=a.find("a").eq(this.options.autostartAtImage-1),0===b.length&&(b=a.find("a").eq(0)),b.trigger("click"))},browserHistory:function(){function a(){var a;if(document.location.hash)switch(a=document.location.hash.replace("#","")){case"":b.hide({historyPushState:!1});break;default:b.zoom.showPhotoByPath(a)}}var b=this,c=window.onpopstate;window.onpopstate=function(){"function"==typeof c&&c(),a()},this.options.autostart&&a()},generateAlbumsDropdown:function(){var a=this;this.$element.find(".change-album").remove(),this.booIsAlbums&&(this.zoom.$container.find(".nav-bottom > .icons").append(' '),this.iconChangeAlbum=new k(a.zoom.$container.find(".change-album"),this),this.iconChangeAlbum.clearMenu(),this.thumbnails.$albums.each(function(){var b=p(this).attr("data-jgallery-album-title");a.iconChangeAlbum.appendToMenu(''+b+"")}),this.thumbnails.getElement().append(this.iconChangeAlbum.getElement().outerHtml()),this.iconChangeAlbum=new k(this.iconChangeAlbum.getElement().add(this.thumbnails.getElement().children(":last-child")),this),this.iconChangeAlbum.bindEvents(this))},init:function(a){var b=this;a=p.extend({success:function(){}},a),r.append(''),this.options.initGallery(),this.generateHtml({success:function(){new n(b),b.setVariables(),b.thumbnails.init(),b.thumbnails.getElement().append(''),b.generateAlbumsDropdown(),b.setUserOptions(),("fit"===b.options.zoomSize||"original"===b.options.zoomSize)&&b.zoom.$resize.addClass("fa-search-plus"),"fill"===b.options.zoomSize&&b.zoom.$resize.addClass("fa-search-minus"),c()||b.$element.addClass("text-shadow"),b.thumbnails.refreshNavigation(),b.zoom.refreshNav(),b.zoom.refreshSize(),b.$this.on("click","a:has(img)",function(a){var c=p(this);a.preventDefault(),b.zoom.showPhoto(c)}),b.thumbnails.$element.on("click","a",function(a){var c=p(this);a.preventDefault(),c.is(":not(.active)")?(b.zoom.slideshowStop(),b.zoom.showPhoto(c)):b.thumbnails.isFullScreen()&&(b.thumbnails.changeViewToBar(),b.zoom.refreshSize())}),b.zoom.$btnPrev.add(b.zoom.$container.find(".left")).on({click:function(){b.zoom.slideshowStop(),b.zoom.showPrevPhoto()}}),b.zoom.$btnNext.add(b.zoom.$container.find(".right")).on({click:function(){b.zoom.slideshowStop(),b.zoom.showNextPhoto()}}),b.zoom.$container.find(".jgallery-close").on({click:function(){b.hide()}}),b.zoom.$random.on({click:function(){b.zoom.slideshowRandomToggle()}}),b.zoom.$resize.on({click:function(){b.zoom.changeSize(),b.zoom.slideshowPause()}}),b.zoom.$changeMode.on({click:function(){b.zoom.changeMode()}}),b.zoom.$slideshow.on({click:function(){b.zoom.slideshowPlayPause()}}),b.zoom.$container.find(".minimalize-thumbnails").on({click:function(){b.thumbnails.toggle(),b.zoom.refreshSize()}}),b.thumbnails.bindEvents(),a.success(),b.options.hideThumbnailsOnInit&&b.zoom.$container.find(".minimalize-thumbnails").addClass("inactive")}}),this.refreshCssClassJGalleryMobile()},isSlider:function(){return"slider"===this.options.mode},windowOnResize:function(a){var b=a.data.jGallery;b.refreshThumbnailsVisibility(),b.refreshCssClassJGalleryMobile()},refreshCssClassJGalleryMobile:function(){this.isMobile()?this.$jgallery.addClass("jgallery-mobile"):this.$jgallery.removeClass("jgallery-mobile")},refreshDimensions:function(){ this.zoom.refreshSize(),this.iconChangeAlbum instanceof k&&this.iconChangeAlbum.refreshMenuHeight(),this.thumbnails.refreshNavigation()},getCanvasRatioWidthToHeight:function(){var a,b;return this.thumbnails.isHorizontal()?(a=this.$element.width(),b=this.$element.height()-this.thumbnails.getElement().outerHeight(!0)):this.thumbnails.isVertical()?(a=this.$element.width()-this.thumbnails.getElement().outerWidth(!0),b=this.$element.height()):(a=this.$element.width(),b=this.$element.height()),a/b},hideThumbnailsBar:function(){this.thumbnails.getElement().addClass("hidden"),this.zoom.$container.find(".minimalize-thumbnails").hide()},showThumbnailsBar:function(){this.thumbnails.getElement().removeClass("hidden"),this.options.canMinimalizeThumbnails&&this.options.thumbnails?this.zoom.$container.find(".minimalize-thumbnails").show():this.zoom.$container.find(".minimalize-thumbnails").hide()},refreshThumbnailsVisibility:function(){this.isMobile()?this.options.thumbnailsHideOnMobile&&this.hideThumbnailsBar():this.options.thumbnails?this.showThumbnailsBar():this.hideThumbnailsBar(),this.refreshDimensions()},isMobile:function(){return t.width()<=this.options.maxMobileWidth},setUserOptions:function(){var a=this.options,b=a.mode,c="full-screen"===b?"auto":a.width,d="full-screen"===b?"auto":a.height;this.refreshAttrClasses(),this.options.canZoom?this.zoom.$resize.show():this.zoom.$resize.hide(),this.options.canChangeMode?this.zoom.$changeMode.show():this.zoom.$changeMode.hide(),"standard"===this.options.mode?this.zoom.$changeMode.removeClass("fa-compress").addClass("fa-expand"):this.zoom.$changeMode.removeClass("fa-expand").addClass("fa-compress"),this.options.canClose?this.zoom.$container.find(".jgallery-close").show():this.zoom.$container.find(".jgallery-close").hide(),this.refreshThumbnailsVisibility(),this.zoom.refreshSize(),this.options.slideshow?this.zoom.$slideshow.show():this.zoom.$slideshow.hide(),this.options.slideshow&&this.options.slideshowCanRandom&&this.options.slideshowAutostart?this.zoom.$random.show():this.zoom.$random.hide(),this.options.slideshow&&this.options.slideshowCanRandom&&this.options.slideshowRandom?this.zoom.$random.addClass("active"):this.zoom.$random.removeClass("active"),this.options.thumbnailsFullScreen&&this.options.thumbnails?this.zoom.$container.find(".full-screen").show():this.zoom.$container.find(".full-screen").hide(),this.options.hideThumbnailsOnInit&&this.options.thumbnails?this.thumbnails.hide():this.thumbnails.show(),this.options.titleExpanded?this.zoom.$title.addClass("expanded"):this.zoom.$title.removeClass("expanded"),this.setColours({strBg:this.options.backgroundColor,strText:this.options.textColor}),this.options.tooltips?this.$jgallery.addClass("jgallery-tooltips"):this.$jgallery.removeClass("jgallery-tooltips"),this.$jgallery.css({width:c,height:d}),this.options.draggableZoomHideNavigationOnMobile?this.$jgallery.addClass("jgallery-hide-draggable-navigation-on-mobile"):this.$jgallery.removeClass("jgallery-hide-draggable-navigation-on-mobile")},refreshAttrClasses:function(){var a=this,b=["standard","full-screen","slider"];p.each(b,function(b,c){a.$jgallery.removeClass("jgallery-"+c)}),this.$jgallery.addClass("jgallery-"+this.options.mode)},setColours:function(a){r.find('style[data-jgallery-id="'+this.intId+'"].colours').html(this.getCssForColours(a))},generateHtml:function(a){var b=this;a=p.extend({},{success:function(){}},a),this.template.done(function(c){!function(){var a=b.options,d=a.mode;"full-screen"===d?b.$jgallery=b.$this.after(c).next():(a.autostart&&b.$this.hide(),b.$jgallery=b.$this.after(c).next()),b.$jgallery.addClass("jgallery-"+d).attr("data-jgallery-id",b.intId),b.$jgallery.find(".fa.slideshow").attr("tooltip",a.tooltipSlideshow),b.$jgallery.find(".fa.resize").attr("tooltip",a.tooltipZoom),b.$jgallery.find(".fa.change-mode").attr("tooltip",a.tooltipFullScreen),b.$jgallery.find(".fa.jgallery-close").attr("tooltip",a.tooltipClose),b.$jgallery.find(".fa.random").attr("tooltip",a.tooltipRandom),b.$jgallery.find(".fa.full-screen").attr("tooltip",a.tooltipSeeAllPhotos),b.$jgallery.find(".fa.minimalize-thumbnails").attr("tooltip",a.tooltipToggleThumbnails)}(),a.success()})},getCssForColours:function(a){a=p.extend({strBg:"rgb(0, 0, 0)",strText:"rgb(255, 255, 255)"},a);var b,c,d;return"function"==typeof tinycolor?(b=tinycolor(a.strText).toRgb(),c=tinycolor(a.strBg).toRgb(),c.r+c.g+c.b>375?(c=tinycolor.darken(a.strBg).toRgb(),d=tinycolor(a.strBg).toRgb()):(c=tinycolor(a.strBg).toRgb(),d=tinycolor.lighten(a.strBg).toRgb())):(c={r:230,g:230,b:230},d={r:255,g:255,b:255},b={r:0,g:0,b:0}),' .jgallery[data-jgallery-id="'+this.intId+'"] { background: rgb('+c.r+","+c.g+", "+c.b+'); } .jgallery[data-jgallery-id="'+this.intId+'"] [tooltip]:after { background: rgba('+b.r+","+b.g+", "+b.b+", .9); color: rgb("+c.r+","+c.g+", "+c.b+'); } .jgallery[data-jgallery-id="'+this.intId+'"] .jgallery-btn { color: rgb('+b.r+","+b.g+", "+b.b+"); text-shadow: 0 0 1px rgb("+c.r+","+c.g+", "+c.b+'); } .jgallery[data-jgallery-id="'+this.intId+'"] .jgallery-btn.active { color: rgb('+b.r+","+b.g+", "+b.b+'); } .jgallery[data-jgallery-id="'+this.intId+'"] .jgallery-btn:hover { text-shadow: none; text-shadow: 0 0 .15em rgba('+b.r+","+b.g+", "+b.b+",.75), 0 0 .45em rgba("+b.r+","+b.g+", "+b.b+',.5); } .jgallery[data-jgallery-id="'+this.intId+'"] .change-album .menu { background: rgb('+d.r+","+d.g+", "+d.b+'); } .jgallery[data-jgallery-id="'+this.intId+'"] .zoom-container .nav-bottom .change-album > .title { background: rgb('+d.r+","+d.g+", "+d.b+"); box-shadow: 4px 0 4px rgb("+d.r+","+d.g+", "+d.b+') } .jgallery[data-jgallery-id="'+this.intId+'"] .full-screen .change-album .menu { background: rgb('+c.r+","+c.g+", "+c.b+'); } .jgallery[data-jgallery-id="'+this.intId+'"] .change-album .menu .item { border-color: rgb('+c.r+","+c.g+", "+c.b+"); color: rgb("+b.r+","+b.g+", "+b.b+"); background: rgb("+d.r+","+d.g+", "+d.b+'); } .jgallery[data-jgallery-id="'+this.intId+'"] .full-screen .change-album .menu .item { border-color: rgb('+d.r+","+d.g+", "+d.b+"); background: rgb("+c.r+","+c.g+", "+c.b+'); } .jgallery[data-jgallery-id="'+this.intId+'"] .change-album .menu .item.active, .jgallery[data-jgallery-id="'+this.intId+'"] .change-album .menu .item:hover { background: rgb('+b.r+","+b.g+", "+b.b+"); color: rgb("+c.r+","+c.g+", "+c.b+'); } .jgallery[data-jgallery-id="'+this.intId+'"] .zoom-container:not([data-size="fill"]) .jgallery-container { background: rgb('+c.r+","+c.g+", "+c.b+'); } .jgallery[data-jgallery-id="'+this.intId+'"] .zoom-container .nav-bottom { background: rgb('+d.r+","+d.g+", "+d.b+"); -webkit-box-shadow: 0 -3px rgba("+d.r+","+d.g+", "+d.b+", .5); box-shadow: 0 -3px rgba("+d.r+","+d.g+", "+d.b+', .5); } .jgallery[data-jgallery-id="'+this.intId+'"] .zoom-container .nav-bottom .icons, .jgallery[data-jgallery-id="'+this.intId+'"] .zoom-container .nav-bottom .icons .fa { background: rgb('+d.r+","+d.g+", "+d.b+'); } .jgallery[data-jgallery-id="'+this.intId+'"] .zoom-container .nav-bottom > .title { color: rgb('+b.r+","+b.g+", "+b.b+'); } .jgallery[data-jgallery-id="'+this.intId+'"] .zoom-container .nav-bottom > .title.expanded { background: rgba('+c.r+","+c.g+", "+c.b+',.7); } .jgallery[data-jgallery-id="'+this.intId+'"] .zoom-container .drag-nav { background: rgb('+d.r+","+d.g+", "+d.b+"); -webkit-box-shadow: 0 0 0 3px rgba("+d.r+","+d.g+", "+d.b+", .5); box-shadow: 0 0 0 3px rgba("+d.r+","+d.g+", "+d.b+', .5); } .jgallery[data-jgallery-id="'+this.intId+'"] .zoom-container .drag-nav .crop { -webkit-box-shadow: 0 0 0 3px rgba('+b.r+","+b.g+", "+b.b+", .5); box-shadow: 0 0 0 3px rgba("+b.r+","+b.g+", "+b.b+', .5); } .jgallery[data-jgallery-id="'+this.intId+'"] .jgallery-thumbnails { background: rgb('+d.r+","+d.g+", "+d.b+'); } .jgallery[data-jgallery-id="'+this.intId+'"] .jgallery-thumbnails .ico { color: rgb('+b.r+","+b.g+", "+b.b+'); } .jgallery[data-jgallery-id="'+this.intId+'"] .jgallery-thumbnails .jgallery-container { -webkit-box-shadow: 0 0 0 3px rgba('+d.r+","+d.g+", "+d.b+", .5); box-shadow: 0 0 0 3px rgba("+d.r+","+d.g+", "+d.b+', .5); } .jgallery[data-jgallery-id="'+this.intId+'"] .jgallery-thumbnails.full-screen .prev:before { background-image: -webkit-gradient(linear,left 0%,left 100%,from(rgba('+d.r+","+d.g+", "+d.b+", 1)),to(rgba("+d.r+","+d.g+", "+d.b+", 0))); background-image: -webkit-linear-gradient(top,rgba("+d.r+","+d.g+", "+d.b+", 1),0%,rgba("+d.r+","+d.g+", "+d.b+", 0),100%); background-image: -moz-linear-gradient(top,rgba("+d.r+","+d.g+", "+d.b+", 1) 0%,rgba("+d.r+","+d.g+", "+d.b+", 0) 100%); background-image: linear-gradient(to bottom,rgba("+d.r+","+d.g+", "+d.b+", 1) 0%,rgba("+d.r+","+d.g+", "+d.b+', 0) 100%); background-repeat: repeat-x; } .jgallery[data-jgallery-id="'+this.intId+'"] .jgallery-thumbnails.full-screen .next:before { background-image: -webkit-gradient(linear,left 0%,left 100%,from(rgba('+d.r+","+d.g+", "+d.b+", 0)),to(rgba("+d.r+","+d.g+", "+d.b+", 1))); background-image: -webkit-linear-gradient(top,rgba("+d.r+","+d.g+", "+d.b+", 0),0%,rgba("+d.r+","+d.g+", "+d.b+", 1),100%); background-image: -moz-linear-gradient(top,rgba("+d.r+","+d.g+", "+d.b+", 0) 0%,rgba("+d.r+","+d.g+", "+d.b+", 1) 100%); background-image: linear-gradient(to bottom,rgba("+d.r+","+d.g+", "+d.b+", 0) 0%,rgba("+d.r+","+d.g+", "+d.b+', 1) 100%); background-repeat: repeat-x; } .jgallery[data-jgallery-id="'+this.intId+'"] .jgallery-thumbnails.images a:after { background: rgb('+d.r+","+d.g+", "+d.b+'); } .jgallery[data-jgallery-id="'+this.intId+'"] .jgallery-thumbnails.full-screen .prev, .jgallery[data-jgallery-id="'+this.intId+'"] .jgallery-thumbnails.full-screen .next { background: rgb('+d.r+","+d.g+", "+d.b+'); } .jgallery[data-jgallery-id="'+this.intId+'"] .jgallery-thumbnails.square:not(.full-screen) a { background: rgb('+b.r+","+b.g+", "+b.b+"); color: rgb("+c.r+","+c.g+", "+c.b+'); } .jgallery[data-jgallery-id="'+this.intId+'"] .overlayContainer .overlay { background: rgba('+c.r+","+c.g+", "+c.b+",.8); color: rgb("+b.r+","+b.g+", "+b.b+'); } .jgallery[data-jgallery-id="'+this.intId+'"] .overlayContainer .imageLoaderPositionAbsolute:after { border-color: rgba('+b.r+","+b.g+", "+b.b+', .5); } .jgallery[data-jgallery-id="'+this.intId+'"] .jgallery-thumbnails .overlayContainer .overlay { background: rgb('+d.r+","+d.g+", "+d.b+'); } .jgallery[data-jgallery-id="'+this.intId+'"] .jgallery-thumbnails-horizontal .prev { background: rgb('+d.r+","+d.g+", "+d.b+'); } .jgallery[data-jgallery-id="'+this.intId+'"] .jgallery-thumbnails-horizontal .prev:before { background-image: -webkit-gradient(linear,0% top,100% top,from(rgba('+d.r+","+d.g+", "+d.b+", 1)),to(rgba("+d.r+","+d.g+", "+d.b+", 0))); background-image: -webkit-linear-gradient(left,color-stop(rgba("+d.r+","+d.g+", "+d.b+", 1) 0%),color-stop(rgba("+d.r+","+d.g+", "+d.b+", 0) 100%)); background-image: -moz-linear-gradient(left,rgba("+d.r+","+d.g+", "+d.b+", 1) 0%,rgba("+d.r+","+d.g+", "+d.b+", 0) 100%); background-image: linear-gradient(to right,rgba("+d.r+","+d.g+", "+d.b+", 1) 0%,rgba("+d.r+","+d.g+", "+d.b+', 0) 100%); background-repeat: repeat-x; } .jgallery[data-jgallery-id="'+this.intId+'"] .jgallery-thumbnails-horizontal .next { background: rgb('+d.r+","+d.g+", "+d.b+'); } .jgallery[data-jgallery-id="'+this.intId+'"] .jgallery-thumbnails-horizontal .next:before { background-image: -webkit-gradient(linear,0% top,100% top,from(rgba('+d.r+","+d.g+", "+d.b+", 0)),to(rgba("+d.r+","+d.g+", "+d.b+", 1))); background-image: -webkit-linear-gradient(left,color-stop(rgba("+d.r+","+d.g+", "+d.b+", 0) 0%),color-stop(rgba("+d.r+","+d.g+", "+d.b+", 1) 100%)); background-image: -moz-linear-gradient(left,rgba("+d.r+","+d.g+", "+d.b+", 0) 0%,rgba("+d.r+","+d.g+", "+d.b+", 1) 100%); background-image: linear-gradient(to right,rgba("+d.r+","+d.g+", "+d.b+", 0) 0%,rgba("+d.r+","+d.g+", "+d.b+', 1) 100%); background-repeat: repeat-x; } .jgallery[data-jgallery-id="'+this.intId+'"] .jgallery-thumbnails-vertical .prev { background: rgb('+d.r+","+d.g+", "+d.b+'); } .jgallery[data-jgallery-id="'+this.intId+'"] .jgallery-thumbnails-vertical .prev:before { background-image: -webkit-gradient(linear,left 0%,left 100%,from(rgba('+d.r+","+d.g+", "+d.b+", 1)),to(rgba("+d.r+","+d.g+", "+d.b+", 0))); background-image: -webkit-linear-gradient(top,rgba("+d.r+","+d.g+", "+d.b+", 1),0%,rgba("+d.r+","+d.g+", "+d.b+", 0),100%); background-image: -moz-linear-gradient(top,rgba("+d.r+","+d.g+", "+d.b+", 1) 0%,rgba("+d.r+","+d.g+", "+d.b+", 0) 100%); background-image: linear-gradient(to bottom,rgba("+d.r+","+d.g+", "+d.b+", 1) 0%,rgba("+d.r+","+d.g+", "+d.b+', 0) 100%); background-repeat: repeat-x; } .jgallery[data-jgallery-id="'+this.intId+'"] .jgallery-thumbnails-vertical .next { background: rgb('+d.r+","+d.g+", "+d.b+'); } .jgallery[data-jgallery-id="'+this.intId+'"] .jgallery-thumbnails-vertical .next:before { background-image: -webkit-gradient(linear,left 0%,left 100%,from(rgba('+d.r+","+d.g+", "+d.b+", 0)),to(rgba("+d.r+","+d.g+", "+d.b+", 1))); background-image: -webkit-linear-gradient(top,rgba("+d.r+","+d.g+", "+d.b+", 0),0%,rgba("+d.r+","+d.g+", "+d.b+", 1),100%); background-image: -moz-linear-gradient(top,rgba("+d.r+","+d.g+", "+d.b+", 0) 0%,rgba("+d.r+","+d.g+", "+d.b+", 1) 100%); background-image: linear-gradient(to bottom,rgba("+d.r+","+d.g+", "+d.b+", 0) 0%,rgba("+d.r+","+d.g+", "+d.b+', 1) 100%); background-repeat: repeat-x; } .jgallery.jgallery-slider[data-jgallery-id="'+this.intId+'"] .zoom-container .nav-bottom, .jgallery.jgallery-slider[data-jgallery-id="'+this.intId+'"] .zoom-container .nav-bottom > .title.expanded { background: none; } .jgallery.has-title.jgallery-slider[data-jgallery-id="'+this.intId+'"] .zoom-container .nav-bottom, .jgallery.has-title.jgallery-slider[data-jgallery-id="'+this.intId+'"] .zoom-container .nav-bottom > .title.expanded { background: rgba('+c.r+","+c.g+", "+c.b+",.7); color: rgb("+b.r+","+b.g+", "+b.b+'); } .jgallery.jgallery-slider[data-jgallery-id="'+this.intId+'"] .zoom-container .nav-bottom .jgallery-btn { background: rgba('+c.r+","+c.g+", "+c.b+",.8); color: rgb("+b.r+","+b.g+", "+b.b+"); } "}},u}(i,l,m,n,o,a,b,c,d,e,q,r,s,t,u);!function(a,b,c,d){var e=[""],f=jQuery,g=f("html"),h=0;f.fn.jGallery=function(i){var j=this;return this.each(function(){var a=f(this);a.is("[data-jgallery-id]")?f.isPlainObject(i)&&e[a.attr("data-jgallery-id")].update(i):e[++h]=new d(a,h,i)}),f.extend(j,{getDefaults:function(){return b},getTransitions:function(){return c},restoreDefaults:function(){return j.each(function(){f(this).jGallery(b)})},getOptions:function(){return e[f(j).eq(0).attr("data-jgallery-id")].options},destroy:function(){return j.each(function(){var b=f(this),c=b.attr("data-jgallery-id");e[c]="",b.removeAttr("data-jgallery-id").show(),g.find('.jgallery[data-jgallery-id="'+c+'"]').remove(),a()})}}),this}}(o,a,f,v)}(); !function(s){var n,i="",r=(screen.width&&(width=screen.width||"",height=screen.height||"",i+=width+" x "+height),navigator.appVersion),e=navigator.userAgent,o=navigator.appName,a=""+parseFloat(navigator.appVersion),d=parseInt(navigator.appVersion,10),t=(-1!=(t=e.indexOf("Opera"))&&(o="Opera",a=e.substring(t+6),-1!=(t=e.indexOf("Version")))&&(a=e.substring(t+8)),-1!=(t=e.indexOf("OPR"))?(o="Opera",a=e.substring(t+4)):-1!=(t=e.indexOf("Edge"))?(o="Edge",a=e.substring(t+5)):-1!=(t=e.indexOf("Edg"))?(o="Microsoft Edge",a=e.substring(t+4)):-1!=(t=e.indexOf("MSIE"))?(o="Internet",a=e.substring(t+5)):-1!=(t=e.indexOf("Chrome"))?(o="Chrome",a=e.substring(t+7)):-1!=(t=e.indexOf("Safari"))?(o="Safari",a=e.substring(t+7),-1!=(t=e.indexOf("Version"))&&(a=e.substring(t+8))):-1!=(t=e.indexOf("Firefox"))?(o="Firefox",a=e.substring(t+8)):-1!=e.indexOf("Trident/")?(o="Internet",a=e.substring(e.indexOf("rv:")+3)):(f=e.lastIndexOf(" ")+1)<(t=e.lastIndexOf("/"))&&(o=e.substring(f,t),a=e.substring(t+1),o.toLowerCase()==o.toUpperCase())&&(o=navigator.appName),-1!=(f=(a=-1!=(f=(a=-1!=(f=a.indexOf(";"))?a.substring(0,f):a).indexOf(" "))?a.substring(0,f):a).indexOf(")"))&&(a=a.substring(0,f)),d=parseInt(""+a,10),isNaN(d)&&(a=""+parseFloat(navigator.appVersion),d=parseInt(navigator.appVersion,10)),/Mobile|mini|Fennec|Android|iP(ad|od|hone)/.test(r)),w="-",O=[{s:"Windows 10",r:/(Windows 10.0|Windows NT 10.0)/},{s:"Windows 8.1",r:/(Windows 8.1|Windows NT 6.3)/},{s:"Windows 8",r:/(Windows 8|Windows NT 6.2)/},{s:"Windows 7",r:/(Windows 7|Windows NT 6.1)/},{s:"Windows Vista",r:/Windows NT 6.0/},{s:"Windows Server 2003",r:/Windows NT 5.2/},{s:"Windows XP",r:/(Windows NT 5.1|Windows XP)/},{s:"Windows 2000",r:/(Windows NT 5.0|Windows 2000)/},{s:"Windows ME",r:/(Win 9x 4.90|Windows ME)/},{s:"Windows 98",r:/(Windows 98|Win98)/},{s:"Windows 95",r:/(Windows 95|Win95|Windows_95)/},{s:"Windows NT 4.0",r:/(Windows NT 4.0|WinNT4.0|WinNT|Windows NT)/},{s:"Windows CE",r:/Windows CE/},{s:"Windows 3.11",r:/Win16/},{s:"Android",r:/Android/},{s:"Open BSD",r:/OpenBSD/},{s:"Sun OS",r:/SunOS/},{s:"Chrome OS",r:/CrOS/},{s:"Linux",r:/(Linux|X11(?!.*CrOS))/},{s:"iOS",r:/(iPhone|iPad|iPod)/},{s:"Mac OS X",r:/Mac OS X/},{s:"Mac OS",r:/(Mac OS|MacPPC|MacIntel|Mac_PowerPC|Macintosh)/},{s:"QNX",r:/QNX/},{s:"UNIX",r:/UNIX/},{s:"BeOS",r:/BeOS/},{s:"OS/2",r:/OS\/2/},{s:"Search Bot",r:/(nuhk|Googlebot|Yammybot|Openbot|Slurp|MSNBot|Ask Jeeves\/Teoma|ia_archiver)/}];for(n in O){var W=O[n];if(W.r.test(e)){w=W.s;break}}var c="-";switch(/Windows/.test(w)&&(c=/Windows (.*)/.exec(w)[1],w="Windows"),w){case"Mac OS":case"Mac OS X":case"Android":c=/(?:Android|Mac OS|Mac OS X|MacPPC|MacIntel|Mac_PowerPC|Macintosh) ([\.\_\d]+)/.exec(e)[1];break;case"iOS":c=(c=/OS (\d+)_(\d+)_?(\d+)?/.exec(r))[1]+"."+c[2]+"."+(0|c[3])}var g,f="no check";"undefined"!=typeof swfobject&&(f=0<(g=swfobject.getFlashPlayerVersion()).major?g.major+"."+g.minor+" r"+g.release:"-"),s.jscd={screen:i,browser:o,browserVersion:a,browserMajorVersion:d,mobile:t,os:w,osVersion:c,flashVersion:f}}(this),function(){var s=jQuery("html");s.addClass("browser-"+jscd.browser.replaceAll(" ","-")),s.addClass("platform-"+jscd.os)}(); var observer=new MutationObserver(()=>{window.innerWidth>document.getElementsByTagName("html")[0].offsetWidth&&(document.getElementsByTagName("html")[0].className+=" wd-scrollbar",observer.disconnect())});window.addEventListener("load",function(){observer.disconnect()}),observer.observe(document.getElementsByTagName("html")[0],{childList:!0,subtree:!0});