PageSourceSearch

https://www.dt-home.ru/wp-content/plugins/essential-premium-addons…/assets/js/widgets.min.js?ver=7.0.6

js dt-home.ru collected 2026-09-30 06:26:34 UTC 200,172 bytes, 1 lines download raw bytes

1!function(l,t,e,c){l.epa_accordion=function(e,o){var t={duration:200,delay:0,exclusive:!0,onOpen:function(){},onClose:function(){}},i=this,n=l(e),s=(e=e,n.children(".accordion-item"));i.init=function(){i.settings=l.extend({},t,o),a(),r()};var a=function(){l(s).each(function(){l(this).hasClass("active")&&l(this).children(".accordion-content").show(0)})},r=function(){l(s).find(".accordion-header").bind("click",function(t){l(this).parent(s).hasClass("active")?i.close(l(this).parent(s).index()):i.open(l(this).parent(s).index())})};i.open=function(t){l(s[t]).hasClass("active")||(i.settings.exclusive&&(l(s).find(".accordion-content").slideUp(i.settings.duration),l(s).removeClass("active")),l(s[t]).children(".accordion-content").delay(i.settings.delay).slideDown(i.settings.duration,function(){l(s[t]).addClass("active")}),o!==c&&i.callback("onOpen"))},i.setDuration=function(t){i.settings.duration=t},i.setExclusive=function(t){i.settings.exclusive=t},i.setDelay=function(t){i.settings.delay=t},i.close=function(t){l(s[t]).children(".accordion-content").delay(i.settings.delay).slideUp(i.settings.duration,function(){l(s[t]).removeClass("active")}),o!==c&&i.callback("onClose")},i.closeAll=function(){l(s).find(".accordion-content").slideUp(i.settings.duration),l(s).removeClass("active")},i.callback=function(t){o[t]!==c&&o[t].call(e)},i.init()},l.fn.epa_accordion=function(e){return this.each(function(){if(c==l(this).data("epa_accordion")){var t=new l.epa_accordion(this,e);l(this).data("epa_accordion",t)}})}}(jQuery,window,document),function(t){"use strict";var e=function(t,e){var o=t.find(".epa-tooltips-wrapper").eq(0),i=o.data("tooltip-id"),n=void 0!==o.data("tooltip-title")?o.data("tooltip-title"):"",s=void 0!==o.data("tooltip-content")?o.data("tooltip-content"):"",a=void 0!==o.data("tooltip-position")?o.data("tooltip-position"):"",r=void 0!==o.data("tooltip-speed")?o.data("tooltip-speed"):"",l=void 0!==o.data("tooltip-width")?o.data("tooltip-width"):"",c=void 0!==o.data("tooltip-title-bgcolor")?o.data("tooltip-title-bgcolor"):"",d=void 0!==o.data("tooltip-title-color")?o.data("tooltip-title-color"):"",h=void 0!==o.data("tooltip-color")?o.data("tooltip-color"):"",u=void 0!==o.data("tooltip-bgcolor")?o.data("tooltip-bgcolor"):"",p=void 0!==o.data("tooltip-size")?o.data("tooltip-size"):"",f=void 0!==o.data("tooltip-arrow")?o.data("tooltip-arrow"):"";jQuery("#tipso-"+i).tipso({titleContent:""+n,content:""+s,position:""+a,speed:r,showArrow:f,width:l,background:""+u,color:""+h,titleColor:""+d,titleBackground:""+c,size:""+p})},o=function(t,e){var o=t.find(".epa-opn-wrapper").eq(0),i=o.data("opnid"),n=void 0!==o.data("scroll-speed")?o.data("scroll-speed"):"";jQuery(document).ready(function(t){t("#opn-"+i+" #epa-opn-menu a").mPageScroll2id({highlightSelector:"#opn-"+i+" #epa-opn-menu a",scrollSpeed:n})})},i=function(t,e){jQuery(document).ready(function(){jQuery("#epa-scroll-notification").each(function(){jQuery(this).scrollNotify({opacity:jQuery(this).data("opacity"),imageWidth:jQuery(this).data("imagewidth"),width:jQuery(this).data("width"),height:jQuery(this).data("height"),background:jQuery(this).data("background"),color:jQuery(this).data("textcolor"),imageFloat:jQuery(this).data("imagefloat"),position:jQuery(this).data("position"),top:jQuery(this).data("positiontop"),right:jQuery(this).data("positionright"),bottom:jQuery(this).data("positionbottom"),left:jQuery(this).data("positionleft"),appearFrom:jQuery(this).data("from"),appearTo:jQuery(this).data("to"),easeIn:jQuery(this).data("easein"),easeOut:jQuery(this).data("easeout"),autohideDelay:jQuery(this).data("autohidedelay"),closeButton:jQuery(this).data("closebutton"),closePosition:jQuery(this).data("closeposition"),cookie:jQuery(this).data("cookie"),days:jQuery(this).data("days"),autohideDelay:jQuery(this).data("autohidedelay"),displayDefault:jQuery(this).data("displaybydefault"),initShow:jQuery(this).data("displaywhen")})})})},n=function(t,e){var o=t.find(".epa-filtergallery-wrapper").eq(0),n=o.data("id"),s=void 0!==o.data("layout_mode")?o.data("layout_mode"):"";jQuery(document).ready(function(i){var e=i(".epa-flgallery-wap"+n).isotope({itemSelector:".epa-filtergallery-item",layoutMode:s}),o={numberGreaterThan50:function(){var t=i(this).find(".number").text();return 50<parseInt(t,10)},ium:function(){return i(this).find(".name").text().match(/ium$/)}};i(".flbutgrp"+n).on("click","button",function(){var t=i(this).attr("data-filter");t=o[t]||t,e.isotope({filter:t})}),i(".flbutgrp"+n).each(function(t,e){var o=i(e);o.on("click","button",function(){o.find(".is-checked").removeClass("is-checked"),i(this).addClass("is-checked")})}),i('[data-fancybox="gallery'+n+'"]').fancybox({})})};t(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/epa_tooltip.default",e),elementorFrontend.hooks.addAction("frontend/element_ready/epa-onepagenavigation.default",o),elementorFrontend.hooks.addAction("frontend/element_ready/epa-scrollnotification.default",i),elementorFrontend.hooks.addAction("frontend/element_ready/epa-filtergalllery.default",n)})}(jQuery),function(t,o,n){"use strict";var s=function(t,e){var o=this;this.el=t,this.options={}
1,Object.keys(i).forEach(function(t){o.options[t]=i[t]}),Object.keys(e).forEach(function(t){o.options[t]=e[t]}),this.isInput="input"===this.el.tagName.toLowerCase(),this.attr=this.options.attr,this.showCursor=!this.isInput&&this.options.showCursor,this.elContent=this.attr?this.el.getAttribute(this.attr):this.el.textContent,this.contentType=this.options.contentType,this.typeSpeed=this.options.typeSpeed,this.startDelay=this.options.startDelay,this.backSpeed=this.options.backSpeed,this.backDelay=this.options.backDelay,n&&this.options.stringsElement instanceof n?this.stringsElement=this.options.stringsElement[0]:this.stringsElement=this.options.stringsElement,this.strings=this.options.strings,this.strPos=0,this.arrayPos=0,this.stopNum=0,this.loop=this.options.loop,this.loopCount=this.options.loopCount,this.curLoop=0,this.stop=!1,this.cursorChar=this.options.cursorChar,this.shuffle=this.options.shuffle,this.sequence=[],this.build()};s.prototype={constructor:s,init:function(){var e=this;e.timeout=setTimeout(function(){for(var t=0;t<e.strings.length;++t)e.sequence[t]=t;e.shuffle&&(e.sequence=e.shuffleArray(e.sequence)),e.typewrite(e.strings[e.sequence[e.arrayPos]],e.strPos)},e.startDelay)},build:function(){var e=this;(!0===this.showCursor&&(this.cursor=o.createElement("span"),this.cursor.className="typed-cursor",this.cursor.innerHTML=this.cursorChar,this.el.parentNode&&this.el.parentNode.insertBefore(this.cursor,this.el.nextSibling)),this.stringsElement)&&(this.strings=[],this.stringsElement.style.display="none",Array.prototype.slice.apply(this.stringsElement.children).forEach(function(t){e.strings.push(t.innerHTML)}));this.init()},typewrite:function(s,a){if(!0!==this.stop){var t=Math.round(70*Math.random())+this.typeSpeed,r=this;r.timeout=setTimeout(function(){var t=0,e=s.substr(a);if("^"===e.charAt(0)){var o=1;/^\^\d+/.test(e)&&(o+=(e=/\d+/.exec(e)[0]).length,t=parseInt(e)),s=s.substring(0,a)+s.substring(a+o)}if("html"===r.contentType){var i=s.substr(a).charAt(0);if("<"===i||"&"===i){var n;for(n="<"===i?">":";";s.substr(a+1).charAt(0)!==n&&(s.substr(a).charAt(0),!(++a+1>s.length)););a++,n}}r.timeout=setTimeout(function(){if(a===s.length){if(r.options.onStringTyped(r.arrayPos),r.arrayPos===r.strings.length-1&&(r.options.callback(),r.curLoop++,!1===r.loop||r.curLoop===r.loopCount))return;r.timeout=setTimeout(function(){r.backspace(s,a)},r.backDelay)}else{0===a&&r.options.preStringTyped(r.arrayPos);var t=s.substr(0,a+1);r.attr?r.el.setAttribute(r.attr,t):r.isInput?r.el.value=t:"html"===r.contentType?r.el.innerHTML=t:r.el.textContent=t,a++,r.typewrite(s,a)}},t)},t)}},backspace:function(e,o){if(!0!==this.stop){var t=Math.round(70*Math.random())+this.backSpeed,i=this;i.timeout=setTimeout(function(){if("html"===i.contentType&&">"===e.substr(o).charAt(0)){for(;"<"!==e.substr(o-1).charAt(0)&&(e.substr(o).charAt(0),!(--o<0)););o--,"<"}var t=e.substr(0,o);i.attr?i.el.setAttribute(i.attr,t):i.isInput?i.el.value=t:"html"===i.contentType?i.el.innerHTML=t:i.el.textContent=t,o>i.stopNum?(o--,i.backspace(e,o)):o<=i.stopNum&&(i.arrayPos++,i.arrayPos===i.strings.length?(i.arrayPos=0,i.shuffle&&(i.sequence=i.shuffleArray(i.sequence)),i.init()):i.typewrite(i.strings[i.sequence[i.arrayPos]],o))},t)}},shuffleArray:function(t){var e,o,i=t.length;if(i)for(;--i;)e=t[o=Math.floor(Math.random()*(i+1))],t[o]=t[i],t[i]=e;return t},reset:function(){clearInterval(this.timeout),this.el.getAttribute("id"),this.el.textContent="",void 0!==this.cursor&&void 0!==this.cursor.parentNode&&this.cursor.parentNode.removeChild(this.cursor),this.strPos=0,this.arrayPos=0,this.curLoop=0,this.options.resetCallback()}},s.new=function(t,i){Array.prototype.slice.apply(o.querySelectorAll(t)).forEach(function(t){var e=t._typed,o="object"==typeof i&&i;e&&e.reset(),t._typed=e=new s(t,o),"string"==typeof i&&e[i]()})},n&&(n.fn.typed=function(i){return this.each(function(){var t=n(this),e=t.data("typed"),o="object"==typeof i&&i;e&&e.reset(),t.data("typed",e=new s(this,o)),"string"==typeof i&&e[i]()})}),t.Typed=s;var i={strings:["These are the default values...","You know what you should do?","Use your own!","Have a great day!"],stringsElement:null,typeSpeed:0,startDelay:0,backSpeed:0,shuffle:!1,backDelay:500,loop:!1,loopCount:!1,showCursor:!0,cursorChar:"|",attr:null,contentType:"html",callback:function(){},preStringTyped:function(){},onStringTyped:function(){},resetCallback:function(){}}}(window,document,window.jQuery),function(i){"use strict";function e(t,e){this.element=i(t),this.settings=i.extend({},n,e),this._defaults=n,this._init()}var o="Morphext",n={animation:"bounceIn",separator:",",speed:2e3,complete:i.noop};e.prototype={_init:function(){var o=this;this.phrases=[],this.element.addClass("morphext"),i.each(this.element.text().split(this.settings.separator),function(t,e){o.phrases.push(i.trim(e))}),this.index=-1,this.animate(),this.start()},animate:function(){this.index=++this.index%this.phrases.length,this.element[0].innerHTML='<span class="animated '+this.settings.animation+'">'+this.phrases[this.index]+"</span>",i.isFunction(this.settings.complete)&&this.settings.complete.call(this)},start:function(){var t=this;this._interval=setInterval(function(){t.animate()},this.settings.speed)},stop:function(){this._interval=clearInterval(this._interval)}},i.fn[o]=function(t){return this.each(function(){i.data(this,"plugin_"+o)||i.data(this,"plugin_"+o,new e(this,t))})}}(jQuery),function(t){var e=function(t,d){d(".wfe-hot-spot-tooptip").each(function(){var t=d(this).data("tooltip-position-local"),e=d(this).data("tooltip-position-global"),o=d(this).data("tooltip-width"),i=d(this).data("tooltip-size"),n=d(this).data("tooltip-animation-in"),s=d(this).data("tooltip-animation-out"),a=d(this).data("tooltip-background"),r=
1d(this).data("tooltip-text-color"),l="yes"===d(this).data("tooltip-arrow"),c=t;void 0!==t&&"global"!==t||(c=e),void 0!==s&&s||(s=n),d(this).tipso({speed:200,delay:200,width:o,background:a,color:r,size:i,position:c,animationIn:n,animationOut:s,showArrow:l})})};t(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/wfe_image_hotspot.default",e)})}(jQuery),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?module.exports=t(require("jquery")):t(jQuery)}(function(d){var r="tipso",l={speed:100,background:"rgba(0,0,0,0.73)",titleBackground:"#333333",color:"#ffffff",titleColor:"#ffffff",titleContent:"",showArrow:"",position:"top",width:200,maxWidth:"",delay:50,hideDelay:50,animationIn:"",animationOut:"",offsetX:5,offsetY:5,arrowWidth:10,tooltipHover:!0,content:null,ajaxContentUrl:null,ajaxContentBuffer:0,contentElementId:null,useTitle:!1,templateEngineFunc:null,onBeforeShow:null,onShow:null,onHide:null};function n(t,e){this.element=t,this.$element=d(this.element),this.doc=d(document),this.win=d(window),this.settings=d.extend({},l,e),"object"==typeof this.$element.data("tipso")&&d.extend(this.settings,this.$element.data("tipso"));for(var o=Object.keys(this.$element.data()),i={},n=0;n<o.length;n++){var s=o[n].replace(r,"");if(""!==s)for(var a in i[s=s.charAt(0).toLowerCase()+s.slice(1)]=this.$element.data(o[n]),this.settings)a.toLowerCase()==s&&(this.settings[a]=i[s])}this._defaults=l,this._name=r,this._title=this.$element.attr("title"),this.mode="hide",this.ieFade=!c,this.settings.preferedPosition=this.settings.position,this.init()}function h(t){var e=t.clone();e.css("visibility","hidden"),d("body").append(e);var o=e.outerHeight(),i=e.outerWidth();return e.remove(),{width:i,height:o}}d.extend(n.prototype,{init:function(){var t=this,e=this.$element;this.doc;if(e.addClass("tipso_style").removeAttr("title"),t.settings.tooltipHover){var o=null,i=null;e.on("mouseover."+r,function(){clearTimeout(o),clearTimeout(i),i=setTimeout(function(){t.show()},150)}),e.on("mouseout."+r,function(){clearTimeout(o),clearTimeout(i),o=setTimeout(function(){t.hide()},200),t.tooltip().on("mouseover."+r,function(){t.mode="tooltipHover"}).on("mouseout."+r,function(){t.mode="show",clearTimeout(o),o=setTimeout(function(){t.hide()},200)})})}else e.on("mouseover."+r,function(){t.show()}),e.on("mouseout."+r,function(){t.hide()});t.settings.ajaxContentUrl&&(t.ajaxContent=null)},tooltip:function(){return this.tipso_bubble||(this.tipso_bubble=d('<div class="tipso_bubble"><div class="tipso_title"></div><div class="tipso_content"></div><div class="tipso_arrow"></div></div>')),this.tipso_bubble},show:function(){var t=this.tooltip(),e=this,o=this.win;!1===e.settings.showArrow?t.find(".tipso_arrow").hide():t.find(".tipso_arrow").show(),"hide"===e.mode&&(d.isFunction(e.settings.onBeforeShow)&&e.settings.onBeforeShow(e.$element,e.element,e),e.settings.size&&t.addClass(e.settings.size),e.settings.width?t.css({background:e.settings.background,color:e.settings.color,width:e.settings.width}).hide():e.settings.maxWidth?t.css({background:e.settings.background,color:e.settings.color,maxWidth:e.settings.maxWidth}).hide():t.css({background:e.settings.background,color:e.settings.color,width:200}).hide(),t.find(".tipso_title").css({background:e.settings.titleBackground,color:e.settings.titleColor}),t.find(".tipso_content").html(e.content()),t.find(".tipso_title").html(e.titleContent()),p(e),o.on("resize."+r,function(){e.settings.position=e.settings.preferedPosition,p(e)}),window.clearTimeout(e.timeout),e.timeout=null,e.timeout=window.setTimeout(function(){e.ieFade||""===e.settings.animationIn||""===e.settings.animationOut?t.appendTo("body").stop(!0,!0).fadeIn(e.settings.speed,function(){e.mode="show",d.isFunction(e.settings.onShow)&&e.settings.onShow(e.$element,e.element,e)}):t.remove().appendTo("body").stop(!0,!0).removeClass("animated "+e.settings.animationOut).addClass("noAnimation").removeClass("noAnimation").addClass("animated "+e.settings.animationIn).fadeIn(e.settings.speed,function(){d(this).one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",function(){d(this).removeClass("animated "+e.settings.animationIn)}),e.mode="show",d.isFunction(e.settings.onShow)&&e.settings.onShow(e.$element,e.element,e),o.off("resize."+r,null,"tipsoResizeHandler")})},e.settings.delay))},hide:function(t){var e=this,o=this.win,i=this.tooltip(),n=e.settings.hideDelay;t&&(n=0,e.mode="show"),window.clearTimeout(e.timeout),e.timeout=null,e.timeout=window.setTimeout(function(){"tooltipHover"!==e.mode&&(e.ieFade||""===e.settings.animationIn||""===e.settings.animationOut?i.stop(!0,!0).fadeOut(e.settings.speed,function(){d(this).remove(),d.isFunction(e.settings.onHide)&&"show"===e.mode&&e.settings.onHide(e.$element,e.element,e),e.mode="hide",o.off("resize."+r,null,"tipsoResizeHandler")}):i.stop(!0,!0).removeClass("animated "+e.settings.animationIn).addClass("noAnimation").removeClass("noAnimation").addClass("animated "+e.settings.animationOut).one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",function(){d(this).removeClass("animated "+e.settings.animationOut).remove(),d.isFunction(e.settings.onHide)&&"show"===e.mode&&e.settings.onHide(e.$element,e.element,e),e.mode="hide",o.off("resize."+r,null,"tipsoResizeHandler")}))},n)},close:function(){this.hide(!0)},destroy:function(){var t=this.$element,e=this.win;this.doc;t.off("."+r),e.off("resize."+r,null,"tipsoResizeHandler"),t.removeData(r),t.removeClass("tipso_style").attr("title",this._title)},titleContent:function(){var t=this.$element;return this.settings.titleContent?this.settings.titleContent:t.data("tipso-title")},content:function(){var t,e=this.$element,o=this,i=this._title;return o.settings.ajaxContentUrl?o._ajaxContent?t=o._ajaxContent:(o._ajaxContent=t=d.ajax({type:"GET",url:o.settings.ajaxContentUrl,async:!1}).responseText,0<o.settings.ajaxContentBuffer?setTimeout(function(){o._ajaxContent=null},o.settings.ajaxContentBuffer):o._ajaxContent=null):o.settings.contentElementId?t=d("#"+o.settings.contentElementId).text():o.settings.content?t=o.settings.content:!0===o.settings.useTitle?t=i:"string"==typeof e.data("tipso")&&(t=e.data("tipso")),null!==o.settings.templateEngineFunc&&(t=o.settings.templateEngineFunc(t)),t},update:function(t,e){if(!e)return this.settings[t];this.settings[t]=e}});var c=function(){var t=document.createElement("p").style,e=["ms","O","Moz","Webkit"];if(""===t.transition)return!0;for(;e.length;)if(e.pop()+"Transition"in t)return!0;return!1}();function u(t){t.removeClass("top_right_corner bottom_right_corner top_left_corner bottom_left_corner"),t.find(".tipso_title").removeClass("top_right_corner bottom_right_corner top_left_corner bottom_left_corner")}function p(t){var e,o,i,n=t.tooltip(),s=t.$element,a=t,r=d(window),l=a.settings.background,c=a.titleContent();
1switch(void 0!==c&&""!==c&&(l=a.settings.titleBackground),s.parent().outerWidth()>r.outerWidth()&&(r=s.parent()),a.settings.position){case"top-right":o=s.offset().left+s.outerWidth(),e=s.offset().top-h(n).height-10,n.find(".tipso_arrow").css({marginLeft:-a.settings.arrowWidth,marginTop:""}),e<r.scrollTop()?(e=s.offset().top+s.outerHeight()+10,n.find(".tipso_arrow").css({"border-bottom-color":l,"border-top-color":"transparent","border-left-color":"transparent","border-right-color":"transparent"}),u(n),n.addClass("bottom_right_corner"),n.find(".tipso_title").addClass("bottom_right_corner"),n.find(".tipso_arrow").css({"border-left-color":l}),n.removeClass("top-right top bottom left right"),n.addClass("bottom")):(n.find(".tipso_arrow").css({"border-top-color":a.settings.background,"border-bottom-color":"transparent ","border-left-color":"transparent","border-right-color":"transparent"}),u(n),n.addClass("top_right_corner"),n.find(".tipso_arrow").css({"border-left-color":a.settings.background}),n.removeClass("top bottom left right"),n.addClass("top"));break;case"top-left":o=s.offset().left-h(n).width,e=s.offset().top-h(n).height-10,n.find(".tipso_arrow").css({marginLeft:-a.settings.arrowWidth,marginTop:""}),e<r.scrollTop()?(e=s.offset().top+s.outerHeight()+10,n.find(".tipso_arrow").css({"border-bottom-color":l,"border-top-color":"transparent","border-left-color":"transparent","border-right-color":"transparent"}),u(n),n.addClass("bottom_left_corner"),n.find(".tipso_title").addClass("bottom_left_corner"),n.find(".tipso_arrow").css({"border-right-color":l}),n.removeClass("top-right top bottom left right"),n.addClass("bottom")):(n.find(".tipso_arrow").css({"border-top-color":a.settings.background,"border-bottom-color":"transparent ","border-left-color":"transparent","border-right-color":"transparent"}),u(n),n.addClass("top_left_corner"),n.find(".tipso_arrow").css({"border-right-color":a.settings.background}),n.removeClass("top bottom left right"),n.addClass("top"));break;case"bottom-right":o=s.offset().left+s.outerWidth(),e=s.offset().top+s.outerHeight()+10,n.find(".tipso_arrow").css({marginLeft:-a.settings.arrowWidth,marginTop:""}),e+h(n).height>r.scrollTop()+r.outerHeight()?(e=s.offset().top-h(n).height-10,n.find(".tipso_arrow").css({"border-bottom-color":"transparent","border-top-color":a.settings.background,"border-left-color":"transparent","border-right-color":"transparent"}),u(n),n.addClass("top_right_corner"),n.find(".tipso_title").addClass("top_left_corner"),n.find(".tipso_arrow").css({"border-left-color":a.settings.background}),n.removeClass("top-right top bottom left right"),n.addClass("top")):(n.find(".tipso_arrow").css({"border-top-color":"transparent","border-bottom-color":l,"border-left-color":"transparent","border-right-color":"transparent"}),u(n),n.addClass("bottom_right_corner"),n.find(".tipso_title").addClass("bottom_right_corner"),n.find(".tipso_arrow").css({"border-left-color":l}),n.removeClass("top bottom left right"),n.addClass("bottom"));break;case"bottom-left":o=s.offset().left-h(n).width,e=s.offset().top+s.outerHeight()+10,n.find(".tipso_arrow").css({marginLeft:-a.settings.arrowWidth,marginTop:""}),e+h(n).height>r.scrollTop()+r.outerHeight()?(e=s.offset().top-h(n).height-10,n.find(".tipso_arrow").css({"border-bottom-color":"transparent","border-top-color":a.settings.background,"border-left-color":"transparent","border-right-color":"transparent"}),u(n),n.addClass("top_left_corner"),n.find(".tipso_title").addClass("top_left_corner"),n.find(".tipso_arrow").css({"border-right-color":a.settings.background}),n.removeClass("top-right top bottom left right"),n.addClass("top")):(n.find(".tipso_arrow").css({"border-top-color":"transparent","border-bottom-color":l,"border-left-color":"transparent","border-right-color":"transparent"}),u(n),n.addClass("bottom_left_corner"),n.find(".tipso_title").addClass("bottom_left_corner"),n.find(".tipso_arrow").css({"border-right-color":l}),n.removeClass("top bottom left right"),n.addClass("bottom"));break;case"top":o=s.offset().left+s.outerWidth()/2-h(n).width/2,e=s.offset().top-h(n).height-10,n.find(".tipso_arrow").css({marginLeft:-a.settings.arrowWidth,marginTop:""}),e<r.scrollTop()?(e=s.offset().top+s.outerHeight()+10,n.find(".tipso_arrow").css({"border-bottom-color":l,"border-top-color":"transparent","border-left-color":"transparent","border-right-color":"transparent"}),n.removeClass("top bottom left right"),n.addClass("bottom")):(n.find(".tipso_arrow").css({"border-top-color":a.settings.background,"border-bottom-color":"transparent","border-left-color":"transparent","border-right-color":"transparent"}),n.removeClass("top bottom left right"),n.addClass("top"));break;case"bottom":o=s.offset().left+s.outerWidth()/2-h(n).width/2,e=s.offset().top+s.outerHeight()+10,n.find(".tipso_arrow").css({marginLeft:-a.settings.arrowWidth,marginTop:""}),e+h(n).height>r.scrollTop()+r.outerHeight()?(e=s.offset().top-h(n).height-10,n.find(".tipso_arrow").css({"border-top-color":a.settings.background,"border-bottom-color":"transparent","border-left-color":"transparent","border-right-color":"transparent"}),n.removeClass("top bottom left right"),n.addClass("top")):(n.find(".tipso_arrow").css({"border-bottom-color":l,"border-top-color":"transparent","border-left-color":"transparent","border-right-color":"transparent"}),n.removeClass("top bottom left right"),n.addClass(a.settings.position));break;case"left":o=s.offset().left-h(n).width-10,e=s.offset().top+s.outerHeight()/2-h(n).height/2,n.find(".tipso_arrow").css({marginTop:-a.settings.arrowWidth,marginLeft:""}),o<r.scrollLeft()?(o=s.offset().left+s.outerWidth()+10,n.find(".tipso_arrow").css({"border-right-color":a.settings.background,"border-left-color":"transparent","border-top-color":"transparent","border-bottom-color":"transparent"}),n.removeClass("top bottom left right"),n.addClass("right")):(n.find(".tipso_arrow").css({"border-left-color":a.settings.background,"border-right-color":"transparent","border-top-color":"transparent","border-bottom-color":"transparent"}),n.removeClass("top bottom left right"),n.addClass(a.settings.position));break;case"right":o=s.offset().left+s.outerWidth()+10,e=s.offset().top+s.outerHeight()/2-h(n).height/2,n.find(".tipso_arrow").css({marginTop:-a.settings.arrowWidth,marginLeft:""}),o+10+a.settings.width>r.scrollLeft()+r.outerWidth()?(o=s.offset().left-h(n).width-10,n.find(".tipso_arrow").css({"border-left-color":a.settings.background,"border-right-color":"transparent","border-top-color":"transparent","border-bottom-color":"transparent"}),n.removeClass("top bottom left right"),n.addClass("left")):(n.find(".tipso_arrow").css({"border-right-color":a.settings.background,"border-left-color":"transparent","border-top-color":"transparent","border-bottom-color":"transparent"}),n.removeClass("top bottom left right"),n.addClass(a.settings.position))}("top-right"===a.settings.position&&n.find(".tipso_arrow").css({"margin-left":-a.settings.width/2}),"top-left"===a.settings.position)&&n.find(".tipso_arrow").eq(0).css({"margin-left":a.settings.width/2-2*a.settings.arrowWidth});"bottom-right"===a.settings.position&&n.find(".tipso_arrow").eq(0).css({"margin-left":-a.settings.width/2,"margin-top":""});"bottom-left"===a.settings.position&&n.find(".tipso_arrow").eq(0).css({"margin-left":a.settings.width/2-2*a.settings.arrowWidth,"margin-top":""});o<r.scrollLeft()&&("bottom"===a.settings.position||"top"===a.settings.position)&&(n.find(".tipso_arrow").css({marginLeft:o-a.settings.arrowWidth}),o=0),o+a.settings.width>r.outerWidth()&&("bottom"===a.settings.position||"top"===a.settings.position)&&(i=r.outerWidth()-(o+a.settings.width),n.find(".tipso_arrow").css({marginLeft:-i-a.settings.arrowWidth,marginTop:""}),o+=i),o<r.scrollLeft()&&("left"===a.settings.position||"right"===a.settings.position||"top-right"===a.settings.position||"top-left"===a.settings.position||"bottom-right"===a.settings.position||"bottom-left"===a.settings.position)&&(o=s.offset().left+s.outerWidth()/2-h(n).width/2,n.find(".tipso_arrow").css({marginLeft:-a.settings.arrowWidth,marginTop:""}),(e=s.offset().top-h(n).height-10)<r.scrollTop()?(e=s.offset().top+s.outerHeight()+10,n.find(".tipso_arrow").css({"border-bottom-color":l,"border-top-color":"transparent","border-left-color":"transparent","border-right-color":"transparent"}),n.removeClass("top bottom left right"),u(n),n.addClass("bottom")):(n.find(".tipso_arrow").css({"border-top-color":a.settings.background,"border-bottom-color":"transparent","border-left-color":"transparent","border-right-color":"transparent"}),n.removeClass("top bottom left right"),u(n),n.addClass("top")),o+a.settings.width>r.outerWidth()&&(i=r.outerWidth()-(o+a.settings.width),n.find(".tipso_arrow").css({marginLeft:-i-a.settings.arrowWidth,marginTop:""}),o+=i),o<r.scrollLeft()&&(n.find(".tipso_arrow").css({marginLeft:o-a.settings.arrowWidth}),o=0)),o+a.settings.width>r.outerWidth()&&("left"===a.settings.position||"right"===a.settings.position||"top-right"===a.settings.position||"top-left"===a.settings.position||"bottom-right"===a.settings.position||"bottom-right"===a.settings.position)&&(o=s.offset().left+s.outerWidth()/2-h(n).width/2,n.find(".tipso_arrow").css({marginLeft:-a.settings.arrowWidth,marginTop:""}),(e=s.offset().top-h(n).height-10)<r.scrollTop()?(e=s.offset().top+s.outerHeight()+10,n.find(".tipso_arrow").css({"border-bottom-color":l,"border-top-color":"transparent","border-left-color":"transparent","border-right-color":"transparent"}),u(n),n.removeClass("top bottom left right"),n.addClass("bottom")):(n.find(".tipso_arrow").css({"border-top-color":a.settings.background,"border-bottom-color":"transparent","border-left-color":"transparent","border-right-color":"transparent"}),u(n),n.removeClass("top bottom left right"),n.addClass("top")),o+a.settings.width>r.outerWidth()&&(i=r.outerWidth()-(o+a.settings.width),n.find(".tipso_arrow").css({marginLeft:-i-a.settings.arrowWidth,marginTop:""}),o+=i),o<r.scrollLeft()&&(n.find(".tipso_arrow").css({marginLeft:o-a.settings.arrowWidth}),o=0)),n.css({left:o+a.settings.offsetX,top:e+a.settings.offsetY}),e<r.scrollTop()&&("right"===a.settings.position||"left"===a.settings.position)&&(s.tipso("update","position","bottom"),p(a)),e+h(n).height>r.scrollTop()+r.outerHeight()&&("right"===a.settings.position||"left"===a.settings.position)&&(s.tipso("update","position","top"),p(a))}d[r]=d.fn[r]=function(e){var o,i=arguments;return void 0===e||"object"==typeof e?(this instanceof d||d.extend(l,e),this.each(function(){d.data(this,"plugin_"+r)||d.data(this,"plugin_"+r,new n(this,e))})):"string"==typeof e&&"_"!==e[0]&&"init"!==e?(this.each(function(){var t=d.data(this,"plugin_"+r);t||(t=d.data(this,"plugin_"+r,new n(this,e))),t instanceof n&&"function"==typeof t[e]&&(o=t[e].apply(t,Array.prototype.slice.call(i,1))),"destroy"===e&&d.data(this,"plugin_"+r,null)}),void 0!==o?o:this):void 0}}),function(){var t,e,o;t=function(){function i(t,e){var o,i;if(this.options={target:"instafeed",get:"popular",resolution:"thumbnail",sortBy:"none",links:!0,mock:!1,useHttp:!1},"object"==typeof t)for(o in t)i=t[o],this.options[o]=i;this.context=null!=e?e:this,this.unique=this._genKey()}return i.prototype.hasNext=function(){return"string"==typeof this.context.nextUrl&&0<this.context.nextUrl.length},i.prototype.next=function(){return!!this.hasNext()&&this.run(this.context.nextUrl)},i.prototype.run=function(t){var e,o;if("string"!=typeof this.options.clientId&&"string"!=typeof this.options.accessToken)throw new Error("Missing clientId or accessToken.");if("string"!=typeof this.options.accessToken&&"string"!=typeof this.options.clientId)throw new Error("Missing clientId or accessToken.");return null!=this.options.before&&"function"==typeof this.options.before&&this.options.before.call(this),"undefined"!=typeof document&&null!==document&&((o=document.createElement("script")).id="instafeed-fetcher",o.src=t||this._buildUrl(),document.getElementsByTagName("head")[0].appendChild(o),e="instafeedCache"+this.unique,window[e]=new i(this.options,this),window[e].unique=this.unique),!0},i.prototype.parse=function(t){var e,o,i,n,s,a,r,l,c,d,h,u,p,f,g,m,y,v,w,b,x,z,C,S,T,_,I,W;if("object"!=typeof t){if(null!=this.options.error&&"function"==typeof this.options.error)return this.options.error.call(this,"Invalid JSON data"),!1;throw new Error("Invalid JSON response")}if(200!==t.meta.code){if(null!=this.options.error&&"function"==typeof this.options.error)return this.options.error.call(this,t.meta.error_message),!1;throw new Error("Error from Instagram: "+t.meta.error_message)}if(0===t.data.length){if(null!=this.options.error&&"function"==typeof this.options.error)return this.options.error.call(this,"No images were returned from Instagram"),!1;throw new Error("No images were returned from Instagram")}if(null!=this.options.success&&"function"==typeof this.options.success&&this.options.success.call(this,t),this.context.nextUrl="",null!=t.pagination&&(this.context.nextUrl=t.pagination.next_url),"none"!==this.options.sortBy)switch(T="least"===(_="random"===this.options.sortBy?["","random"]:this.options.sortBy.split("-"))[0],_[1]){case"random":t.data.sort(function(){return.5-Math.random()});break;
1case"recent":t.data=this._sortBy(t.data,"created_time",T);break;case"liked":t.data=this._sortBy(t.data,"likes.count",T);break;case"commented":t.data=this._sortBy(t.data,"comments.count",T);break;default:throw new Error("Invalid option for sortBy: '"+this.options.sortBy+"'.")}if("undefined"!=typeof document&&null!==document&&!1===this.options.mock){if(u=t.data,S=parseInt(this.options.limit,10),null!=this.options.limit&&u.length>S&&(u=u.slice(0,S)),a=document.createDocumentFragment(),null!=this.options.filter&&"function"==typeof this.options.filter&&(u=this._filter(u,this.options.filter)),null!=this.options.template&&"string"==typeof this.options.template){for(r="",W=document.createElement("div"),l=0,b=u.length;l<b;l++){if("object"!=typeof(d=(c=u[l]).images[this.options.resolution]))throw s="No image found for resolution: "+this.options.resolution+".",new Error(s);m=d.width,g="square",(f=d.height)<m&&(g="landscape"),m<f&&(g="portrait"),h=d.url,0<=window.location.protocol.indexOf("http")&&!this.options.useHttp&&(h=h.replace(/https?:\/\//,"//")),r+=this._makeTemplate(this.options.template,{model:c,id:c.id,link:c.link,type:c.type,image:h,width:m,height:f,orientation:g,caption:this._getObjectProperty(c,"caption.text"),likes:c.likes.count,comments:c.comments.count,location:this._getObjectProperty(c,"location.name")})}for(W.innerHTML=r,n=[],i=0,o=W.childNodes.length;i<o;)n.push(W.childNodes[i]),i+=1;for(v=0,x=n.length;v<x;v++)C=n[v],a.appendChild(C)}else for(w=0,z=u.length;w<z;w++){if(c=u[w],p=document.createElement("img"),"object"!=typeof(d=c.images[this.options.resolution]))throw s="No image found for resolution: "+this.options.resolution+".",new Error(s);h=d.url,0<=window.location.protocol.indexOf("http")&&!this.options.useHttp&&(h=h.replace(/https?:\/\//,"//")),p.src=h,!0===this.options.links?((e=document.createElement("a")).href=c.link,e.appendChild(p),a.appendChild(e)):a.appendChild(p)}if("string"==typeof(I=this.options.target)&&(I=document.getElementById(I)),null==I)throw s='No element with id="'+this.options.target+'" on page.',new Error(s);I.appendChild(a),document.getElementsByTagName("head")[0].removeChild(document.getElementById("instafeed-fetcher")),y="instafeedCache"+this.unique,window[y]=void 0;try{delete window[y]}catch(t){t}}return null!=this.options.after&&"function"==typeof this.options.after&&this.options.after.call(this),!0},i.prototype._buildUrl=function(){var t,e;switch("https://api.instagram.com/v1",this.options.get){case"popular":t="media/popular";break;case"tagged":if(!this.options.tagName)throw new Error("No tag name specified. Use the 'tagName' option.");t="tags/"+this.options.tagName+"/media/recent";break;case"location":if(!this.options.locationId)throw new Error("No location specified. Use the 'locationId' option.");t="locations/"+this.options.locationId+"/media/recent";break;case"user":if(!this.options.userId)throw new Error("No user specified. Use the 'userId' option.");t="users/"+this.options.userId+"/media/recent";break;default:throw new Error("Invalid option for get: '"+this.options.get+"'.")}return e="https://api.instagram.com/v1/"+t,null!=this.options.accessToken?e+="?access_token="+this.options.accessToken:e+="?client_id="+this.options.clientId,null!=this.options.limit&&(e+="&count="+this.options.limit),e+="&callback=instafeedCache"+this.unique+".parse"},i.prototype._genKey=function(){var t;return""+(t=function(){return(65536*(1+Math.random())|0).toString(16).substring(1)})()+t()+t()+t()},i.prototype._makeTemplate=function(t,e){var o,i,n,s,a;for(i=/(?:\{{2})([\w\[\]\.]+)(?:\}{2})/,o=t;i.test(o);)s=o.match(i)[1],a=null!=(n=this._getObjectProperty(e,s))?n:"",o=o.replace(i,function(){return""+a});return o},i.prototype._getObjectProperty=function(t,e){var o,i;for(i=(e=e.replace(/\[(\w+)\]/g,".$1")).split(".");i.length;){if(o=i.shift(),!(null!=t&&o in t))return null;t=t[o]}return t},i.prototype._sortBy=function(t,n,s){var e;return e=function(t,e){var o,i;return o=this._getObjectProperty(t,n),i=this._getObjectProperty(e,n),s?i<o?1:-1:o<i?1:-1},t.sort(e.bind(this)),t},i.prototype._filter=function(t,e){var o,i,n,s;for(o=[],i=function(t){if(e(t))return o.push(t)},n=0,s=t.length;n<s;n++)i(t[n]);return o},i}(),e=this,o=function(){return t},"function"==typeof define&&define.amd?define([],o):"object"==typeof module&&module.exports?module.exports=o():e.Instafeed=o()}.call(this),function(e,o){"use strict";"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(t){o(e,t)}):"object"==typeof module&&module.exports?module.exports=o(e,require("jquery")):e.jQueryBridget=o(e,e.jQuery)}(window,function(t,e){"use strict";function o(c,n,d){(d=d||e||t.jQuery)&&(n.prototype.option||(n.prototype.option=function(t){d.isPlainObject(t)&&(this.options=d.extend(!0,this.options,t))}),d.fn[c]=function(t){if("string"!=typeof t)return i=t,this.each(function(t,e){var o=d.data(e,c);o?(o.option(i),o._init()):(o=new n(e,i),d.data(e,c,o))}),this;
1var e,s,a,r,l,i,o=h.call(arguments,1);return a=o,l="$()."+c+'("'+(s=t)+'")',(e=this).each(function(t,e){var o=d.data(e,c);if(o){var i=o[s];if(i&&"_"!=s.charAt(0)){var n=i.apply(o,a);r=void 0===r?n:r}else u(l+" is not a valid method")}else u(c+" not initialized. Cannot call methods, i.e. "+l)}),void 0!==r?r:e},i(d))}function i(t){!t||t&&t.bridget||(t.bridget=o)}var h=Array.prototype.slice,n=t.console,u=void 0===n?function(){}:function(t){n.error(t)};return i(e||t.jQuery),o}),function(t,e){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var o=this._events=this._events||{},i=o[t]=o[t]||[];return-1==i.indexOf(e)&&i.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var o=this._onceEvents=this._onceEvents||{};return(o[t]=o[t]||{})[e]=!0,this}},e.off=function(t,e){var o=this._events&&this._events[t];if(o&&o.length){var i=o.indexOf(e);return-1!=i&&o.splice(i,1),this}},e.emitEvent=function(t,e){var o=this._events&&this._events[t];if(o&&o.length){var i=0,n=o[i];e=e||[];for(var s=this._onceEvents&&this._onceEvents[t];n;){var a=s&&s[n];a&&(this.off(t,n),delete s[n]),n.apply(this,e),n=o[i+=a?0:1]}return this}},t}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("get-size/get-size",[],function(){return e()}):"object"==typeof module&&module.exports?module.exports=e():t.getSize=e()}(window,function(){"use strict";function y(t){var e=parseFloat(t);return-1==t.indexOf("%")&&!isNaN(e)&&e}function v(t){var e=getComputedStyle(t);return e||o("Style returned "+e+". Are you running this code in a hidden iframe on Firefox? See http://bit.ly/getsizebug1"),e}function w(t){if(function(){if(!C){C=!0;var t=document.createElement("div");t.style.width="200px",t.style.padding="1px 2px 3px 4px",t.style.borderStyle="solid",t.style.borderWidth="1px 2px 3px 4px",t.style.boxSizing="border-box";var e=document.body||document.documentElement;e.appendChild(t);var o=v(t);w.isBoxSizeOuter=b=200==y(o.width),e.removeChild(t)}}(),"string"==typeof t&&(t=document.querySelector(t)),t&&"object"==typeof t&&t.nodeType){var e=v(t);if("none"==e.display)return function(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0;e<z;e++)t[x[e]]=0;return t}();var o={};o.width=t.offsetWidth,o.height=t.offsetHeight;for(var i=o.isBorderBox="border-box"==e.boxSizing,n=0;n<z;n++){var s=x[n],a=e[s],r=parseFloat(a);o[s]=isNaN(r)?0:r}var l=o.paddingLeft+o.paddingRight,c=o.paddingTop+o.paddingBottom,d=o.marginLeft+o.marginRight,h=o.marginTop+o.marginBottom,u=o.borderLeftWidth+o.borderRightWidth,p=o.borderTopWidth+o.borderBottomWidth,f=i&&b,g=y(e.width);!1!==g&&(o.width=g+(f?0:l+u));var m=y(e.height);return!1!==m&&(o.height=m+(f?0:c+p)),o.innerWidth=o.width-(l+u),o.innerHeight=o.height-(c+p),o.outerWidth=o.width+d,o.outerHeight=o.height+h,o}}var b,o="undefined"==typeof console?function(){}:function(t){console.error(t)},x=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],z=x.length,C=!1;return w}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("desandro-matches-selector/matches-selector",e):"object"==typeof module&&module.exports?module.exports=e():t.matchesSelector=e()}(window,function(){"use strict";var o=function(){var t=Element.prototype;if(t.matches)return"matches";if(t.matchesSelector)return"matchesSelector";for(var e=["webkit","moz","ms","o"],o=0;o<e.length;o++){var i=e[o]+"MatchesSelector";if(t[i])return i}}();return function(t,e){return t[o](e)}}),function(e,o){"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["de
1sandro-matches-selector/matches-selector"],function(t){return o(e,t)}):"object"==typeof module&&module.exports?module.exports=o(e,require("desandro-matches-selector")):e.fizzyUIUtils=o(e,e.matchesSelector)}(window,function(c,s){var d={extend:function(t,e){for(var o in e)t[o]=e[o];return t},modulo:function(t,e){return(t%e+e)%e},makeArray:function(t){var e=[];if(Array.isArray(t))e=t;else if(t&&"number"==typeof t.length)for(var o=0;o<t.length;o++)e.push(t[o]);else e.push(t);return e},removeFrom:function(t,e){var o=t.indexOf(e);-1!=o&&t.splice(o,1)},getParent:function(t,e){for(;t!=document.body;)if(t=t.parentNode,s(t,e))return t},getQueryElement:function(t){return"string"==typeof t?document.querySelector(t):t},handleEvent:function(t){var e="on"+t.type;this[e]&&this[e](t)},filterFindElements:function(t,i){t=d.makeArray(t);var n=[];return t.forEach(function(t){if(t instanceof HTMLElement){if(!i)return void n.push(t);s(t,i)&&n.push(t);for(var e=t.querySelectorAll(i),o=0;o<e.length;o++)n.push(e[o])}}),n},debounceMethod:function(t,e,i){var n=t.prototype[e],s=e+"Timeout";t.prototype[e]=function(){var t=this[s];t&&clearTimeout(t);var e=arguments,o=this;this[s]=setTimeout(function(){n.apply(o,e),delete o[s]},i||100)}},docReady:function(t){var e=document.readyState;"complete"==e||"interactive"==e?t():document.addEventListener("DOMContentLoaded",t)},toDashed:function(t){return t.replace(/(.)([A-Z])/g,function(t,e,o){return e+"-"+o}).toLowerCase()}},h=c.console;return d.htmlInit=function(r,l){d.docReady(function(){var t=d.toDashed(l),n="data-"+t,e=document.querySelectorAll("["+n+"]"),o=document.querySelectorAll(".js-"+t),i=d.makeArray(e).concat(d.makeArray(o)),s=n+"-options",a=c.jQuery;i.forEach(function(e){var t,o=e.getAttribute(n)||e.getAttribute(s);try{t=o&&JSON.parse(o)}catch(t){return void(h&&h.error("Error parsing "+n+" on "+e.className+": "+t))}var i=new r(e,t);a&&a.data(e,l,i)})})},d}),function(t,e){"function"==typeof define&&define.amd?define("outlayer/item",["ev-emitter/ev-emitter","get-size/get-size"],e):"object"==typeof module&&module.exports?module.exports=e(require("ev-emitter"),require("get-size")):(t.Outlayer={},t.Outlayer.Item=e(t.EvEmitter,t.getSize))}(window,function(t,e){"use strict";function o(t,e){t&&(this.element=t,this.layout=e,this.position={x:0,y:0},this._create())}var i=document.documentElement.style,n="string"==typeof i.transition?"transition":"WebkitTransition",s="string"==typeof i.transform?"transform":"WebkitTransform",a={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[n],r={transform:s,transition:n,transitionDuration:n+"Duration",transitionProperty:n+"Property",transitionDelay:n+"Delay"},l=o.prototype=Object.create(t.prototype);l.constructor=o,l._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},l.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},l.getSize=function(){this.size=e(this.element)},l.css=function(t){var e=this.element.style;for(var o in t){e[r[o]||o]=t[o]}},l.getPosition=function(){var t=getComputedStyle(this.element),e=this.layout._getOption("originLeft"),o=this.layout._getOption("originTop"),i=t[e?"left":"right"],n=t[o?"top":"bottom"],s=this.layout.size,a=-1!=i.indexOf("%")?parseFloat(i)/100*s.width:parseInt(i,10),r=-1!=n.indexOf("%")?parseFloat(n)/100*s.height:parseInt(n,10);a=isNaN(a)?0:a,r=isNaN(r)?0:r,a-=e?s.paddingLeft:s.paddingRight,r-=o?s.paddingTop:s.paddingBottom,this.position.x=a,this.position.y=r},l.layoutPosition=function(){var t=this.layout.size,e={},o=this.layout._getOption("originLeft"),i=this.layout._getOption("originTop"),n=o?"paddingLeft":"paddingRight",s=o?"left":"right",a=o?"right":"left",r=this.position.x+t[n];e[s]=this.getXValue(r),e[a]="";var l=i?"paddingTop":"paddingBottom",c=i?"top":"bottom",d=i?"bottom":"top",h=this.position.y+t[l];e[c]=this.getYValue(h),e[d]="",this.css(e),this.emitEvent("layout",[this])},l.getXValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&!e?t/this.layout.size.width*100+"%":t+"px"},l.getYValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&e?t/this.layout.size.height*100+"%":t+"px"},l._transitionTo=function(t,e){this.getPosition();var o=this.position.x,i=this.position.y,n=parseInt(t,10),s=parseInt(e,10),a=n===this.position.x&&s===this.position.y;if(this.setPosition(t,e),!a||this.isTransitioning){var r=t-o,l=e-i,c={};c.transform=this.getTranslate(r,l),this.transition({to:c,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})}else this.layoutPosition()},l.getTranslate=function(t,e){return"translate3d("+(t=this.layout._getOption("originLeft")?t:-t)+"px, "+(e=this.layout._getOption("originTop")?e:-e)+"px, 0)"},l.goTo=function(t,e){this.setPosition(t,e),this.layoutPosition()},l.moveTo=l._transitionTo,l.setPosition=function(t,e){this.position.x=parseInt(t,10),this.position.y=parseInt(e,10)},l._nonTransition=function(t){for(var e in this.css(t.to),t.isCleaning&&this._removeStyles(t.to),t.onTransitionEnd)t.onTransitionEnd[e].call(this)},l.transition=function(t){if(parseFloat(this.layout.options.transitionDuration)){var e=this._transn;for(var o in t.onTransitionEnd)e.onEnd[o]=t.onTransitionEnd[o];for(o in t.to)e.ingProperties[o]=!0,t.isCleaning&&(e.clean[o]=!0);if(t.from){this.css(t.from);this.element.offsetHeight;null}this.enableTransition(t.to),this.css(t.to),this.isTransitioning=!0}else this._nonTransition(t)};var c="opacity,"+s.replace(/([A-Z])/g,function(t){return"-"+t.toLowerCase()});l.enableTransition=function(){if(!this.isTransitioning){var t=this.layout.options.transitionDuration;t="number"==typeof t?t+"ms":t,this.css({transitionProperty:c,transitionDuration:t,transitionDelay:this.staggerDelay||0}),this.element.addEventListener(a,this,!1)}},l.onwebkitTransitionEnd=function(t){this.ontransitionend(t)},l.onotransitionend=function(t){this.ontransitionend(t)};var d={"-webkit-transform":"transform"};l.ontransitionend=function(t){if(t.target===this.element){var e=this._transn,o=d[t.propertyName]||t.propertyName;if(delete e.ingProperties[o],function(t){for(var e in t)return!1;return!0}(e.ingProperties)&&this.disableTransition(),o in e.clean&&(this.element.style[t.propertyName]="",delete e.clean[o]),o in e.onEnd)e.onEnd[o].call(this),delete e.onEnd[o];this.emitEvent("transitionEnd",[this])}},l.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(a,this,!1),this.isTransitioning=!1},l._removeStyles=function(t){var e={};for(var o in t)e[o]="";this.css(e)};var h={transitionProperty:"",transitionDuration:"",transitionDelay:""};return l.removeTransitionStyles=function(){this.css(h)},l.stagger=function(t){t=isNaN(t)?0:t,this.staggerDelay=t+"ms"},l.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},l.remove=function(){return n&&parseFloat(this.layout.options.transitionDuration)?(this.once("transitionEnd",function(){this.removeElem()}),void this.hide()):void this.removeElem()},l.reveal=function(){delete this.isHidden,this.css({display:""});var t=this.layout.options,e={};e[this.getHideRevealTransitionEndProperty("visibleStyle")]=this.onRevealTransitionEnd,this.transition({from:t.hiddenStyle,to:t.visibleStyle,isCleaning:!0,onTransitionEnd:e})},l.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},l.getHideRevealTransitionEndProperty=function(t){var e=this.layout.options[t];if(e.opacity)return"opacity";for(var o in e)return o},l.hide=function(){this.isHidden=!0,this.css({display:""});var t=this.layout.options,e={};e[this.getHideRevealTransitionEndProperty("hiddenStyle")]=this.onHideTransitionEnd,this.transition({from:t.visibleStyle,to:t.hiddenStyle,isCleaning:!0,onTransitionEnd:e})},l.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},l.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},o}),function(n,s){"use strict";"function"==typeof define&&define.amd?define("outlayer/outlayer",["ev-emitter/ev-emitter","get-size/get-size","fizzy-ui-utils/utils","./item"],function(t,e,o,i){return s(n,t,e,o,i)}):"object"==typeof module&&module.exports?module.exports=s(n,require("ev-emitter"),require("get-size"),require("fizzy-ui-utils"),require("./item")):n.Outlayer=s(n,n.EvEmitter,n.getSize,n.fizzyUIUtils,n.Outlayer.Item)}(window,function(t,e,n,s,i){"use strict";function a(t,e){var o=s.getQueryElement(t);if(o){this.element=o,c&&(this.$element=c(this.element)),this.options=s.extend({},this.constructor.defaults),this.option(e);var i=++d;this.element.outlayerGUID=i,(h[i]=this)._create(),this._getOption("initLayout")&&this.layout()}else l&&l.error("Bad element for "+this.constructor.namespace+": "+(o||t))}function r(t){function e(){t.apply(this,arguments)}return(e.prototype=Object.create(t.prototype)).constructor=e}var l=t.console,c=t.jQuery,o=function(){},d=0,h={};a.namespace="outlayer",a.Item=i,a.defaults={containerStyle:{position:"relative"},initLayout:!0,originLeft:!0,originTop:!0,resize:!0,resizeContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}};var u=a.prototype;s.extend(u,e.prototype),u.option=function(t){s.extend(this.options,t)},u._getOption=function(t){var e=this.constructor.compatOptions[t];return e&&void 0!==this.options[e]?this.options[e]:this.options[t]},a.compatOptions={initLayout:"isInitLayout",horizontal:"isHorizontal",layoutInstant:"isLayoutInstant",originLeft:"isOriginLeft",originTop:"isOriginTop",resize:"isResizeBound",resizeContainer:"isResizingContainer"},u._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),s.extend(this.element.style,this.options.containerStyle),this._getOption("resize")&&this.bindResize()},u.reloadItems=function(){this.items=this._itemize(this.element.children)},u._itemize=function(t){for(var e=this._filterFindItemElements(t),o=this.constructor.Item,i=[],n=0;n<e.length;n++){var s=new o(e[n],this);i.push(s)}return i},u._filterFindItemElements=function(t){return s.filterFindElements(t,this.options.itemSelector)},u.getItemElements=function(){return this.items.map(function(t){return t.element})},u.layout=function(){this._resetLayout(),this._manageStamps();var t=this._getOption("layoutInstant"),e=void 0!==t?t:!this._isLayoutInited;this.layoutItems(this.items,e),this._isLayoutInited=!0}
vendor: 5,098 bytes, line 1
1,u._init=u.layout,u._resetLayout=function(){this.getSize()},u.getSize=function(){this.size=n(this.element)},u._getMeasurement=function(t,e){var o,i=this.options[t];this[t]=i?("string"==typeof i?o=this.element.querySelector(i):i instanceof HTMLElement&&(o=i),o?n(o)[e]:i):0},u.layoutItems=function(t,e){t=this._getItemsForLayout(t),this._layoutItems(t,e),this._postLayout()},u._getItemsForLayout=function(t){return t.filter(function(t){return!t.isIgnored})},u._layoutItems=function(t,o){if(this._emitCompleteOnItems("layout",t),t&&t.length){var i=[];t.forEach(function(t){var e=this._getItemLayoutPosition(t);e.item=t,e.isInstant=o||t.isLayoutInstant,i.push(e)},this),this._processLayoutQueue(i)}},u._getItemLayoutPosition=function(){return{x:0,y:0}},u._processLayoutQueue=function(t){this.updateStagger(),t.forEach(function(t,e){this._positionItem(t.item,t.x,t.y,t.isInstant,e)},this)},u.updateStagger=function(){var t=this.options.stagger;return null==t?void(this.stagger=0):(this.stagger=function(t){if("number"==typeof t)return t;var e=t.match(/(^\d*\.?\d*)(\w*)/),o=e&&e[1],i=e&&e[2];return o.length?(o=parseFloat(o))*(p[i]||1):0}(t),this.stagger)},u._positionItem=function(t,e,o,i,n){i?t.goTo(e,o):(t.stagger(n*this.stagger),t.moveTo(e,o))},u._postLayout=function(){this.resizeContainer()},u.resizeContainer=function(){if(this._getOption("resizeContainer")){var t=this._getContainerSize();t&&(this._setContainerMeasure(t.width,!0),this._setContainerMeasure(t.height,!1))}},u._getContainerSize=o,u._setContainerMeasure=function(t,e){if(void 0!==t){var o=this.size;o.isBorderBox&&(t+=e?o.paddingLeft+o.paddingRight+o.borderLeftWidth+o.borderRightWidth:o.paddingBottom+o.paddingTop+o.borderTopWidth+o.borderBottomWidth),t=Math.max(t,0),this.element.style[e?"width":"height"]=t+"px"}},u._emitCompleteOnItems=function(e,t){function o(){n.dispatchEvent(e+"Complete",null,[t])}function i(){++a==s&&o()}var n=this,s=t.length;if(t&&s){var a=0;t.forEach(function(t){t.once(e,i)})}else o()},u.dispatchEvent=function(t,e,o){var i=e?[e].concat(o):o;if(this.emitEvent(t,i),c)if(this.$element=this.$element||c(this.element),e){var n=c.Event(e);n.type=t,this.$element.trigger(n,o)}else this.$element.trigger(t,o)},u.ignore=function(t){var e=this.getItem(t);e&&(e.isIgnored=!0)},u.unignore=function(t){var e=this.getItem(t);e&&delete e.isIgnored},u.stamp=function(t){(t=this._find(t))&&(this.stamps=this.stamps.concat(t),t.forEach(this.ignore,this))},u.unstamp=function(t){(t=this._find(t))&&t.forEach(function(t){s.removeFrom(this.stamps,t),this.unignore(t)},this)},u._find=function(t){return t?("string"==typeof t&&(t=this.element.querySelectorAll(t)),t=s.makeArray(t)):void 0},u._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},u._getBoundingRect=function(){var t=this.element.getBoundingClientRect(),e=this.size;this._boundingRect={left:t.left+e.paddingLeft+e.borderLeftWidth,top:t.top+e.paddingTop+e.borderTopWidth,right:t.right-(e.paddingRight+e.borderRightWidth),bottom:t.bottom-(e.paddingBottom+e.borderBottomWidth)}},u._manageStamp=o,u._getElementOffset=function(t){var e=t.getBoundingClientRect(),o=this._boundingRect,i=n(t);return{left:e.left-o.left-i.marginLeft,top:e.top-o.top-i.marginTop,right:o.right-e.right-i.marginRight,bottom:o.bottom-e.bottom-i.marginBottom}},u.handleEvent=s.handleEvent,u.bindResize=function(){t.addEventListener("resize",this),this.isResizeBound=!0},u.unbindResize=function(){t.removeEventListener("resize",this),this.isResizeBound=!1},u.onresize=function(){this.resize()},s.debounceMethod(a,"onresize",100),u.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},u.needsResizeLayout=function(){var t=n(this.element);return this.size&&t&&t.innerWidth!==this.size.innerWidth},u.addItems=function(t){var e=this._itemize(t);return e.length&&(this.items=this.items.concat(e)),e},u.appended=function(t){var e=this.addItems(t);e.length&&(this.layoutItems(e,!0),this.reveal(e))},u.prepended=function(t){var e=this._itemize(t);if(e.length){var o=this.items.slice(0);this.items=e.concat(o),this._resetLayout(),this._manageStamps(),this.layoutItems(e,!0),this.reveal(e),this.layoutItems(o)}},u.reveal=function(t){if(this._emitCompleteOnItems("reveal",t),t&&t.length){var o=this.updateStagger();t.forEach(function(t,e){t.stagger(e*o),t.reveal()})}},u.hide=function(t){if(this._emitCompleteOnItems("hide",t),t&&t.length){var o=this.updateStagger();t.forEach(function(t,e){t.stagger(e*o),t.hide()})}},u.revealItemElements=function(t){var e=this.getItems(t);this.reveal(e)},u.hideItemElements=function(t){var e=this.getItems(t);this.hide(e)},u.getItem=function(t){for(var e=0;e<this.items.length;e++){var o=this.items[e];if(o.element==t)return o}},u.getItems=function(t){t=s.makeArray(t);var o=[];return t.forEach(function(t){var e=this.getItem(t);e&&o.push(e)},this),o},u.remove=function(t){var e=this.getItems(t);this._emitCompleteOnItems("remove",e),e&&e.length&&e.forEach(function(t){t.remove(),s.removeFrom(this.items,t)},this)},u.destroy=function(){var t=this.element.style;
vendor: 14,242 bytes, line 1
1t.height="",t.position="",t.width="",this.items.forEach(function(t){t.destroy()}),this.unbindResize();var e=this.element.outlayerGUID;delete h[e],delete this.element.outlayerGUID,c&&c.removeData(this.element,this.constructor.namespace)},a.data=function(t){var e=(t=s.getQueryElement(t))&&t.outlayerGUID;return e&&h[e]},a.create=function(t,e){var o=r(a);return o.defaults=s.extend({},a.defaults),s.extend(o.defaults,e),o.compatOptions=s.extend({},a.compatOptions),o.namespace=t,o.data=a.data,o.Item=r(i),s.htmlInit(o,t),c&&c.bridget&&c.bridget(t,o),o};var p={ms:1,s:1e3};return a.Item=i,a}),function(t,e){"function"==typeof define&&define.amd?define("isotope/js/item",["outlayer/outlayer"],e):"object"==typeof module&&module.exports?module.exports=e(require("outlayer")):(t.Isotope=t.Isotope||{},t.Isotope.Item=e(t.Outlayer))}(window,function(t){"use strict";function e(){t.Item.apply(this,arguments)}var o=e.prototype=Object.create(t.Item.prototype),i=o._create;o._create=function(){this.id=this.layout.itemGUID++,i.call(this),this.sortData={}},o.updateSortData=function(){if(!this.isIgnored){this.sortData.id=this.id,this.sortData["original-order"]=this.id,this.sortData.random=Math.random();var t=this.layout.options.getSortData,e=this.layout._sorters;for(var o in t){var i=e[o];this.sortData[o]=i(this.element,this)}}};var n=o.destroy;return o.destroy=function(){n.apply(this,arguments),this.css({display:""})},e}),function(t,e){"function"==typeof define&&define.amd?define("isotope/js/layout-mode",["get-size/get-size","outlayer/outlayer"],e):"object"==typeof module&&module.exports?module.exports=e(require("get-size"),require("outlayer")):(t.Isotope=t.Isotope||{},t.Isotope.LayoutMode=e(t.getSize,t.Outlayer))}(window,function(e,o){"use strict";function i(t){(this.isotope=t)&&(this.options=t.options[this.namespace],this.element=t.element,this.items=t.filteredItems,this.size=t.size)}var n=i.prototype;return["_resetLayout","_getItemLayoutPosition","_manageStamp","_getContainerSize","_getElementOffset","needsResizeLayout","_getOption"].forEach(function(t){n[t]=function(){return o.prototype[t].apply(this.isotope,arguments)}}),n.needsVerticalResizeLayout=function(){var t=e(this.isotope.element);return this.isotope.size&&t&&t.innerHeight!=this.isotope.size.innerHeight},n._getMeasurement=function(){this.isotope._getMeasurement.apply(this,arguments)},n.getColumnWidth=function(){this.getSegmentSize("column","Width")},n.getRowHeight=function(){this.getSegmentSize("row","Height")},n.getSegmentSize=function(t,e){var o=t+e,i="outer"+e;if(this._getMeasurement(o,i),!this[o]){var n=this.getFirstItemSize();this[o]=n&&n[i]||this.isotope.size["inner"+e]}},n.getFirstItemSize=function(){var t=this.isotope.filteredItems[0];return t&&t.element&&e(t.element)},n.layout=function(){this.isotope.layout.apply(this.isotope,arguments)},n.getSize=function(){this.isotope.getSize(),this.size=this.isotope.size},i.modes={},i.create=function(t,e){function o(){i.apply(this,arguments)}return(o.prototype=Object.create(n)).constructor=o,e&&(o.options=e),i.modes[o.prototype.namespace=t]=o},i}),function(t,e){"function"==typeof define&&define.amd?define("masonry/masonry",["outlayer/outlayer","get-size/get-size"],e):"object"==typeof module&&module.exports?module.exports=e(require("outlayer"),require("get-size")):t.Masonry=e(t.Outlayer,t.getSize)}(window,function(t,c){var e=t.create("masonry");return e.compatOptions.fitWidth="isFitWidth",e.prototype._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns(),this.colYs=[];for(var t=0;t<this.cols;t++)this.colYs.push(0);this.maxY=0},e.prototype.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){var t=this.items[0],e=t&&t.element;this.columnWidth=e&&c(e).outerWidth||this.containerWidth}var o=this.columnWidth+=this.gutter,i=this.containerWidth+this.gutter,n=i/o,s=o-i%o;n=Math[s&&s<1?"round":"floor"](n),this.cols=Math.max(n,1)},e.prototype.getContainerWidth=function(){var t=this._getOption("fitWidth")?this.element.parentNode:this.element,e=c(t);this.containerWidth=e&&e.innerWidth},e.prototype._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth%this.columnWidth,o=Math[e&&e<1?"round":"ceil"](t.size.outerWidth/this.columnWidth);o=Math.min(o,this.cols);for(var i=this._getColGroup(o),n=Math.min.apply(Math,i),s=i.indexOf(n),a={x:this.columnWidth*s,y:n},r=n+t.size.outerHeight,l=this.cols+1-i.length,c=0;c<l;c++)this.colYs[s+c]=r;return a},e.prototype._getColGroup=function(t){if(t<2)return this.colYs;for(var e=[],o=this.cols+1-t,i=0;i<o;i++){var n=this.colYs.slice(i,i+t);e[i]=Math.max.apply(Math,n)}return e},e.prototype._manageStamp=function(t){var e=c(t),o=this._getElementOffset(t),i=this._getOption("originLeft")?o.left:o.right,n=i+e.outerWidth,s=Math.floor(i/this.columnWidth);s=Math.max(0,s);var a=Math.floor(n/this.columnWidth);a-=n%this.columnWidth?0:1,a=Math.min(this.cols-1,a);for(var r=(this._getOption("originTop")?o.top:o.bottom)+e.outerHeight,l=s;l<=a;l++)this.colYs[l]=Math.max(r,this.colYs[l])},e.prototype._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var t={height:this.maxY};return this._getOption("fitWidth")&&(t.width=this._getContainerFitWidth()),t},e.prototype._getContainerFitWidth=function(){for(var t=0,e=this.cols;--e&&0===this.colYs[e];)t++;return(this.cols-t)*this.columnWidth-this.gutter},e.prototype.needsResizeLayout=function(){var t=this.containerWidth;return this.getContainerWidth(),t!=this.containerWidth},e}),function(t,e){"function"==typeof define&&define.amd?define("isotope/js/layout-modes/masonry",["../layout-mode","masonry/masonry"],e):"object"==typeof module&&module.exports?module.exports=e(require("../layout-mode"),require("masonry-layout")):e(t.Isotope.LayoutMode,t.Masonry)}(window,function(t,e){"use strict";var o=t.create("masonry"),i=o.prototype,n={_getElementOffset:!0,layout:!0,_getMeasurement:!0};for(var s in e.prototype)n[s]||(i[s]=e.prototype[s]);var a=i.measureColumns;i.measureColumns=function(){this.items=this.isotope.filteredItems,a.call(this)};var r=i._getOption;return i._getOption=function(t){return"fitWidth"==t?void 0!==this.options.isFitWidth?this.options.isFitWidth:this.options.fitWidth:r.apply(this.isotope,arguments)},o}),function(t,e){"function"==typeof define&&define.amd?define("isotope/js/layout-modes/fit-rows",["../layout-mode"],e):"object"==typeof exports?module.exports=e(require("../layout-mode")):e(t.Isotope.LayoutMode)}(window,function(t){"use strict";var e=t.create("fitRows"),o=e.prototype;return o._resetLayout=function(){this.x=0,this.y=0,this.maxY=0,this._getMeasurement("gutter","outerWidth")},o._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth+this.gutter,o=this.isotope.size.innerWidth+this.gutter;0!==this.x&&e+this.x>o&&(this.x=0,this.y=this.maxY);var i={x:this.x,y:this.y};return this.maxY=Math.max(this.maxY,this.y+t.size.outerHeight),this.x+=e,i},o._getContainerSize=function(){return{height:this.maxY}},e}),function(t,e){"function"==typeof define&&define.amd?define("isotope/js/layout-modes/vertical",["../layout-mode"],e):"object"==typeof module&&module.exports?module.exports=e(require("../layout-mode")):e(t.Isotope.LayoutMode)}(window,function(t){"use strict";var e=t.create("vertical",{horizontalAlignment:0}),o=e.prototype;return o._resetLayout=function(){this.y=0},o._getItemLayoutPosition=function(t){t.getSize();var e=(this.isotope.size.innerWidth-t.size.outerWidth)*this.options.horizontalAlignment,o=this.y;return this.y+=t.size.outerHeight,{x:e,y:o}},o._getContainerSize=function(){return{height:this.y}},e}),function(a,r){"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size","desandro-matches-selector/matches-selector","fizzy-ui-utils/utils","isotope/js/item","isotope/js/layout-mode","isotope/js/layout-modes/masonry","isotope/js/layout-modes/fit-rows","isotope/js/layout-modes/vertical"],function(t,e,o,i,n,s){return r(a,t,e,o,i,n,s)}):"object"==typeof module&&module.exports?module.exports=r(a,require("outlayer"),require("get-size"),require("desandro-matches-selector"),require("fizzy-ui-utils"),require("isotope/js/item"),require("isotope/js/layout-mode"),require("isotope/js/layout-modes/masonry"),require("isotope/js/layout-modes/fit-rows"),require("isotope/js/layout-modes/vertical")):a.Isotope=r(a,a.Outlayer,a.getSize,a.matchesSelector,a.fizzyUIUtils,a.Isotope.Item,a.Isotope.LayoutMode)}(window,function(t,o,e,i,s,n,a){var r=t.jQuery,c=String.prototype.trim?function(t){return t.trim()}:function(t){return t.replace(/^\s+|\s+$/g,"")},d=o.create("isotope",{layoutMode:"masonry",isJQueryFiltering:!0,sortAscending:!0});d.Item=n,d.LayoutMode=a;var l=d.prototype;l._create=function(){for(var t in this.itemGUID=0,this._sorters={},this._getSorters(),o.prototype._create.call(this),this.modes={},this.filteredItems=this.items,this.sortHistory=["original-order"],a.modes)this._initLayoutMode(t)},l.reloadItems=function(){this.itemGUID=0,o.prototype.reloadItems.call(this)},l._itemize=function(){for(var t=o.prototype._itemize.apply(this,arguments),e=0;e<t.length;e++){t[e].id=this.itemGUID++}return this._updateItemsSortData(t),t},l._initLayoutMode=function(t){var e=a.modes[t],o=this.options[t]||{};this.options[t]=e.options?s.extend(e.options,o):o,this.modes[t]=new e(this)},l.layout=function(){return!this._isLayoutInited&&this._getOption("initLayout")?void this.arrange():void this._layout()},l._layout=function(){var t=this._getIsInstant();this._resetLayout(),this._manageStamps(),this.layoutItems(this.filteredItems,t),this._isLayoutInited=!0},l.arrange=function(t){this.option(t),this._getIsInstant();var e=this._filter(this.items);this.filteredItems=e.matches,this._bindArrangeComplete(),this._isInstant?this._noTransition(this._hideReveal,[e]):this._hideReveal(e),this._sort(),this._layout()},l._init=l.arrange,l._hideReveal=function(t){this.reveal(t.needReveal),this.hide(t.needHide)},l._getIsInstant=function(){var t=this._getOption("layoutInstant"),e=void 0!==t?t:!this._isLayoutInited;return this._isInstant=e},l._bindArrangeComplete=function(){function t(){e&&o&&i&&n.dispatchEvent("arrangeComplete",null,[n.filteredItems])}var e,o,i,n=this;this.once("layoutComplete",function(){e=!0,t()}),this.once("hideComplete",function(){o=!0,t()}),this.once("revealComplete",function(){i=!0,t()})},l._filter=function(t){var e=this.options.filter;e=e||"*";for(var o=[],i=[],n=[],s=this._getFilterTest(e),a=0;a<t.length;a++){var r=t[a];if(!r.isIgnored){var l=s(r);l&&o.push(r),l&&r.isHidden?i.push(r):l||r.isHidden||n.push(r)}}return{matches:o,needReveal:i,needHide:n}},l._getFilterTest=function(e){return r&&this.options.isJQueryFiltering?function(t){return r(t.element).is(e)}:"function"==typeof e?function(t){return e(t.element)}:function(t){return i(t.element,e)}},l.updateSortData=function(t){var e;e=t?(t=s.makeArray(t),this.getItems(t)):this.items,this._getSorters(),this._updateItemsSortData(e)},l._getSorters=function(){var t=this.options.getSortData;for(var e in t){var o=t[e];this._sorters[e]=h(o)}},l._updateItemsSortData=function(t){for(var e=t&&t.length,o=0;e&&o<e;o++){t[o].updateSortData()}};var h=function(t){if("string"!=typeof t)return t;var e,o,i=c(t).split(" "),n=i[0],s=n.match(/^\[(.+)\]$/),a=s&&s[1],r=(o=n,(e=a)?function(t){return t.getAttribute(e)}:function(t){var e=t.querySelector(o);return e&&e.textContent}),l=d.sortDataParsers[i[1]];return l?function(t){return t&&l(r(t))}:function(t){return t&&r(t)}};d.sortDataParsers={parseInt:function(t){return parseInt(t,10)},parseFloat:function(t){return parseFloat(t)}},l._sort=function(){var a,r,t=this.options.sortBy;if(t){var e=[].concat.apply(t,this.sortHistory),o=(a=e,r=this.options.sortAscending,function(t,e){for(var o=0;o<a.length;o++){var i=a[o],n=t.sortData[i],s=e.sortData[i];if(s<n||n<s)return(s<n?1:-1)*((void 0!==r[i]?r[i]:r)?1:-1)}return 0});this.filteredItems.sort(o),t!=this.sortHistory[0]&&this.sortHistory.unshift(t)}},l._mode=function(){var t=this.options.layoutMode,e=this.modes[t];if(!e)throw new Error("No layout mode: "+t);return e.options=this.options[t],e},l._resetLayout=function(){o.prototype._resetLayout.call(this),this._mode()._resetLayout()},l._getItemLayoutPosition=function(t){return this._mode()._getItemLayoutPosition(t)},l._manageStamp=function(t){this._mode()._manageStamp(t)},l._getContainerSize=function(){return this._mode()._getContainerSize()},l.needsResizeLayout=function(){return this._mode().needsResizeLayout()},l.appended=function(t){var e=this.addItems(t);if(e.length){var o=this._filterRevealAdded(e);this.filteredItems=this.filteredItems.concat(o)}},l.prepended=function(t){var e=this._itemize(t);if(e.length){this._resetLayout(),this._manageStamps();var o=this._filterRevealAdded(e);this.layoutItems(this.filteredItems),this.filteredItems=o.concat(this.filteredItems),this.items=e.concat(this.items)}},l._filterRevealAdded=function(t){var e=this._filter(t);return this.hide(e.needHide),this.reveal(e.matches),this.layoutItems(e.matches,!0),e.matches},l.insert=function(t){var e=this.addItems(t);if(e.length){var o,i,n=e.length;for(o=0;o<n;o++)i=e[o],this.element.appendChild(i.element);var s=this._filter(e).matches;for(o=0;o<n;o++)e[o].isLayoutInstant=!0;for(this.arrange(),o=0;o<n;o++)delete e[o].isLayoutInstant;this.reveal(s)}};var u=l.remove;return l.remove=function(t){t=s.makeArray(t);var e=this.getItems(t);u.call(this,t);for(var o=e&&e.length,i=0;o&&i<o;i++){var n=e[i];s.removeFrom(this.filteredItems,n)}},l.shuffle=function(){for(var t=0;t<this.items.length;t++){this.items[t].sortData.random=Math.random()}this.options.sortBy="random",this._sort(),this._layout()},l._noTransition=function(t,e){var o=this.options.transitionDuration;this.options.transitionDuration=0;var i=t.apply(this,e);return this.options.transitionDuration=o,i},l.getFilteredItemElements=function(){return this.filteredItems.map(function(t){return t.element})},d}),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?module.exports=t(require("jquery")):t(jQuery)}(function(f){var i=/\+/g;function g(t){return y.raw?t:encodeURIComponent(t)}function m(t,e){var o=y.raw?t:function(t){0===t.indexOf('"')&&(t=t.
1slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return t=decodeURIComponent(t.replace(i," ")),y.json?JSON.parse(t):t}catch(t){}}(t);return f.isFunction(e)?e(o):o}var y=f.cookie=function(t,e,o){if(1<arguments.length&&!f.isFunction(e)){if("number"==typeof(o=f.extend({},y.defaults,o)).expires){var i=o.expires,n=o.expires=new Date;n.setMilliseconds(n.getMilliseconds()+864e5*i)}return document.cookie=[g(t),"=",(s=e,g(y.json?JSON.stringify(s):String(s))),o.expires?"; expires="+o.expires.toUTCString():"",o.path?"; path="+o.path:"",o.domain?"; domain="+o.domain:"",o.secure?"; secure":""].join("")}for(var s,a,r=t?void 0:{},l=document.cookie?document.cookie.split("; "):[],c=0,d=l.length;c<d;c++){var h=l[c].split("="),u=(a=h.shift(),y.raw?a:decodeURIComponent(a)),p=h.join("=");if(t===u){r=m(p,e);break}t||void 0===(p=m(p))||(r[u]=p)}return r};y.defaults={},f.removeCookie=function(t,e){return f.cookie(t,"",f.extend({},e,{expires:-1})),!f.cookie(t)}}),function(l,h,g,m){"use strict";if(l.console=l.console||{info:function(t){}},g)if(g.fn.fancybox)console.info("fancyBox already initialized");else{var t,e,o,i,n={closeExisting:!1,loop:!1,gutter:50,keyboard:!0,preventCaptionOverlap:!0,arrows:!0,infobar:!0,smallBtn:"auto",toolbar:"auto",buttons:["zoom","slideShow","thumbs","close"],idleTime:3,protect:!1,modal:!1,image:{preload:!1},ajax:{settings:{data:{fancybox:!0}}},iframe:{tpl:'<iframe id="fancybox-frame{rnd}" name="fancybox-frame{rnd}" class="fancybox-iframe" allowfullscreen="allowfullscreen" allow="autoplay; fullscreen" src=""></iframe>',preload:!0,css:{},attr:{scrolling:"auto"}},video:{tpl:'<video class="fancybox-video" controls controlsList="nodownload" poster="{{poster}}"><source src="{{src}}" type="{{format}}" />Sorry, your browser doesn\'t support embedded videos, <a href="{{src}}">download</a> and watch with your favorite video player!</video>',format:"",autoStart:!0},defaultType:"image",animationEffect:"zoom",animationDuration:366,zoomOpacity:"auto",transitionEffect:"fade",transitionDuration:366,slideClass:"",baseClass:"",baseTpl:'<div class="fancybox-container" role="dialog" tabindex="-1"><div class="fancybox-bg"></div><div class="fancybox-inner"><div class="fancybox-infobar"><span data-fancybox-index></span>&nbsp;/&nbsp;<span data-fancybox-count></span></div><div class="fancybox-toolbar">{{buttons}}</div><div class="fancybox-navigation">{{arrows}}</div><div class="fancybox-stage"></div><div class="fancybox-caption"><div class="fancybox-caption__body"></div></div></div></div>',spinnerTpl:'<div class="fancybox-loading"></div>',errorTpl:'<div class="fancybox-error"><p>{{ERROR}}</p></div>',btnTpl:{download:'<a download data-fancybox-download class="fancybox-button fancybox-button--download" title="{{DOWNLOAD}}" href="javascript:;"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M18.62 17.09V19H5.38v-1.91zm-2.97-6.96L17 11.45l-5 4.87-5-4.87 1.36-1.32 2.68 2.64V5h1.92v7.77z"/></svg></a>',zoom:'<button data-fancybox-zoom class="fancybox-button fancybox-button--zoom" title="{{ZOOM}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M18.7 17.3l-3-3a5.9 5.9 0 0 0-.6-7.6 5.9 5.9 0 0 0-8.4 0 5.9 5.9 0 0 0 0 8.4 5.9 5.9 0 0 0 7.7.7l3 3a1 1 0 0 0 1.3 0c.4-.5.4-1 0-1.5zM8.1 13.8a4 4 0 0 1 0-5.7 4 4 0 0 1 5.7 0 4 4 0 0 1 0 5.7 4 4 0 0 1-5.7 0z"/></svg></button>',close:'<button data-fancybox-close class="fancybox-button fancybox-button--close" title="{{CLOSE}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 10.6L6.6 5.2 5.2 6.6l5.4 5.4-5.4 5.4 1.4 1.4 5.4-5.4 5.4 5.4 1.4-1.4-5.4-5.4 5.4-5.4-1.4-1.4-5.4 5.4z"/></svg></button>',arrowLeft:'<button data-fancybox-prev class="fancybox-button fancybox-button--arrow_left" title="{{PREV}}"><div><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M11.28 15.7l-1.34 1.37L5 12l4.94-5.07 1.34 1.38-2.68 2.72H19v1.94H8.6z"/></svg></div></button>',arrowRight:'<button data-fancybox-next class="fancybox-button fancybox-button--arrow_right" title="{{NEXT}}"><div><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
1<path d="M15.4 12.97l-2.68 2.72 1.34 1.38L19 12l-4.94-5.07-1.34 1.38 2.68 2.72H5v1.94z"/></svg></div></button>',smallBtn:'<button type="button" data-fancybox-close class="fancybox-button fancybox-close-small" title="{{CLOSE}}"><svg xmlns="http://www.w3.org/2000/svg" version="1" viewBox="0 0 24 24"><path d="M13 12l5-5-1-1-5 5-5-5-1 1 5 5-5 5 1 1 5-5 5 5 1-1z"/></svg></button>'},parentEl:"body",hideScrollbar:!0,autoFocus:!0,backFocus:!0,trapFocus:!0,fullScreen:{autoStart:!1},touch:{vertical:!0,momentum:!0},hash:null,media:{},slideShow:{autoStart:!1,speed:3e3},thumbs:{autoStart:!1,hideOnClose:!0,parentEl:".fancybox-container",axis:"y"},wheel:"auto",onInit:g.noop,beforeLoad:g.noop,afterLoad:g.noop,beforeShow:g.noop,afterShow:g.noop,beforeClose:g.noop,afterClose:g.noop,onActivate:g.noop,onDeactivate:g.noop,clickContent:function(t,e){return"image"===t.type&&"zoom"},clickSlide:"close",clickOutside:"close",dblclickContent:!1,dblclickSlide:!1,dblclickOutside:!1,mobile:{preventCaptionOverlap:!1,idleTime:!1,clickContent:function(t,e){return"image"===t.type&&"toggleControls"},clickSlide:function(t,e){return"image"===t.type?"toggleControls":"close"},dblclickContent:function(t,e){return"image"===t.type&&"zoom"},dblclickSlide:function(t,e){return"image"===t.type&&"zoom"}},lang:"en",i18n:{en:{CLOSE:"Close",NEXT:"Next",PREV:"Previous",ERROR:"The requested content cannot be loaded. <br/> Please try again later.",PLAY_START:"Start slideshow",PLAY_STOP:"Pause slideshow",FULL_SCREEN:"Full screen",THUMBS:"Thumbnails",DOWNLOAD:"Download",SHARE:"Share",ZOOM:"Zoom"},de:{CLOSE:"Schlie&szlig;en",NEXT:"Weiter",PREV:"Zur&uuml;ck",ERROR:"Die angeforderten Daten konnten nicht geladen werden. <br/> Bitte versuchen Sie es sp&auml;ter nochmal.",PLAY_START:"Diaschau starten",PLAY_STOP:"Diaschau beenden",FULL_SCREEN:"Vollbild",THUMBS:"Vorschaubilder",DOWNLOAD:"Herunterladen",SHARE:"Teilen",ZOOM:"Vergr&ouml;&szlig;ern"}}},s=g(l),a=g(h),r=0,u=l.requestAnimationFrame||l.webkitRequestAnimationFrame||l.mozRequestAnimationFrame||l.oRequestAnimationFrame||function(t){return l.setTimeout(t,1e3/60)},c=l.cancelAnimationFrame||l.webkitCancelAnimationFrame||l.mozCancelAnimationFrame||l.oCancelAnimationFrame||function(t){l.clearTimeout(t)},d=function(){var t,e=h.createElement("fakeelement"),o={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(t in o)if(e.style[t]!==m)return o[t];return"transitionend"}(),p=function(t){return t&&t.length&&t[0].offsetHeight},f=function(t,e){var o=g.extend(!0,{},t,e);return g.each(e,function(t,e){g.isArray(e)&&(o[t]=e)}),o},y=function(t,e,o){var i=this;i.opts=f({index:o},g.fancybox.defaults),g.isPlainObject(e)&&(i.opts=f(i.opts,e)),g.fancybox.isMobile&&(i.opts=f(i.opts,i.opts.mobile)),i.id=i.opts.id||++r,i.currIndex=parseInt(i.opts.index,10)||0,i.prevIndex=null,i.prevPos=null,i.currPos=0,i.firstRun=!0,i.group=[],i.slides={},i.addContent(t),i.group.length&&i.init()};g.extend(y.prototype,{init:function(){var e,o,i=this,n=i.group[i.currIndex].opts;n.closeExisting&&g.fancybox.close(!0),g("body").addClass("fancybox-active"),!g.fancybox.getInstance()&&!1!==n.hideScrollbar&&!g.fancybox.isMobile&&h.body.scrollHeight>l.innerHeight&&(g("head").append('<style id="fancybox-style-noscroll" type="text/css">.compensate-for-scrollbar{margin-right:'+(l.innerWidth-h.documentElement.clientWidth)+"px;}</style>"),g("body").addClass("compensate-for-scrollbar")),o="",g.each(n.buttons,function(t,e){o+=n.btnTpl[e]||""}),e=g(i.translate(i,n.baseTpl.replace("{{buttons}}",o).replace("{{arrows}}",n.btnTpl.arrowLeft+n.btnTpl.arrowRight))).attr("id","fancybox-container-"+i.id).addClass(n.baseClass).data("FancyBox",i).appendTo(n.parentEl),i.$refs={container:e},["bg","inner","infobar","toolbar","stage","caption","navigation"].forEach(function(t){i.$refs[t]=e.find(".fancybox-"+t)}),i.trigger("onInit"),i.activate(),i.jumpTo(i.currIndex)},translate:function(t,e){var o=t.opts.i18n[t.opts.lang]||t.opts.i18n.en;return e.replace(/\{\{(\w+)\}\}/g,function(t,e){return o[e]===m?t:o[e]})},addContent:function(t){var e,c=this,o=g.makeArray(t);g.each(o,function(t,e){var o,i,n,s,a,r={},l={};g.isPlainObject(e)?l=(r=e).opts||e:"object"===g.type(e)&&g(e).length?(l=(o=g(e)).data()||{},(l=g.extend(!0,{},l,l.options)).$orig=o,r.src=c.opts.src||l.src||o.attr("href"),r.type||r.src||(r.type="inline",r.src=e)):r={type:"html",src:e+""},r.opts=g.extend(!0,{},c.opts,l),g.isArray(l.buttons)&&(r.opts.buttons=l.buttons),g.fancybox.isMobile&&r.opts.mobile&&(r.opts=f(r.opts,r.opts.mobile)),i=r.type||r.opts.type,s=r.src||"",!i&&s&&((n=s.match(/\.(mp4|mov|ogv|webm)((\?|#).*)?$/i))?(i="video",r.opts.video.format||(r.opts.video.format="video/"+("ogv"===n[1]?"ogg":n[1]))):s.match(/(^data:image\/[a-z0-9+\/=]*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg|ico)((\?|#).*)?$)/i)?i="image":s.match(/\.(pdf)((\?|#).*)?$/i)?(i="iframe",r=g.extend(!0,r,{contentType:"pdf",opts:{iframe:{preload:!1}}})):"#"===s.charAt(0)&&(i="inline")),i?r.type=i:c.trigger("objectNeedsType",r),r.contentType||(r.contentType=-1<g.inArray(r.type,["html","inline","ajax"])?"html":r.type),r.index=c.group.length,"auto"==r.opts.smallBtn&&(r.opts.smallBtn=-1<g.inArray(r.type,["html","inline","ajax"])),"auto"===r.opts.toolbar&&(r.opts.toolbar=!r.opts.smallBtn),r.$thumb=r.opts.$thumb||null,r.opts.$trigger&&r.index===c.opts.index&&(r.$thumb=r.opts.$trigger.find("img:first"),r.$thumb.length&&(r.opts.$orig=r.opts.$trigger)),r.$thumb&&r.$thumb.length||!r.opts.$orig||(r.$thumb=r.opts.$orig.find("img:first")),r.$thumb&&!r.$thumb.length&&(r.$thumb=null),r.thumb=r.opts.thumb||(r.$thumb?r.$thumb[0].src:null),"function"===g.type(r.opts.caption)&&(r.opts.caption=r.opts.caption.apply(e,[c,r])),"function"===g.type(c.opts.caption)&&(r.opts.caption=c.opts.caption.apply(e,[c,r])),r.opts.caption instanceof g||(r.opts.caption=r.opts.caption===m?"":r.opts.caption+""),"ajax"===r.type&&1<(a=s.split(/\s+/,2)).length&&(r.src=a.shift(),r.opts.filter=a.shift()),r.opts.modal&&(r.opts=g.extend(!0,r.opts,{trapFocus:!0,infobar:0,toolbar:0,smallBtn:0,keyboard:0,slideShow:0,fullScreen:0,thumbs:0,touch:0,clickContent:!1,clickSlide:!1,clickOutside:!1,dblclickContent:!1,dblclickSlide:!1,dblclickOutside:!1})),c.group.push(r)}
vendor: 4,808 bytes, line 1
1),Object.keys(c.slides).length&&(c.updateControls(),(e=c.Thumbs)&&e.isActive&&(e.create(),e.focus()))},addEvents:function(){var i=this;i.removeEvents(),i.$refs.container.on("click.fb-close","[data-fancybox-close]",function(t){t.stopPropagation(),t.preventDefault(),i.close(t)}).on("touchstart.fb-prev click.fb-prev","[data-fancybox-prev]",function(t){t.stopPropagation(),t.preventDefault(),i.previous()}).on("touchstart.fb-next click.fb-next","[data-fancybox-next]",function(t){t.stopPropagation(),t.preventDefault(),i.next()}).on("click.fb","[data-fancybox-zoom]",function(t){i[i.isScaledDown()?"scaleToActual":"scaleToFit"]()}),s.on("orientationchange.fb resize.fb",function(t){t&&t.originalEvent&&"resize"===t.originalEvent.type?(i.requestId&&c(i.requestId),i.requestId=u(function(){i.update(t)})):(i.current&&"iframe"===i.current.type&&i.$refs.stage.hide(),setTimeout(function(){i.$refs.stage.show(),i.update(t)},g.fancybox.isMobile?600:250))}),a.on("keydown.fb",function(t){var e=(g.fancybox?g.fancybox.getInstance():null).current,o=t.keyCode||t.which;if(9!=o){if(!(!e.opts.keyboard||t.ctrlKey||t.altKey||t.shiftKey||g(t.target).is("input,textarea,video,audio")))return 8===o||27===o?(t.preventDefault(),void i.close(t)):37===o||38===o?(t.preventDefault(),void i.previous()):39===o||40===o?(t.preventDefault(),void i.next()):void i.trigger("afterKeydown",t,o)}else e.opts.trapFocus&&i.focus(t)}),i.group[i.currIndex].opts.idleTime&&(i.idleSecondsCounter=0,a.on("mousemove.fb-idle mouseleave.fb-idle mousedown.fb-idle touchstart.fb-idle touchmove.fb-idle scroll.fb-idle keydown.fb-idle",function(t){i.idleSecondsCounter=0,i.isIdle&&i.showControls(),i.isIdle=!1}),i.idleInterval=l.setInterval(function(){i.idleSecondsCounter++,i.idleSecondsCounter>=i.group[i.currIndex].opts.idleTime&&!i.isDragging&&(i.isIdle=!0,i.idleSecondsCounter=0,i.hideControls())},1e3))},removeEvents:function(){s.off("orientationchange.fb resize.fb"),a.off("keydown.fb .fb-idle"),this.$refs.container.off(".fb-close .fb-prev .fb-next"),this.idleInterval&&(l.clearInterval(this.idleInterval),this.idleInterval=null)},previous:function(t){return this.jumpTo(this.currPos-1,t)},next:function(t){return this.jumpTo(this.currPos+1,t)},jumpTo:function(t,i){var e,o,n,s,a,r,l,c,d,h=this,u=h.group.length;if(!(h.isDragging||h.isClosing||h.isAnimating&&h.firstRun)){if(t=parseInt(t,10),!(n=h.current?h.current.opts.loop:h.opts.loop)&&(t<0||u<=t))return!1;if(e=h.firstRun=!Object.keys(h.slides).length,a=h.current,h.prevIndex=h.currIndex,h.prevPos=h.currPos,s=h.createSlide(t),1<u&&((n||s.index<u-1)&&h.createSlide(t+1),(n||0<s.index)&&h.createSlide(t-1)),h.current=s,h.currIndex=s.index,h.currPos=s.pos,h.trigger("beforeShow",e),h.updateControls(),s.forcedDuration=m,g.isNumeric(i)?s.forcedDuration=i:i=s.opts[e?"animationDuration":"transitionDuration"],i=parseInt(i,10),o=h.isMoved(s),s.$slide.addClass("fancybox-slide--current"),e)return s.opts.animationEffect&&i&&h.$refs.container.css("transition-duration",i+"ms"),h.$refs.container.addClass("fancybox-is-open").trigger("focus"),h.loadSlide(s),void h.preload("image");r=g.fancybox.getTranslate(a.$slide),l=g.fancybox.getTranslate(h.$refs.stage),g.each(h.slides,function(t,e){g.fancybox.stop(e.$slide,!0)}),a.pos!==s.pos&&(a.isComplete=!1),a.$slide.removeClass("fancybox-slide--complete fancybox-slide--current"),o?(d=r.left-(a.pos*r.width+a.pos*a.opts.gutter),g.each(h.slides,function(t,e){e.$slide.removeClass("fancybox-animated").removeClass(function(t,e){return(e.match(/(^|\s)fancybox-fx-\S+/g)||[]).join(" ")});var o=e.pos*r.width+e.pos*e.opts.gutter;g.fancybox.setTranslate(e.$slide,{top:0,left:o-l.left+d}),e.pos!==s.pos&&e.$slide.addClass("fancybox-slide--"+(e.pos>s.pos?"next":"previous")),p(e.$slide),g.fancybox.animate(e.$slide,{top:0,left:(e.pos-s.pos)*r.width+(e.pos-s.pos)*e.opts.gutter},i,function(){e.$slide.css({transform:"",opacity:""}).removeClass("fancybox-slide--next fancybox-slide--previous"),e.pos===h.currPos&&h.complete()})})):i&&s.opts.transitionEffect&&(c="fancybox-animated fancybox-fx-"+s.opts.transitionEffect,a.$slide.addClass("fancybox-slide--"+(a.pos>s.pos?"next":"previous")),g.fancybox.animate(a.$slide,c,i,function(){a.$slide.removeClass(c).removeClass("fancybox-slide--next fancybox-slide--previous")},!1)),s.isLoaded?h.revealContent(s):h.loadSlide(s),h.preload("image")}},createSlide:function(t){var e,o,i=this;return o=(o=t%i.group.length)<0?i.group.length+o:o,!i.slides[t]&&i.group[o]&&(e=g('<div class="fancybox-slide"></div>').appendTo(i.$refs.stage),i.slides[t]=g.extend(!0,{},i.group[o],{pos:t,$slide:e,isLoaded:!1}),i.updateSlide(i.slides[t])),i.slides[t]},scaleToActual:function(t,e,o){var i,n,s,a,r,l=this,c=l.current,d=c.$content,h=g.fancybox.getTranslate(c.$slide).width,u=g.fancybox.getTranslate(c.$slide).height,p=c.width,f=c.height;
1l.isAnimating||l.isMoved()||!d||"image"!=c.type||!c.isLoaded||c.hasError||(l.isAnimating=!0,g.fancybox.stop(d),t=t===m?.5*h:t,e=e===m?.5*u:e,(i=g.fancybox.getTranslate(d)).top-=g.fancybox.getTranslate(c.$slide).top,i.left-=g.fancybox.getTranslate(c.$slide).left,a=p/i.width,r=f/i.height,n=.5*h-.5*p,s=.5*u-.5*f,h<p&&(0<(n=i.left*a-(t*a-t))&&(n=0),n<h-p&&(n=h-p)),u<f&&(0<(s=i.top*r-(e*r-e))&&(s=0),s<u-f&&(s=u-f)),l.updateCursor(p,f),g.fancybox.animate(d,{top:s,left:n,scaleX:a,scaleY:r},o||366,function(){l.isAnimating=!1}),l.SlideShow&&l.SlideShow.isActive&&l.SlideShow.stop())},scaleToFit:function(t){var e,o=this,i=o.current,n=i.$content;o.isAnimating||o.isMoved()||!n||"image"!=i.type||!i.isLoaded||i.hasError||(o.isAnimating=!0,g.fancybox.stop(n),e=o.getFitPos(i),o.updateCursor(e.width,e.height),g.fancybox.animate(n,{top:e.top,left:e.left,scaleX:e.width/n.width(),scaleY:e.height/n.height()},t||366,function(){o.isAnimating=!1}))},getFitPos:function(t){var e,o,i,n,s=t.$content,a=t.$slide,r=t.width||t.opts.width,l=t.height||t.opts.height,c={};return!!(t.isLoaded&&s&&s.length)&&(e=g.fancybox.getTranslate(this.$refs.stage).width,o=g.fancybox.getTranslate(this.$refs.stage).height,e-=parseFloat(a.css("paddingLeft"))+parseFloat(a.css("paddingRight"))+parseFloat(s.css("marginLeft"))+parseFloat(s.css("marginRight")),o-=parseFloat(a.css("paddingTop"))+parseFloat(a.css("paddingBottom"))+parseFloat(s.css("marginTop"))+parseFloat(s.css("marginBottom")),r&&l||(r=e,l=o),e-.5<(r*=i=Math.min(1,e/r,o/l))&&(r=e),o-.5<(l*=i)&&(l=o),"image"===t.type?(c.top=Math.floor(.5*(o-l))+parseFloat(a.css("paddingTop")),c.left=Math.floor(.5*(e-r))+parseFloat(a.css("paddingLeft"))):"video"===t.contentType&&(r/(n=t.opts.width&&t.opts.height?r/l:t.opts.ratio||16/9)<l?l=r/n:l*n<r&&(r=l*n)),c.width=r,c.height=l,c)},update:function(o){var i=this;g.each(i.slides,function(t,e){i.updateSlide(e,o)})},updateSlide:function(t,e){var o=this,i=t&&t.$content,n=t.width||t.opts.width,s=t.height||t.opts.height,a=t.$slide;o.adjustCaption(t),i&&(n||s||"video"===t.contentType)&&!t.hasError&&(g.fancybox.stop(i),g.fancybox.setTranslate(i,o.getFitPos(t)),t.pos===o.currPos&&(o.isAnimating=!1,o.updateCursor())),o.adjustLayout(t),a.length&&(a.trigger("refresh"),t.pos===o.currPos&&o.$refs.toolbar.add(o.$refs.navigation.find(".fancybox-button--arrow_right")).toggleClass("compensate-for-scrollbar",a.get(0).scrollHeight>a.get(0).clientHeight)),o.trigger("onUpdate",t,e)},centerSlide:function(t){var e=this,o=e.current,i=o.$slide;!e.isClosing&&o&&(i.siblings().css({transform:"",opacity:""}),i.parent().children().removeClass("fancybox-slide--previous fancybox-slide--next"),g.fancybox.animate(i,{top:0,left:0,opacity:1},t===m?0:t,function(){i.css({transform:"",opacity:""}),o.isComplete||e.complete()},!1))},isMoved:function(t){var e,o,i=t||this.current;return!!i&&(o=g.fancybox.getTranslate(this.$refs.stage),e=g.fancybox.getTranslate(i.$slide),!i.$slide.hasClass("fancybox-animated")&&(.5<Math.abs(e.top-o.top)||.5<Math.abs(e.left-o.left)))},updateCursor:function(t,e){var o,i,n=this,s=n.current,a=n.$refs.container;s&&!n.isClosing&&n.Guestures&&(a.removeClass("fancybox-is-zoomable fancybox-can-zoomIn fancybox-can-zoomOut fancybox-can-swipe fancybox-can-pan"),i=!!(o=n.canPan(t,e))||n.isZoomable(),a.toggleClass("fancybox-is-zoomable",i),g("[data-fancybox-zoom]").prop("disabled",!i),o?a.addClass("fancybox-can-pan"):i&&("zoom"===s.opts.clickContent||g.isFunction(s.opts.clickContent)&&"zoom"==s.opts.clickContent(s))?a.addClass("fancybox-can-zoomIn"):s.opts.touch&&(s.opts.touch.vertical||1<n.group.length)&&"video"!==s.contentType&&a.addClass("fancybox-can-swipe"))},isZoomable:function(){var t,e=this.current;if(e&&!this.isClosing&&"image"===e.type&&!e.hasError){if(!e.isLoaded)return!0;if((t=this.getFitPos(e))&&(e.width>t.width||e.height>t.height))return!0}return!1},isScaledDown:function(t,e){var o=!1,i=this.current,n=i.$content;return t!==m&&e!==m?o=t<i.width&&e<i.height:n&&(o=(o=g.fancybox.getTranslate(n)).width<i.width&&o.height<i.height),o},canPan:function(t,e){var o=this.current,i=null,n=!1;return"image"===o.type&&(o.isComplete||t&&e)&&!o.hasError&&(n=this.getFitPos(o),t!==m&&e!==m?i={width:t,height:e}:o.isComplete&&(i=g.fancybox.getTranslate(o.$content)),i&&n&&(n=1.5<Math.abs(i.width-n.width)||1.5<Math.abs(i.height-n.height))),n},loadSlide:function(o){var t,e,i,n=this;if(!o.isLoading&&!o.isLoaded){if(!(o.isLoading=!0)===n.trigger("beforeLoad",o))return o.isLoading=!1;switch(t=o.type,(e=o.$slide).off("refresh").trigger("onReset").addClass(o.opts.slideClass),t){case"image":n.setImage(o);break;case"iframe":n.setIframe(o);break;case"html":n.setContent(o,o.src||o.content);break;case"video":n.setContent(o,o.opts.video.tpl.replace(/\{\{src\}\}/gi,o.src).replace("{{format}}",o.opts.videoFormat||o.opts.video.format||"").replace("{{poster}}",o.thumb||""));break;case"inline":g(o.src).length?n.setContent(o,g(o.src)):n.setError(o);break;case"ajax":n.showLoading(o),i=g.ajax(g.extend({},o.opts.ajax.settings,{url:o.src,success:function(t,e){"success"===e&&n.setContent(o,t)},error:function(t,e){t&&"abort"!==e&&n.setError(o)}})),e.one("onReset",function(){i.abort()});break;default:n.setError(o)}return!0}},setImage:function(e){var t,o=this;setTimeout(function(){var t=e.$image;o.isClosing||!e.isLoading||t&&t.length&&t[0].complete||e.hasError||o.showLoading(e)},50),o.checkSrcset(e),e.$content=g('<div class="fancybox-content"></div>').addClass("fancybox-is-hidden").appendTo(e.$slide.addClass("fancybox-slide--image")),!1!==e.opts.preload&&e.opts.width&&e.opts.height&&e.thumb&&(e.width=e.opts.width,e.height=e.opts.height,(t=h.createElement("img")).onerror=function(){g(this).remove(),e.$ghost=null},t.onload=function(){o.afterLoad(e)},e.$ghost=g(t).addClass("fancybox-image").appendTo(e.$content).attr("src",e.thumb)),o.setBigImage(e)}
vendor: 5,216 bytes, line 1
1,checkSrcset:function(t){var e,o,i,n,s=t.opts.srcset||t.opts.image.srcset;if(s){i=l.devicePixelRatio||1,n=l.innerWidth*i,(o=s.split(",").map(function(t){var i={};return t.trim().split(/\s+/).forEach(function(t,e){var o=parseInt(t.substring(0,t.length-1),10);if(0===e)return i.url=t;o&&(i.value=o,i.postfix=t[t.length-1])}),i})).sort(function(t,e){return t.value-e.value});for(var a=0;a<o.length;a++){var r=o[a];if("w"===r.postfix&&r.value>=n||"x"===r.postfix&&r.value>=i){e=r;break}}!e&&o.length&&(e=o[o.length-1]),e&&(t.src=e.url,t.width&&t.height&&"w"==e.postfix&&(t.height=t.width/t.height*e.value,t.width=e.value),t.opts.srcset=s)}},setBigImage:function(e){var o=this,t=h.createElement("img"),i=g(t);e.$image=i.one("error",function(){o.setError(e)}).one("load",function(){var t;e.$ghost||(o.resolveImageSlideSize(e,this.naturalWidth,this.naturalHeight),o.afterLoad(e)),o.isClosing||(e.opts.srcset&&((t=e.opts.sizes)&&"auto"!==t||(t=(1<e.width/e.height&&1<s.width()/s.height()?"100":Math.round(e.width/e.height*100))+"vw"),i.attr("sizes",t).attr("srcset",e.opts.srcset)),e.$ghost&&setTimeout(function(){e.$ghost&&!o.isClosing&&e.$ghost.hide()},Math.min(300,Math.max(1e3,e.height/1600))),o.hideLoading(e))}).addClass("fancybox-image").attr("src",e.src).appendTo(e.$content),(t.complete||"complete"==t.readyState)&&i.naturalWidth&&i.naturalHeight?i.trigger("load"):t.error&&i.trigger("error")},resolveImageSlideSize:function(t,e,o){var i=parseInt(t.opts.width,10),n=parseInt(t.opts.height,10);t.width=e,t.height=o,0<i&&(t.width=i,t.height=Math.floor(i*o/e)),0<n&&(t.width=Math.floor(n*e/o),t.height=n)},setIframe:function(n){var s,e=this,a=n.opts.iframe,r=n.$slide;n.$content=g('<div class="fancybox-content'+(a.preload?" fancybox-is-hidden":"")+'"></div>').css(a.css).appendTo(r),r.addClass("fancybox-slide--"+n.contentType),n.$iframe=s=g(a.tpl.replace(/\{rnd\}/g,(new Date).getTime())).attr(a.attr).appendTo(n.$content),a.preload?(e.showLoading(n),s.on("load.fb error.fb",function(t){this.isReady=1,n.$slide.trigger("refresh"),e.afterLoad(n)}),r.on("refresh.fb",function(){var t,e=n.$content,o=a.css.width,i=a.css.height;if(1===s[0].isReady){try{t=s.contents().find("body")}catch(t){}t&&t.length&&t.children().length&&(r.css("overflow","visible"),e.css({width:"100%","max-width":"100%",height:"9999px"}),o===m&&(o=Math.ceil(Math.max(t[0].clientWidth,t.outerWidth(!0)))),e.css("width",o||"").css("max-width",""),i===m&&(i=Math.ceil(Math.max(t[0].clientHeight,t.outerHeight(!0)))),e.css("height",i||""),r.css("overflow","auto")),e.removeClass("fancybox-is-hidden")}})):e.afterLoad(n),s.attr("src",n.src),r.one("onReset",function(){try{g(this).find("iframe").hide().unbind().attr("src","//about:blank")}catch(t){}g(this).off("refresh.fb").empty(),n.isLoaded=!1,n.isRevealed=!1})},setContent:function(t,e){var o;this.isClosing||(this.hideLoading(t),t.$content&&g.fancybox.stop(t.$content),t.$slide.empty(),(o=e)&&o.hasOwnProperty&&o instanceof g&&e.parent().length?((e.hasClass("fancybox-content")||e.parent().hasClass("fancybox-content"))&&e.parents(".fancybox-slide").trigger("onReset"),t.$placeholder=g("<div>").hide().insertAfter(e),e.css("display","inline-block")):t.hasError||("string"===g.type(e)&&(e=g("<div>").append(g.trim(e)).contents()),t.opts.filter&&(e=g("<div>").html(e).find(t.opts.filter))),t.$slide.one("onReset",function(){g(this).find("video,audio").trigger("pause"),t.$placeholder&&(t.$placeholder.after(e.removeClass("fancybox-content").hide()).remove(),t.$placeholder=null),t.$smallBtn&&(t.$smallBtn.remove(),t.$smallBtn=null),t.hasError||(g(this).empty(),t.isLoaded=!1,t.isRevealed=!1)}),g(e).appendTo(t.$slide),g(e).is("video,audio")&&(g(e).addClass("fancybox-video"),g(e).wrap("<div></div>"),t.contentType="video",t.opts.width=t.opts.width||g(e).attr("width"),t.opts.height=t.opts.height||g(e).attr("height")),t.$content=t.$slide.children().filter("div,form,main,video,audio,article,.fancybox-content").first(),t.$content.siblings().hide(),t.$content.length||(t.$content=t.$slide.wrapInner("<div></div>").children().first()),t.$content.addClass("fancybox-content"),t.$slide.addClass("fancybox-slide--"+t.contentType),this.afterLoad(t))},setError:function(t){t.hasError=!0,t.$slide.trigger("onReset").removeClass("fancybox-slide--"+t.contentType).addClass("fancybox-slide--error"),t.contentType="html",this.setContent(t,this.translate(t,t.opts.errorTpl)),t.pos===this.currPos&&(this.isAnimating=!1)},showLoading:function(t){(t=t||this.current)&&!t.$spinner&&(t.$spinner=g(this.translate(this,this.opts.spinnerTpl)).appendTo(t.$slide).hide().fadeIn("fast"))},hideLoading:function(t){(t=t||this.current)&&t.$spinner&&(t.$spinner.stop().remove(),delete t.$spinner)},afterLoad:function(t){var e=this;e.isClosing||(t.isLoading=!1,t.isLoaded=!0,e.trigger("afterLoad",t),e.hideLoading(t),!t.opts.smallBtn||t.$smallBtn&&t.$smallBtn.length||(t.$smallBtn=g(e.translate(t,t.opts.btnTpl.smallBtn)).appendTo(t.$content)),t.opts.protect&&t.$content&&!t.hasError&&(t.$content.on("contextmenu.fb",function(t){return 2==t.button&&t.preventDefault(),!0}),"image"===t.type&&g('<div class="fancybox-spaceball"></div>').appendTo(t.$content)),e.adjustCaption(t),e.adjustLayout(t),t.pos===e.currPos&&e.updateCursor(
1),e.revealContent(t))},adjustCaption:function(t){var e,o=this,i=t||o.current,n=i.opts.caption,s=i.opts.preventCaptionOverlap,a=o.$refs.caption,r=!1;a.toggleClass("fancybox-caption--separate",s),s&&n&&n.length&&(i.pos!==o.currPos?((e=a.clone().appendTo(a.parent())).children().eq(0).empty().html(n),r=e.outerHeight(!0),e.empty().remove()):o.$caption&&(r=o.$caption.outerHeight(!0)),i.$slide.css("padding-bottom",r||""))},adjustLayout:function(t){var e,o,i,n,s=t||this.current;s.isLoaded&&!0!==s.opts.disableLayoutFix&&(s.$content.css("margin-bottom",""),s.$content.outerHeight()>s.$slide.height()+.5&&(i=s.$slide[0].style["padding-bottom"],n=s.$slide.css("padding-bottom"),0<parseFloat(n)&&(e=s.$slide[0].scrollHeight,s.$slide.css("padding-bottom",0),Math.abs(e-s.$slide[0].scrollHeight)<1&&(o=n),s.$slide.css("padding-bottom",i))),s.$content.css("margin-bottom",o))},revealContent:function(t){var e,o,i,n,s=this,a=t.$slide,r=!1,l=!1,c=s.isMoved(t),d=t.isRevealed;return t.isRevealed=!0,e=t.opts[s.firstRun?"animationEffect":"transitionEffect"],i=t.opts[s.firstRun?"animationDuration":"transitionDuration"],i=parseInt(t.forcedDuration===m?i:t.forcedDuration,10),!c&&t.pos===s.currPos&&i||(e=!1),"zoom"===e&&(t.pos===s.currPos&&i&&"image"===t.type&&!t.hasError&&(l=s.getThumbPos(t))?r=s.getFitPos(t):e="fade"),"zoom"===e?(s.isAnimating=!0,r.scaleX=r.width/l.width,r.scaleY=r.height/l.height,"auto"==(n=t.opts.zoomOpacity)&&(n=.1<Math.abs(t.width/t.height-l.width/l.height)),n&&(l.opacity=.1,r.opacity=1),g.fancybox.setTranslate(t.$content.removeClass("fancybox-is-hidden"),l),p(t.$content),void g.fancybox.animate(t.$content,r,i,function(){s.isAnimating=!1,s.complete()})):(s.updateSlide(t),e?(g.fancybox.stop(a),o="fancybox-slide--"+(t.pos>=s.prevPos?"next":"previous")+" fancybox-animated fancybox-fx-"+e,a.addClass(o).removeClass("fancybox-slide--current"),t.$content.removeClass("fancybox-is-hidden"),p(a),"image"!==t.type&&t.$content.hide().show(0),void g.fancybox.animate(a,"fancybox-slide--current",i,function(){a.removeClass(o).css({transform:"",opacity:""}),t.pos===s.currPos&&s.complete()},!0)):(t.$content.removeClass("fancybox-is-hidden"),d||!c||"image"!==t.type||t.hasError||t.$content.hide().fadeIn("fast"),void(t.pos===s.currPos&&s.complete())))},getThumbPos:function(t){var e,o,i,n,s,a,r,l,c,d=t.$thumb;return!!(d&&(r=d[0])&&r.ownerDocument===h&&(g(".fancybox-container").css("pointer-events","none"),l={x:r.getBoundingClientRect().left+r.offsetWidth/2,y:r.getBoundingClientRect().top+r.offsetHeight/2},c=h.elementFromPoint(l.x,l.y)===r,g(".fancybox-container").css("pointer-events",""),c))&&(o=g.fancybox.getTranslate(d),i=parseFloat(d.css("border-top-width")||0),n=parseFloat(d.css("border-right-width")||0),s=parseFloat(d.css("border-bottom-width")||0),a=parseFloat(d.css("border-left-width")||0),e={top:o.top+i,left:o.left+a,width:o.width-n-a,height:o.height-i-s,scaleX:1,scaleY:1},0<o.width&&0<o.height&&e)},complete:function(){var t,o=this,e=o.current,i={};!o.isMoved()&&e.isLoaded&&(e.isComplete||(e.isComplete=!0,e.$slide.siblings().trigger("onReset"),o.preload("inline"),p(e.$slide),e.$slide.addClass("fancybox-slide--complete"),g.each(o.slides,function(t,e){e.pos>=o.currPos-1&&e.pos<=o.currPos+1?i[e.pos]=e:e&&(g.fancybox.stop(e.$slide),e.$slide.off().remove())}),o.slides=i),o.isAnimating=!1,o.updateCursor(),o.trigger("afterShow"),e.opts.video.autoStart&&e.$slide.find("video,audio").filter(":visible:first").trigger("play").one("ended",function(){this.webkitExitFullscreen&&this.webkitExitFullscreen(),o.next()}),e.opts.autoFocus&&"html"===e.contentType&&((t=e.$content.find("input[autofocus]:enabled:visible:first")).length?t.trigger("focus"):o.focus(null,!0)),e.$slide.scrollTop(0).scrollLeft(0))},preload:function(t){var e,o,i=this;i.group.length<2||(o=i.slides[i.currPos+1],(e=i.slides[i.currPos-1])&&e.type===t&&i.loadSlide(e),o&&o.type===t&&i.loadSlide(o))},focus:function(t,e){var o,i,n=this,s=["a[href]","area[href]",'input:not([disabled]):not([type="hidden"]):not([aria-hidden])',"select:not([disabled]):not([aria-hidden])","textarea:not([disabled]):not([aria-hidden])","button:not([disabled]):not([aria-hidden])","iframe","object","embed","video","audio","[contenteditable]",'[tabindex]:not
1([tabindex^="-"])'].join(",");n.isClosing||((o=(o=!t&&n.current&&n.current.isComplete?n.current.$slide.find("*:visible"+(e?":not(.fancybox-close-small)":"")):n.$refs.container.find("*:visible")).filter(s).filter(function(){return"hidden"!==g(this).css("visibility")&&!g(this).hasClass("disabled")})).length?(i=o.index(h.activeElement),t&&t.shiftKey?(i<0||0==i)&&(t.preventDefault(),o.eq(o.length-1).trigger("focus")):(i<0||i==o.length-1)&&(t&&t.preventDefault(),o.eq(0).trigger("focus"))):n.$refs.container.trigger("focus"))},activate:function(){var e=this;g(".fancybox-container").each(function(){var t=g(this).data("FancyBox");t&&t.id!==e.id&&!t.isClosing&&(t.trigger("onDeactivate"),t.removeEvents(),t.isVisible=!1)}),e.isVisible=!0,(e.current||e.isIdle)&&(e.update(),e.updateControls()),e.trigger("onActivate"),e.addEvents()},close:function(t,e){var o,i,n,s,a,r,l,c=this,d=c.current,h=function(){c.cleanUp(t)};return!c.isClosing&&(!(c.isClosing=!0)===c.trigger("beforeClose",t)?(c.isClosing=!1,u(function(){c.update()}),!1):(c.removeEvents(),n=d.$content,o=d.opts.animationEffect,i=g.isNumeric(e)?e:o?d.opts.animationDuration:0,d.$slide.removeClass("fancybox-slide--complete fancybox-slide--next fancybox-slide--previous fancybox-animated"),!0!==t?g.fancybox.stop(d.$slide):o=!1,d.$slide.siblings().trigger("onReset").remove(),i&&c.$refs.container.removeClass("fancybox-is-open").addClass("fancybox-is-closing").css("transition-duration",i+"ms"),c.hideLoading(d),c.hideControls(!0),c.updateCursor(),"zoom"!==o||n&&i&&"image"===d.type&&!c.isMoved()&&!d.hasError&&(l=c.getThumbPos(d))||(o="fade"),"zoom"===o?(g.fancybox.stop(n),r={top:(s=g.fancybox.getTranslate(n)).top,left:s.left,scaleX:s.width/l.width,scaleY:s.height/l.height,width:l.width,height:l.height},"auto"==(a=d.opts.zoomOpacity)&&(a=.1<Math.abs(d.width/d.height-l.width/l.height)),a&&(l.opacity=0),g.fancybox.setTranslate(n,r),p(n),g.fancybox.animate(n,l,i,h)):o&&i?g.fancybox.animate(d.$slide.addClass("fancybox-slide--previous").removeClass("fancybox-slide--current"),"fancybox-animated fancybox-fx-"+o,i,h):!0===t?setTimeout(h,i):h(),!0))},cleanUp:function(t){var e,o,i,n=this,s=n.current.opts.$orig;n.current.$slide.trigger("onReset"),n.$refs.container.empty().remove(),n.trigger("afterClose",t),n.current.opts.backFocus&&(s&&s.length&&s.is(":visible")||(s=n.$trigger),s&&s.length&&(o=l.scrollX,i=l.scrollY,s.trigger("focus"),g("html, body").scrollTop(i).scrollLeft(o))),n.current=null,(e=g.fancybox.getInstance())?e.activate():(g("body").removeClass("fancybox-active compensate-for-scrollbar"),g("#fancybox-style-noscroll").remove())},trigger:function(t,e){var o,i=Array.prototype.slice.call(arguments,1),n=this,s=e&&e.opts?e:n.current;if(s?i.unshift(s):s=n,i.unshift(n),g.isFunction(s.opts[t])&&(o=s.opts[t].apply(s,i)),!1===o)return o;"afterClose"!==t&&n.$refs?n.$refs.container.trigger(t+".fb",i):a.trigger(t+".fb",i)},updateControls:function(){var t=this,e=t.current,o=e.index,i=t.$refs.container,n=t.$refs.caption,s=e.opts.caption;e.$slide.trigger("refresh"),s&&s.length?(t.$caption=n).children().eq(0).html(s):t.$caption=null,t.hasHiddenControls||t.isIdle||t.showControls(),i.find("[data-fancybox-count]").html(t.group.length),i.find("[data-fancybox-index]").html(o+1),i.find("[data-fancybox-prev]").prop("disabled",!e.opts.loop&&o<=0),i.find("[data-fancybox-next]").prop("disabled",!e.opts.loop&&o>=t.group.length-1),"image"===e.type?i.find("[data-fancybox-zoom]").show().end().find("[data-fancybox-download]").attr("href",e.opts.image.src||e.src).show():e.opts.toolbar&&i.find("[data-fancybox-download],[data-fancybox-zoom]").hide(),g(h.activeElement).is(":hidden,[disabled]")&&t.$refs.container.trigger("focus")},hideControls:function(t){var e=["infobar","toolbar","nav"];!t&&this.current.opts.preventCaptionOverlap||e.push("caption"),this.$refs.container.removeClass(e.map(function(t){return"fancybox-show-"+t}).join(" ")),this.hasHiddenControls=!0},showControls:function(){var t=this,e=t.current?t.current.opts:t.opts,o=t.$refs.container;t.hasHiddenControls=!1,t.idleSecondsCounter=0,o.toggleClass("fancybox-show-toolbar",!(!e.toolbar||!e.buttons)).toggleClass("fancybox-show-infobar",!!(e.infobar&&1<t.group.length)).toggleClass("fancybox-show-caption",!!t.$caption).toggleClass("fancybox-show-nav",!!(e.arrows&&1<t.group.length)).toggleClass("fancybox-is-modal",!!e.modal)}
1,toggleControls:function(){this.hasHiddenControls?this.showControls():this.hideControls()}}),g.fancybox={version:"3.5.6",defaults:n,getInstance:function(t){var e=g('.fancybox-container:not(".fancybox-is-closing"):last').data("FancyBox"),o=Array.prototype.slice.call(arguments,1);return e instanceof y&&("string"===g.type(t)?e[t].apply(e,o):"function"===g.type(t)&&t.apply(e,o),e)},open:function(t,e,o){return new y(t,e,o)},close:function(t){var e=this.getInstance();e&&(e.close(),!0===t&&this.close(t))},destroy:function(){this.close(!0),a.add("body").off("click.fb-start","**")},isMobile:/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),use3d:(t=h.createElement("div"),l.getComputedStyle&&l.getComputedStyle(t)&&l.getComputedStyle(t).getPropertyValue("transform")&&!(h.documentMode&&h.documentMode<11)),getTranslate:function(t){var e;return!(!t||!t.length)&&{top:(e=t[0].getBoundingClientRect()).top||0,left:e.left||0,width:e.width,height:e.height,opacity:parseFloat(t.css("opacity"))}},setTranslate:function(t,e){var o="",i={};if(t&&e)return e.left===m&&e.top===m||(o=(e.left===m?t.position().left:e.left)+"px, "+(e.top===m?t.position().top:e.top)+"px",o=this.use3d?"translate3d("+o+", 0px)":"translate("+o+")"),e.scaleX!==m&&e.scaleY!==m?o+=" scale("+e.scaleX+", "+e.scaleY+")":e.scaleX!==m&&(o+=" scaleX("+e.scaleX+")"),o.length&&(i.transform=o),e.opacity!==m&&(i.opacity=e.opacity),e.width!==m&&(i.width=e.width),e.height!==m&&(i.height=e.height),t.css(i)},animate:function(e,o,i,n,s){var a,r=this;g.isFunction(i)&&(n=i,i=null),r.stop(e),a=r.getTranslate(e),e.on(d,function(t){(!t||!t.originalEvent||e.is(t.originalEvent.target)&&"z-index"!=t.originalEvent.propertyName)&&(r.stop(e),g.isNumeric(i)&&e.css("transition-duration",""),g.isPlainObject(o)?o.scaleX!==m&&o.scaleY!==m&&r.setTranslate(e,{top:o.top,left:o.left,width:a.width*o.scaleX,height:a.height*o.scaleY,scaleX:1,scaleY:1}):!0!==s&&e.removeClass(o),g.isFunction(n)&&n(t))}),g.isNumeric(i)&&e.css("transition-duration",i+"ms"),g.isPlainObject(o)?(o.scaleX!==m&&o.scaleY!==m&&(delete o.width,delete o.height,e.parent().hasClass("fancybox-slide--image")&&e.parent().addClass("fancybox-is-scaling")),g.fancybox.setTranslate(e,o)):e.addClass(o),e.data("timer",setTimeout(function(){e.trigger(d)},i+33))},stop:function(t,e){t&&t.length&&(clearTimeout(t.data("timer")),e&&t.trigger(d),t.off(d).css("transition-duration",""),t.parent().removeClass("fancybox-is-scaling"))}},g.fn.fancybox=function(t){var e;return(e=(t=t||{}).selector||!1)?g("body").off("click.fb-start",e).on("click.fb-start",e,{options:t},v):this.off("click.fb-start").on("click.fb-start",{items:this,options:t},v),this},a.on("click.fb-start","[data-fancybox]",v),a.on("click.fb-start","[data-fancybox-trigger]",function(t){g('[data-fancybox="'+g(this).attr("data-fancybox-trigger")+'"]').eq(g(this).attr("data-fancybox-index")||0).trigger("click.fb-start",{$trigger:g(this)})}),e=".fancybox-button",o="fancybox-focus",i=null,a.on("mousedown mouseup focus blur",e,function(t){switch(t.type){case"mousedown":i=g(this);break;case"mouseup":i=null;break;case"focusin":g(e).removeClass(o),g(this).is(i)||g(this).is("[disabled]")||g(this).addClass(o);break;case"focusout":g(e).removeClass(o)}})}function v(t,e){var o,i,n,s=[],a=0;t&&t.isDefaultPrevented()||(t.preventDefault(),e=e||{},t&&t.data&&(e=f(t.data.options,e)),o=e.$target||g(t.currentTarget).trigger("blur"),(n=g.fancybox.getInstance())&&n.$trigger&&n.$trigger.is(o)||(s=e.selector?g(e.selector):(i=o.attr("data-fancybox")||"")?(s=t.data?t.data.items:[]).length?s.filter('[data-fancybox="'+i+'"]'):g('[data-fancybox="'+i+'"]'):[o],(a=g(s).index(o))<0&&(a=0),(n=g.fancybox.open(s,e,a)).$trigger=o))}}(window,document,jQuery),function(p){"use strict";var i={youtube:{matcher:/(youtube\.com|youtu\.be|youtube\-nocookie\.com)\/(watch\?(.*&)?v=|v\/|u\/|embed\/?)?(videoseries\?list=(.*)|[\w-]{11}|\?listType=(.*)&list=(.*))(.*)/i,params:{autoplay:1,autohide:1,fs:1,rel:0,hd:1,wmode:"transparent",enablejsapi:1,html5:1},paramPlace:8,type:"iframe",url:"https://www.youtube-nocookie.com/embed/$4",thumb:"https://img.youtube.com/vi/$4/hqdefault.jpg"},vimeo:{matcher:/^.+vimeo.com\/(.*\/)?([\d]+)(.*)?/,params:{autoplay:1,hd:1,show_title:1,show_byline:1,show_portrait:0,fullscreen:1},paramPlace:3,type:"iframe",url:"//player.vimeo.com/video/$2"},instagram:{matcher:/(instagr\.am|instagram\.com)\/p\/([a-zA-Z0-9_\-]+)\/?/i,type:"image",url:"//$1/p/$2/media/?size=l"},gmap_place:{matcher:/(maps\.)?google\.([a-z]{2,3}(\.[a-z]{2})?)\/(((maps\/(place\/(.*)\/)?\@(.*),(\d+.?\d+?)z))|(\?ll=))(.*)?/i,type:"iframe",url:function(t){return"//maps.google."+t[2]+"/?ll="+(t[9]?t[9]+"&z="+Math.floor(t[10])+(t[12]?t[12].replace(/^\//,"&"):""):t[12]+"").replace(/\?/,"&")+"&output="+(t[12]&&
10<t[12].indexOf("layer=c")?"svembed":"embed")}},gmap_search:{matcher:/(maps\.)?google\.([a-z]{2,3}(\.[a-z]{2})?)\/(maps\/search\/)(.*)/i,type:"iframe",url:function(t){return"//maps.google."+t[2]+"/maps?q="+t[5].replace("query=","q=").replace("api=1","")+"&output=embed"}}},f=function(o,t,e){if(o)return e=e||"","object"===p.type(e)&&(e=p.param(e,!0)),p.each(t,function(t,e){o=o.replace("$"+t,e||"")}),e.length&&(o+=(0<o.indexOf("?")?"&":"?")+e),o};p(document).on("objectNeedsType.fb",function(t,e,n){var o,s,a,r,l,c,d,h=n.src||"",u=!1;o=p.extend(!0,{},i,n.opts.media),p.each(o,function(t,e){if(a=h.match(e.matcher)){if(u=e.type,d=t,c={},e.paramPlace&&a[e.paramPlace]){"?"==(l=a[e.paramPlace])[0]&&(l=l.substring(1)),l=l.split("&");for(var o=0;o<l.length;++o){var i=l[o].split("=",2);2==i.length&&(c[i[0]]=decodeURIComponent(i[1].replace(/\+/g," ")))}}return r=p.extend(!0,{},e.params,n.opts[t],c),h="function"===p.type(e.url)?e.url.call(this,a,r,n):f(e.url,a,r),s="function"===p.type(e.thumb)?e.thumb.call(this,a,r,n):f(e.thumb,a),"youtube"===t?h=h.replace(/&t=((\d+)m)?(\d+)s/,function(t,e,o,i){return"&start="+((o?60*parseInt(o,10):0)+parseInt(i,10))}):"vimeo"===t&&(h=h.replace("&%23","#")),!1}}),u?(n.opts.thumb||n.opts.$thumb&&n.opts.$thumb.length||(n.opts.thumb=s),"iframe"===u&&(n.opts=p.extend(!0,n.opts,{iframe:{preload:!1,attr:{scrolling:"no"}}})),p.extend(n,{type:u,src:h,origSrc:n.src,contentSource:d,contentType:"image"===u?"image":"gmap_place"==d||"gmap_search"==d?"map":"video"})):h&&(n.type=n.opts.defaultType)});var n={youtube:{src:"https://www.youtube.com/iframe_api",class:"YT",loading:!1,loaded:!1},vimeo:{src:"https://player.vimeo.com/api/player.js",class:"Vimeo",loading:!1,loaded:!1},load:function(t){var e,o=this;this[t].loaded?setTimeout(function(){o.done(t)}):this[t].loading||(this[t].loading=!0,(e=document.createElement("script")).type="text/javascript",e.src=this[t].src,"youtube"===t?window.onYouTubeIframeAPIReady=function(){o[t].loaded=!0,o.done(t)}:e.onload=function(){o[t].loaded=!0,o.done(t)},document.body.appendChild(e))},done:function(t){var e,o;"youtube"===t&&delete window.onYouTubeIframeAPIReady,(e=p.fancybox.getInstance())&&(o=e.current.$content.find("iframe"),"youtube"===t&&void 0!==YT&&YT?new YT.Player(o.attr("id"),{events:{onStateChange:function(t){0==t.data&&e.next()}}}):"vimeo"===t&&void 0!==Vimeo&&Vimeo&&new Vimeo.Player(o).on("ended",function(){e.next()}))}};p(document).on({"afterShow.fb":function(t,e,o){1<e.group.length&&("youtube"===o.contentSource||"vimeo"===o.contentSource)&&n.load(o.contentSource)}})}(jQuery),function(g,l,m){"use strict";var y=g.requestAnimationFrame||g.webkitRequestAnimationFrame||g.mozRequestAnimationFrame||g.oRequestAnimationFrame||function(t){return g.setTimeout(t,1e3/60)},v=g.cancelAnimationFrame||g.webkitCancelAnimationFrame||g.mozCancelAnimationFrame||g.oCancelAnimationFrame||function(t){g.clearTimeout(t)},d=function(t){var e=[];for(var o in t=(t=t.originalEvent||t||g.e).touches&&t.touches.length?t.touches:t.changedTouches&&t.changedTouches.length?t.changedTouches:[t])t[o].pageX?e.push({x:t[o].pageX,y:t[o].pageY}):t[o].clientX&&e.push({x:t[o].clientX,y:t[o].clientY});return e},w=function(t,e,o){return e&&t?"x"===o?t.x-e.x:"y"===o?t.y-e.y:Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2)):0},c=function(t){if(t.is('a,area,button,[role="button"],input,label,select,summary,textarea,video,audio,iframe')||m.
vendor: 4,662 bytes, line 1
1isFunction(t.get(0).onclick)||t.data("selectable"))return!0;for(var e=0,o=t[0].attributes,i=o.length;e<i;e++)if("data-fancybox-"===o[e].nodeName.substr(0,14))return!0;return!1},h=function(t){for(var e,o,i,n,s,a=!1;e=t.get(0),void 0,o=g.getComputedStyle(e)["overflow-y"],i=g.getComputedStyle(e)["overflow-x"],n=("scroll"===o||"auto"===o)&&e.scrollHeight>e.clientHeight,s=("scroll"===i||"auto"===i)&&e.scrollWidth>e.clientWidth,!(a=n||s)&&(t=t.parent()).length&&!t.hasClass("fancybox-stage")&&!t.is("body"););return a},o=function(t){var e=this;e.instance=t,e.$bg=t.$refs.bg,e.$stage=t.$refs.stage,e.$container=t.$refs.container,e.destroy(),e.$container.on("touchstart.fb.touch mousedown.fb.touch",m.proxy(e,"ontouchstart"))};o.prototype.destroy=function(){var t=this;t.$container.off(".fb.touch"),m(l).off(".fb.touch"),t.requestId&&(v(t.requestId),t.requestId=null),t.tapped&&(clearTimeout(t.tapped),t.tapped=null)},o.prototype.ontouchstart=function(t){var e=this,o=m(t.target),i=e.instance,n=i.current,s=n.$slide,a=n.$content,r="touchstart"==t.type;if(r&&e.$container.off("mousedown.fb.touch"),(!t.originalEvent||2!=t.originalEvent.button)&&s.length&&o.length&&!c(o)&&!c(o.parent())&&(o.is("img")||!(t.originalEvent.clientX>o[0].clientWidth+o.offset().left))){if(!n||i.isAnimating||n.$slide.hasClass("fancybox-animated"))return t.stopPropagation(),void t.preventDefault();e.realPoints=e.startPoints=d(t),e.startPoints.length&&(n.touch&&t.stopPropagation(),e.startEvent=t,e.canTap=!0,e.$target=o,e.$content=a,e.opts=n.opts.touch,e.isPanning=!1,e.isSwiping=!1,e.isZooming=!1,e.isScrolling=!1,e.canPan=i.canPan(),e.startTime=(new Date).getTime(),e.distanceX=e.distanceY=e.distance=0,e.canvasWidth=Math.round(s[0].clientWidth),e.canvasHeight=Math.round(s[0].clientHeight),e.contentLastPos=null,e.contentStartPos=m.fancybox.getTranslate(e.$content)||{top:0,left:0},e.sliderStartPos=m.fancybox.getTranslate(s),e.stagePos=m.fancybox.getTranslate(i.$refs.stage),e.sliderStartPos.top-=e.stagePos.top,e.sliderStartPos.left-=e.stagePos.left,e.contentStartPos.top-=e.stagePos.top,e.contentStartPos.left-=e.stagePos.left,m(l).off(".fb.touch").on(r?"touchend.fb.touch touchcancel.fb.touch":"mouseup.fb.touch mouseleave.fb.touch",m.proxy(e,"ontouchend")).on(r?"touchmove.fb.touch":"mousemove.fb.touch",m.proxy(e,"ontouchmove")),m.fancybox.isMobile&&l.addEventListener("scroll",e.onscroll,!0),((e.opts||e.canPan)&&(o.is(e.$stage)||e.$stage.find(o).length)||(o.is(".fancybox-image")&&t.preventDefault(),m.fancybox.isMobile&&o.parents(".fancybox-caption").length))&&(e.isScrollable=h(o)||h(o.parent()),m.fancybox.isMobile&&e.isScrollable||t.preventDefault(),(1===e.startPoints.length||n.hasError)&&(e.canPan?(m.fancybox.stop(e.$content),e.isPanning=!0):e.isSwiping=!0,e.$container.addClass("fancybox-is-grabbing")),2===e.startPoints.length&&"image"===n.type&&(n.isLoaded||n.$ghost)&&(e.canTap=!1,e.isSwiping=!1,e.isPanning=!1,e.isZooming=!0,m.fancybox.stop(e.$content),e.centerPointStartX=.5*(e.startPoints[0].x+e.startPoints[1].x)-m(g).scrollLeft(),e.centerPointStartY=.5*(e.startPoints[0].y+e.startPoints[1].y)-m(g).scrollTop(),e.percentageOfImageAtPinchPointX=(e.centerPointStartX-e.contentStartPos.left)/e.contentStartPos.width,e.percentageOfImageAtPinchPointY=(e.centerPointStartY-e.contentStartPos.top)/e.contentStartPos.height,e.startDistanceBetweenFingers=w(e.startPoints[0],e.startPoints[1]))))}},o.prototype.onscroll=function(t){this.isScrolling=!0,l.removeEventListener("scroll",this.onscroll,!0)},o.prototype.ontouchmove=function(t){var e=this;void 0===t.originalEvent.buttons||0!==t.originalEvent.buttons?e.isScrolling?e.canTap=!1:(e.newPoints=d(t),(e.opts||e.canPan)&&e.newPoints.length&&e.newPoints.length&&(e.isSwiping&&!0===e.isSwiping||t.preventDefault(),e.distanceX=w(e.newPoints[0],e.startPoints[0],"x"),e.distanceY=w(e.newPoints[0],e.startPoints[0],"y"),e.distance=w(e.newPoints[0],e.startPoints[0]),0<e.distance&&(e.isSwiping?e.onSwipe(t):e.isPanning?e.onPan():e.isZooming&&e.onZoom()))):e.ontouchend(t)},o.prototype.onSwipe=function(t){var e,n=this,s=n.instance,o=n.isSwiping,i=n.sliderStartPos.left||0;if(!0!==o)"x"==o&&(0<n.distanceX&&(n.instance.group.length<2||0===n.instance.current.index&&!n.instance.current.opts.loop)?i+=Math.pow(n.distanceX,.8):n.distanceX<0&&(n.instance.group.length<2||n.instance.current.index===n.instance.group.length-1&&!n.instance.current.opts.loop)?i-=Math.pow(-n.distanceX,.8):i+=n.distanceX),n.sliderLastPos={top:"x"==o?0:n.sliderStartPos.top+n.distanceY,left:i},n.requestId&&(v(n.requestId),n.requestId=null),n.requestId=y(function(){n.sliderLastPos&&(m.each(n.instance.slides,function(t,e){var o=e.pos-n.instance.currPos;
1m.fancybox.setTranslate(e.$slide,{top:n.sliderLastPos.top,left:n.sliderLastPos.left+o*n.canvasWidth+o*e.opts.gutter})}),n.$container.addClass("fancybox-is-sliding"))});else if(10<Math.abs(n.distance)){if(n.canTap=!1,s.group.length<2&&n.opts.vertical?n.isSwiping="y":s.isDragging||!1===n.opts.vertical||"auto"===n.opts.vertical&&800<m(g).width()?n.isSwiping="x":(e=Math.abs(180*Math.atan2(n.distanceY,n.distanceX)/Math.PI),n.isSwiping=45<e&&e<135?"y":"x"),"y"===n.isSwiping&&m.fancybox.isMobile&&n.isScrollable)return void(n.isScrolling=!0);s.isDragging=n.isSwiping,n.startPoints=n.newPoints,m.each(s.slides,function(t,e){var o,i;m.fancybox.stop(e.$slide),o=m.fancybox.getTranslate(e.$slide),i=m.fancybox.getTranslate(s.$refs.stage),e.$slide.css({transform:"",opacity:"","transition-duration":""}).removeClass("fancybox-animated").removeClass(function(t,e){return(e.match(/(^|\s)fancybox-fx-\S+/g)||[]).join(" ")}),e.pos===s.current.pos&&(n.sliderStartPos.top=o.top-i.top,n.sliderStartPos.left=o.left-i.left),m.fancybox.setTranslate(e.$slide,{top:o.top-i.top,left:o.left-i.left})}),s.SlideShow&&s.SlideShow.isActive&&s.SlideShow.stop()}},o.prototype.onPan=function(){var t=this;w(t.newPoints[0],t.realPoints[0])<(m.fancybox.isMobile?10:5)?t.startPoints=t.newPoints:(t.canTap=!1,t.contentLastPos=t.limitMovement(),t.requestId&&v(t.requestId),t.requestId=y(function(){m.fancybox.setTranslate(t.$content,t.contentLastPos)}))},o.prototype.limitMovement=function(){var t,e,o,i,n,s,a=this,r=a.canvasWidth,l=a.canvasHeight,c=a.distanceX,d=a.distanceY,h=a.contentStartPos,u=h.left,p=h.top,f=h.width,g=h.height;return n=r<f?u+c:u,s=p+d,t=Math.max(0,.5*r-.5*f),e=Math.max(0,.5*l-.5*g),o=Math.min(r-f,.5*r-.5*f),i=Math.min(l-g,.5*l-.5*g),0<c&&t<n&&(n=t-1+Math.pow(-t+u+c,.8)||0),c<0&&n<o&&(n=o+1-Math.pow(o-u-c,.8)||0),0<d&&e<s&&(s=e-1+Math.pow(-e+p+d,.8)||0),d<0&&s<i&&(s=i+1-Math.pow(i-p-d,.8)||0),{top:s,left:n}},o.prototype.limitPosition=function(t,e,o,i){var n=this.canvasWidth,s=this.canvasHeight;return t=n<o?(t=0<t?0:t)<n-o?n-o:t:Math.max(0,n/2-o/2),{top:e=s<i?(e=0<e?0:e)<s-i?s-i:e:Math.max(0,s/2-i/2),left:t}},o.prototype.onZoom=function(){var t=this,e=t.contentStartPos,o=e.width,i=e.height,n=e.left,s=e.top,a=w(t.newPoints[0],t.newPoints[1])/t.startDistanceBetweenFingers,r=Math.floor(o*a),l=Math.floor(i*a),c=(o-r)*t.percentageOfImageAtPinchPointX,d=(i-l)*t.percentageOfImageAtPinchPointY,h=(t.newPoints[0].x+t.newPoints[1].x)/2-m(g).scrollLeft(),u=(t.newPoints[0].y+t.newPoints[1].y)/2-m(g).scrollTop(),p=h-t.centerPointStartX,f={top:s+(d+(u-t.centerPointStartY)),left:n+(c+p),scaleX:a,scaleY:a};t.canTap=!1,t.newWidth=r,t.newHeight=l,t.contentLastPos=f,t.requestId&&v(t.requestId),t.requestId=y(function(){m.fancybox.setTranslate(t.$content,t.contentLastPos)})},o.prototype.ontouchend=function(t){var e=this,o=e.isSwiping,i=e.isPanning,n=e.isZooming,s=e.isScrolling;if(e.endPoints=d(t),e.dMs=Math.max((new Date).getTime()-e.startTime,1),e.$container.removeClass("fancybox-is-grabbing"),m(l).off(".fb.touch"),l.removeEventListener("scroll",e.onscroll,!0),e.requestId&&(v(e.requestId),e.requestId=null),e.isSwiping=!1,e.isPanning=!1,e.isZooming=!1,e.isScrolling=!1,e.instance.isDragging=!1,e.canTap)return e.onTap(t);e.speed=100,e.velocityX=e.distanceX/e.dMs*.5,e.velocityY=e.distanceY/e.dMs*.5,i?e.endPanning():n?e.endZooming():e.endSwiping(o,s)},o.prototype.endSwiping=function(t,e){var o=this,i=!1,n=o.instance.group.length,s=Math.abs(o.distanceX),a="x"==t&&1<n&&(130<o.dMs&&10<s||50<s);o.sliderLastPos=null,"y"==t&&!e&&50<Math.abs(o.distanceY)?(m.fancybox.animate(o.instance.current.$slide,{top:o.sliderStartPos.top+o.distanceY+150*o.velocityY,opacity:0},200),i=o.instance.close(!0,250)):a&&0<o.distanceX?i=o.instance.previous(300):a&&o.distanceX<0&&(i=o.instance.next(300)),!1!==i||"x"!=t&&"y"!=t||o.instance.centerSlide(200),o.$container.removeClass("fancybox-is-sliding")},o.prototype.endPanning=function(){var t,e,o,i=this;i.contentLastPos&&(e=!1===i.opts.momentum||350<i.dMs?(t=i.contentLastPos.left,i.contentLastPos.top):(t=i.contentLastPos.left+500*i.velocityX,i.contentLastPos.top+500*i.velocityY),(o=i.limitPosition(t,e,
vendor: 16,600 bytes, line 1
1i.contentStartPos.width,i.contentStartPos.height)).width=i.contentStartPos.width,o.height=i.contentStartPos.height,m.fancybox.animate(i.$content,o,366))},o.prototype.endZooming=function(){var t,e,o,i,n=this,s=n.instance.current,a=n.newWidth,r=n.newHeight;n.contentLastPos&&(t=n.contentLastPos.left,i={top:e=n.contentLastPos.top,left:t,width:a,height:r,scaleX:1,scaleY:1},m.fancybox.setTranslate(n.$content,i),a<n.canvasWidth&&r<n.canvasHeight?n.instance.scaleToFit(150):a>s.width||r>s.height?n.instance.scaleToActual(n.centerPointStartX,n.centerPointStartY,150):(o=n.limitPosition(t,e,a,r),m.fancybox.animate(n.$content,o,150)))},o.prototype.onTap=function(o){var t,i=this,e=m(o.target),n=i.instance,s=n.current,a=o&&d(o)||i.startPoints,r=a[0]?a[0].x-m(g).scrollLeft()-i.stagePos.left:0,l=a[0]?a[0].y-m(g).scrollTop()-i.stagePos.top:0,c=function(t){var e=s.opts[t];if(m.isFunction(e)&&(e=e.apply(n,[s,o])),e)switch(e){case"close":n.close(i.startEvent);break;case"toggleControls":n.toggleControls();break;case"next":n.next();break;case"nextOrClose":1<n.group.length?n.next():n.close(i.startEvent);break;case"zoom":"image"==s.type&&(s.isLoaded||s.$ghost)&&(n.canPan()?n.scaleToFit():n.isScaledDown()?n.scaleToActual(r,l):n.group.length<2&&n.close(i.startEvent))}};if((!o.originalEvent||2!=o.originalEvent.button)&&(e.is("img")||!(r>e[0].clientWidth+e.offset().left))){if(e.is(".fancybox-bg,.fancybox-inner,.fancybox-outer,.fancybox-container"))t="Outside";else if(e.is(".fancybox-slide"))t="Slide";else{if(!n.current.$content||!n.current.$content.find(e).addBack().filter(e).length)return;t="Content"}if(i.tapped){if(clearTimeout(i.tapped),i.tapped=null,50<Math.abs(r-i.tapX)||50<Math.abs(l-i.tapY))return this;c("dblclick"+t)}else i.tapX=r,i.tapY=l,s.opts["dblclick"+t]&&s.opts["dblclick"+t]!==s.opts["click"+t]?i.tapped=setTimeout(function(){i.tapped=null,n.isAnimating||c("click"+t)},500):c("click"+t);return this}},m(l).on("onActivate.fb",function(t,e){e&&!e.Guestures&&(e.Guestures=new o(e))}).on("beforeClose.fb",function(t,e){e&&e.Guestures&&e.Guestures.destroy()})}(window,document,jQuery),function(a,r){"use strict";r.extend(!0,r.fancybox.defaults,{btnTpl:{slideShow:'<button data-fancybox-play class="fancybox-button fancybox-button--play" title="{{PLAY_START}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M6.5 5.4v13.2l11-6.6z"/></svg><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M8.33 5.75h2.2v12.5h-2.2V5.75zm5.15 0h2.2v12.5h-2.2V5.75z"/></svg></button>'},slideShow:{autoStart:!1,speed:3e3,progress:!0}});var o=function(t){this.instance=t,this.init()};r.extend(o.prototype,{timer:null,isActive:!1,$button:null,init:function(){var t=this,e=t.instance,o=e.group[e.currIndex].opts.slideShow;t.$button=e.$refs.toolbar.find("[data-fancybox-play]").on("click",function(){t.toggle()}),e.group.length<2||!o?t.$button.hide():o.progress&&(t.$progress=r('<div class="fancybox-progress"></div>').appendTo(e.$refs.inner))},set:function(t){var e=this,o=e.instance,i=o.current;i&&(!0===t||i.opts.loop||o.currIndex<o.group.length-1)?e.isActive&&"video"!==i.contentType&&(e.$progress&&r.fancybox.animate(e.$progress.show(),{scaleX:1},i.opts.slideShow.speed),e.timer=setTimeout(function(){o.current.opts.loop||o.current.index!=o.group.length-1?o.next():o.jumpTo(0)},i.opts.slideShow.speed)):(e.stop(),o.idleSecondsCounter=0,o.showControls())},clear:function(){clearTimeout(this.timer),this.timer=null,this.$progress&&this.$progress.removeAttr("style").hide()},start:function(){var t=this,e=t.instance.current;e&&(t.$button.attr("title",(e.opts.i18n[e.opts.lang]||e.opts.i18n.en).PLAY_STOP).removeClass("fancybox-button--play").addClass("fancybox-button--pause"),t.isActive=!0,e.isComplete&&t.set(!0),t.instance.trigger("onSlideShowChange",!0))},stop:function(){var t=this,e=t.instance.current;t.clear(),t.$button.attr("title",(e.opts.i18n[e.opts.lang]||e.opts.i18n.en).PLAY_START).removeClass("fancybox-button--pause").addClass("fancybox-button--play"),t.isActive=!1,t.instance.trigger("onSlideShowChange",!1),t.$progress&&t.$progress.removeAttr("style").hide()},toggle:function(){this.isActive?this.stop():this.start()}}),r(a).on({"onInit.fb":function(t,e){e&&!e.SlideShow&&(e.SlideShow=new o(e))},"beforeShow.fb":function(t,e,o,i){var n=e&&e.SlideShow;i?n&&o.opts.slideShow.autoStart&&n.start():n&&n.isActive&&n.clear()},"afterShow.fb":function(t,e,o){var i=e&&e.SlideShow;i&&i.isActive&&i.set()},"afterKeydown.fb":function(t,e,o,i,n){var s=e&&e.SlideShow;!s||!o.opts.slideShow||80!==n&&32!==n||r(a.activeElement).is("button,a,input")||(i.preventDefault(),s.toggle())},"beforeClose.fb onDeactivate.fb":function(t,e){var o=e&&e.SlideShow;o&&o.stop()}}),r(a).on("visibilitychange",function(){var t=r.fancybox.getInstance(),e=t&&t.SlideShow;e&&e.isActive&&(a.hidden?e.clear():e.set())})}(document,jQuery),function(s,o){"use strict";var i=function(){for(var t=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],e={},o=0;o<t.length;o++){var i=t[o];if(i&&i[1]in s){for(var n=0;n<i.length;n++)e[t[0][n]]=i[n];return e}}return!1}();if(i){var n={request:function(t){(t=t||s.documentElement)[i.requestFullscreen](t.ALLOW_KEYBOARD_INPUT)},exit:function(){s[i.exitFullscreen]()},toggle:function(t){t=t||s.documentElement,this.isFullscreen()?this.exit():this.request(t)},isFullscreen:function(){return Boolean(s[i.fullscreenElement])},enabled:function(){return Boolean(s[i.fullscreenEnabled])}};o.extend(!0,o.fancybox.defaults,{btnTpl:{fullScreen:'<button data-fancybox-fullscreen class="fancybox-button fancybox-button--fsenter" title="{{FULL_SCREEN}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M7 14H5v5h5v-2H7v-3zm-2-4h2V7h3V5H5v5zm12 7h-3v2h5v-5h-2v3zM14 5v2h3v3h2V5h-5z"/></svg><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M5 16h3v3h2v-5H5zm3-8H5v2h5V5H8zm6 11h2v-3h3v-2h-5zm2-11V5h-2v5h5V8z"/></svg></button>'},fullScreen:{autoStart:!1}}),o(s).on(i.fullscreenchange,function(){var t=n.isFullscreen(),e=o.fancybox.getInstance();e&&(e.current&&"image"===e.current.type&&e.isAnimating&&(e.isAnimating=!1,e.update(!0,!0,0),e.isComplete||e.complete()),e.trigger("onFullscreenChange",t),e.$refs.container.toggleClass("fancybox-is-fullscreen",t),e.$refs.toolbar.find("[data-fancybox-fullscreen]").toggleClass("fancybox-button--fsenter",!t).toggleClass("fancybox-button--fsexit",t))})}o(s).on({"onInit.fb":function(t,e){i?e&&e.group[e.currIndex].opts.fullScreen?(e.$refs.container.on("click.fb-fullscreen","[data-fancybox-fullscreen]",function(t){t.stopPropagation(),t.preventDefault(),n.toggle()}),e.opts.fullScreen&&!0===e.opts.fullScreen.autoStart&&n.request(),e.FullScreen=n):e&&e.$refs.toolbar.find("[data-fancybox-fullscreen]").hide():e.$refs.toolbar.find("[data-fancybox-fullscreen]").remove()},"afterKeydown.fb":function(t,e,o,i,n){e&&e.FullScreen&&70===n&&(i.preventDefault(),e.FullScreen.toggle())},"beforeClose.fb":function(t,e){e&&e.FullScreen&&e.$refs.container.hasClass("fancybox-is-fullscreen")&&n.exit()}})}(document,jQuery),function(t,s){"use strict";var a="fancybox-thumbs",r=a+"-active";s.fancybox.defaults=s.extend(!0,{btnTpl:{thumbs:'<button data-fancybox-thumbs class="fancybox-button fancybox-button--thumbs" title="{{THUMBS}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M14.59 14.59h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76H5.65v-3.76zm8.94-4.47h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76H5.65v-3.76zm8.94-4.47h3.76v3.76h-3.76V5.65zm-4.47 0h3.76v3.76h-3.76V5.65zm-4.47 0h3.76v3.76H5.65V5.65z"/></svg></button>'},thumbs:{autoStart:!1,hideOnClose:!0,parentEl:".fancybox-container",axis:"y"}},s.fancybox.defaults);var i=function(t){this.init(t)};s.extend(i.prototype,{$button:null,$grid:null,$list:null,isVisible:!1,isActive:!1,init:function(t){var e=this,o=t.group,i=0;e.instance=t,e.opts=o[t.currIndex].opts.thumbs,(t.Thumbs=e).$button=t.$refs.toolbar.find("[data-fancybox-thumbs]");for(var n=0,s=o.length;n<s&&(o[n].thumb&&i++,!(1<i));n++);1<i&&e.opts?(e.$button.removeAttr("style").on("click",function(){e.toggle()}),e.isActive=!0):e.$button.hide()},create:function(){var o,t=this,e=t.instance,i=t.opts.parentEl,n=[];t.$grid||(t.$grid=s('<div class="'+a+" "+a+"-"+t.opts.axis+'"></div>').appendTo(e.$refs.container.find(i).addBack().filter(i)),t.$grid.on("click","a",function(){e.jumpTo(s(this).attr("data-index"))})),t.$list||(t.$list=s('<div class="'+a+'__list">').appendTo(t.$grid)),s.each(e.group,function(t,e){(o=e.thumb)||"image"!==e.type||(o=e.src),n.push('<a href="javascript:;" tabindex="0" data-index="'+t+'"'+(o&&o.length?' style="background-image:url('+o+')"':'class="fancybox-thumbs-missing"')+"></a>")}),t.$list[0].innerHTML=n.join(""),"x"===t.opts.axis&&t.$list.width(parseInt(t.$grid.css("padding-right"),10)+e.group.length*t.$list.children().eq(0).outerWidth(!0))},focus:function(t){var e,o,i=this,n=i.$list,s=i.$grid;i.instance.current&&(o=(e=n.children().removeClass(r).filter('[data-index="'+i.instance.current.index+'"]').addClass(r)).position(),"y"===i.opts.axis&&(o.top<0||o.top>n.height()-e.outerHeight())?n.stop().animate({scrollTop:n.scrollTop()+o.top},t):"x"===i.opts.axis&&(o.left<s.scrollLeft()||o.left>s.scrollLeft()+(s.width()-e.outerWidth()))&&n.parent().stop().animate({scrollLeft:o.left},t))},update:function(){var t=this;t.instance.$refs.container.toggleClass("fancybox-show-thumbs",this.isVisible),t.isVisible?(t.$grid||t.create(),t.instance.trigger("onThumbsShow"),t.focus(0)):t.$grid&&t.instance.trigger("onThumbsHide"),t.instance.update()},hide:function(){this.isVisible=!1,this.update()},show:function(){this.isVisible=!0,this.update()},toggle:function(){this.isVisible=!this.isVisible,this.update()}}),s(t).on({"onInit.fb":function(t,e){var o;e&&!e.Thumbs&&(o=new i(e)).isActive&&!0===o.opts.autoStart&&o.show()},"beforeShow.fb":function(t,e,o,i){var n=e&&e.Thumbs;n&&n.isVisible&&n.focus(i?0:250)},"afterKeydown.fb":function(t,e,o,i,n){var s=e&&e.Thumbs;s&&s.isActive&&71===n&&(i.preventDefault(),s.toggle())},"beforeClose.fb":function(t,e){var o=e&&e.Thumbs;o&&o.isVisible&&!1!==o.opts.hideOnClose&&o.$grid.hide()}})}(document,jQuery),function(t,a){"use strict";a.extend(!0,a.fancybox.defaults,{btnTpl:{share:'<button data-fancybox-share class="fancybox-button fancybox-button--share" title="{{SHARE}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M2.55 19c1.4-8.4 9.1-9.8 11.9-9.8V5l7 7-7 6.3v-3.5c-2.8 0-10.5 2.1-11.9 4.2z"/></svg></button>'},share:{url:function(t,e){return!t.currentHash&&"inline"!==e.type&&"html"!==e.type&&(e.origSrc||e.src)||window.location},tpl:'<div class="fancybox-share"><h1>{{SHARE}}</h1><p><a class="fancybox-share__button fancybox-share__button--fb" href="https://www.facebook.com/sharer/sharer.php?u={{url}}"><svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="m287 456v-299c0-21 6-35 35-35h38v-63c-7-1-29-3-55-3-54 0-91 33-91 94v306m143-254h-205v72h196" /></svg><span>Facebook</span></a><a class="fancybox-share__button fancybox-share__button--tw" href="https://twitter.com/intent/tweet?url={{url}}&text={{descr}}"><svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="m456 133c-14 7-31 11-47 13 17-10 30-27 37-46-15 10-34 16-52 20-61-62-157-7-141 75-68-3-129-35-169-85-22 37-11 86 26 109-13 0-26-4-37-9 0 39 28 72 65 80-12 3-25 4-37 2 10 33 41 57 77 57-42 30-77 38-122 34 170 111 378-32 359-208 16-11 30-25 41-42z" /></svg><span>Twitter</span></a><a class="fancybox-share__button fancybox-share__button--pt" href="https://www.pinterest.com/pin/create/button/?url={{url}}&description={{descr}}&media={{media}}"><svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="m265 56c-109 0-164 78-164 144 0 39 15 74 47 87 5 2 10 0 12-5l4-19c2-6 1-8-3-13-9-11-15-25-15-45 0-58 43-110 113-110 62 0 96 38 96 88 0 67-30 122-73 122-24 0-42-19-36-44 6-29 20-60 20-81 0-19-10-35-31-35-25 0-44 26-44 60 0 21 7 36 7 36l-30 125c-8 37-1 83 0 87 0 3 4 4 5 2 2-3 32-39 42-75l16-64c8 16 31 29 56 29 74 0 124-67 124-157 0-69-58-132-146-132z" fill="#fff"/></svg><span>Pinterest</span></a></p><p><input class="fancybox-share__input" type="text" value="{{url_raw}}" onclick="select()" /></p></div>'}}),a(t).on("click","[data-fancybox-share]",function(){var t,e,o,i,n=a.fancybox.getInstance(),s=n.current||null;s&&("function"===a.type(s.opts.share.url)&&(t=s.opts.share.url.apply(s,[n,s])),e=s.opts.share.tpl.replace(/\{\{media\}\}/g,"image"===s.type?encodeURIComponent(s.src):"").replace(/\{\{url\}\}/g,encodeURIComponent(t)).replace(/\{\{url_raw\}\}/g,(o=t,i={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;","`":"&#x60;","=":"&#x3D;"},String(o).replace(/[&<>"'`=\/]/g,function(t){return i[t]}))).replace(/\{\{descr\}\}/g,n.$caption?encodeURIComponent(n.$caption.text()):""),a.fancybox.open({src:n.translate(n,e),type:"html",opts:{touch:!1,animationEffect:!1,afterLoad:function(t,e){n.$refs.container.one("beforeClose.fb",function(){t.close(null,0)}),e.$content.find(".fancybox-share__button").click(function(){return window.open(this.href,"Share","width=550, height=450"),!1})},mobile:{autoFocus:!1}}}))})}(document,jQuery),function(s,a,n){"use strict";function r(){var t=s.location.hash.substr(1),e=t.split("-"),o=1<e.length&&/^\+?\d+$/.test(e[e.length-1])&&parseInt(e.pop(-1),10)||1;return{hash:t,index:o<1?1:o,gallery:e.join("-")}}function e(t){""!==t.gallery&&n("[data-fancybox='"+n.escapeSelector(t.gallery)+"']").eq(t.index-1).focus().trigger("click.fb-start")}function l(t){var e,o;return!!t&&(""!==(o=(e=t.current?t.current.opts:t.opts).hash||(e.$orig?e.$orig.data("fancybox")||e.$orig.data("fancybox-trigger"):""))&&o)}n.escapeSelector||(n.escapeSelector=function(t){return(t+"").replace(/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t})}),n(function(){!1!==n.fancybox.defaults.hash&&(n(a).on({"onInit.fb":function(t,e){var o,i;!1!==e.group[e.currIndex].opts.hash&&(o=r(),(i=l(e))&&o.gallery&&i==o.gallery&&(e.currIndex=o.index-1))},"beforeShow.fb":function(t,e,o,i){var n;o&&!1!==o.opts.hash&&(n=l(e))&&(e.currentHash=n+(1<e.group.length?"-"+(o.index+1):""),s.location.hash!=="#"+e.currentHash&&(i&&!e.origHash&&(e.origHash=s.location.hash),e.hashTimer&&clearTimeout(e.hashTimer),e.hashTimer=setTimeout(function(){"replaceState"in s.history?(s.history[i?"pushState":"replaceState"]({},a.title,s.location.pathname+s.location.search+"#"+e.currentHash),i&&(e.hasCreatedHistory=!0)):s.location.hash=e.currentHash,e.hashTimer=null},300)))},"beforeClose.fb":function(t,e,o){o&&!1!==o.opts.hash&&(clearTimeout(e.hashTimer),e.currentHash&&e.hasCreatedHistory?s.history.back():e.currentHash&&("replaceState"in s.history?s.history.replaceState({},a.title,s.location.pathname+s.location.search+(e.origHash||"")):s.location.hash=e.origHash),e.currentHash=null)}}),n(s).on("hashchange.fb",function(){var t=r(),i=null;n.each(n(".fancybox-container").get().reverse(),function(t,e){var o=n(e).data("FancyBox");if(o&&o.currentHash)return i=o,!1}),i?i.currentHash===t.gallery+"-"+t.index||1===t.index&&i.currentHash==t.gallery||(i.currentHash=null,i.close()):""!==t.gallery&&e(t)}),setTimeout(function(){n.fancybox.getInstance()||e(r())},50))})}(window,document,jQuery),function(t,e){"use strict";var n=(new Date).getTime();e(t).on({"onInit.fb":function(t,i,e){i.$refs.stage.on("mousewheel DOMMouseScroll wheel MozMousePixelScroll",function(t){var e=i.current,o=(new Date).getTime();i.group.length<2||!1===e.opts.wheel||"auto"===e.opts.wheel&&"image"!==e.type||(t.preventDefault(),t.stopPropagation(),e.$slide.hasClass("fancybox-animated")||(t=t.originalEvent||t,o-n<250||(n=o,i[(-t.deltaY||-t.deltaX||t.wheelDelta||-t.detail)<0?"next":"previous"]())))})}})}(document,jQuery),jQuery(document).ready(function(t){t(".epa-view-demo").click(function(){window.open("https://demos.codenat.com/image-accordion-for-elementor")}
1),t(".epa-view-videoplayer").click(function(){window.open("https://demos.codenat.com/video-player-for-elementor/")}),t(".epa-view-gmaps").click(function(){window.open("https://demos.codenat.com/google-maps-for-elementor/")}),t(".epa-view-logocarousel").click(function(){window.open("https://demos.codenat.com/logo-carousel-for-elementor/")}),t(".epa-view-features,.epa-buy-now").click(function(){window.open("https://codenat.com/downloads/essential-premium-addons-for-elementor/")})}),window.Modernizr=function(i,h,a){function o(t){g.cssText=t}function s(t,e){return typeof t===e}function n(t,e){return!!~(""+t).indexOf(e)}function r(t,e){for(var o in t){var i=t[o];if(!n(i,"-")&&g[i]!==a)return"pfx"!=e||i}return!1}function l(t,e,o){var i=t.charAt(0).toUpperCase()+t.slice(1),n=(t+" "+x.join(i+" ")+i).split(" ");return s(e,"string")||s(e,"undefined")?r(n,e):function(t,e,o){for(var i in t){var n=e[t[i]];if(n!==a)return!1===o?t[i]:s(n,"function")?n.bind(o||e):n}return!1}(n=(t+" "+z.join(i+" ")+i).split(" "),e,o)}var t,c,d,u={},p=h.documentElement,f="modernizr",e=h.createElement(f),g=e.style,m=h.createElement("input"),y=":)",v={}.toString,w=" -webkit- -moz- -o- -ms- ".split(" "),b="Webkit Moz O ms",x=b.split(" "),z=b.toLowerCase().split(" "),C="http://www.w3.org/2000/svg",S={},T={},_={},I=[],W=I.slice,L=function(t,e,o,i){var n,s,a,r,l=h.createElement("div"),c=h.body,d=c||h.createElement("body");if(parseInt(o,10))for(;o--;)(a=h.createElement("div")).id=i?i[o]:f+(o+1),l.appendChild(a);return n=["&#173;",'<style id="s',f,'">',t,"</style>"].join(""),l.id=f,(c?l:d).innerHTML+=n,d.appendChild(l),c||(d.style.background="",d.style.overflow="hidden",r=p.style.overflow,p.style.overflow="hidden",p.appendChild(d)),s=e(l,t),c?l.parentNode.removeChild(l):(d.parentNode.removeChild(d),p.style.overflow=r),!!s},k=(d={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"},function(t,e){e=e||h.createElement(d[t]||"div");var o=(t="on"+t)in e;return o||(e.setAttribute||(e=h.createElement("div")),e.setAttribute&&e.removeAttribute&&(e.setAttribute(t,""),o=s(e[t],"function"),s(e[t],"undefined")||(e[t]=a),e.removeAttribute(t))),e=null,o}),E={}.hasOwnProperty;for(var $ in c=s(E,"undefined")||s(E.call,"undefined")?function(t,e){return e in t&&s(t.constructor.prototype[e],"undefined")}:function(t,e){return E.call(t,e)},Function.prototype.bind||(Function.prototype.bind=function(i){var n=this;if("function"!=typeof n)throw new TypeError;var s=W.call(arguments,1),a=function(){if(this instanceof a){var t=function(){};t.prototype=n.prototype;var e=new t,o=n.apply(e,s.concat(W.call(arguments)));return Object(o)===o?o:e}return n.apply(i,s.concat(W.call(arguments)))};return a}),S.flexbox=function(){return l("flexWrap")},S.flexboxlegacy=function(){return l("boxDirection")},S.canvas=function(){var t=h.createElement("canvas");return!(!t.getContext||!t.getContext("2d"))},S.canvastext=function(){return!(!u.canvas||!s(h.createElement("canvas").getContext("2d").fillText,"function"))},S.webgl=function(){return!!i.WebGLRenderingContext},S.touch=function(){var e;return"ontouchstart"in i||i.DocumentTouch&&h instanceof DocumentTouch?e=!0:L(["@media (",w.join("touch-enabled),("),f,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(t){e=9===t.offsetTop}),e},S.geolocation=function(){return"geolocation"in navigator},S.postmessage=function(){return!!i.postMessage},S.websqldatabase=function(){return!!i.openDatabase},S.indexedDB=function(){return!!l("indexedDB",i)},S.hashchange=function(){return k("hashchange",i)&&(h.documentMode===a||7<h.documentMode)},S.history=function(){return!(!i.history||!history.pushState)},S.draganddrop=function(){var t=h.createElement("div");return"draggable"in t||"ondragstart"in t&&"ondrop"in t},S.websockets=function(){return"WebSocket"in i||"MozWebSocket"in i},S.rgba=function(){return o("background-color:rgba(150,255,150,.5)"),n(g.backgroundColor,"rgba")},S.hsla=function(){return o("background-color:hsla(120,40%,100%,.5)"),n(g.backgroundColor,"rgba")||n(g.backgroundColor,"hsla")},S.multiplebgs=function(){return o("background:url(https://),url(https://),red url(https://)"),/(url\s*\(.*?){3}/.test(g.background)},S.backgroundsize=function(){return l("backgroundSize")},S.borderimage=function(){return l("borderImage")}
1,S.borderradius=function(){return l("borderRadius")},S.boxshadow=function(){return l("boxShadow")},S.textshadow=function(){return""===h.createElement("div").style.textShadow},S.opacity=function(){return t="opacity:.55",o(w.join(t+";")+(e||"")),/^0.55$/.test(g.opacity);var t,e},S.cssanimations=function(){return l("animationName")},S.csscolumns=function(){return l("columnCount")},S.cssgradients=function(){var t="background-image:";return o((t+"-webkit- ".split(" ").join("gradient(linear,left top,right bottom,from(#9f9),to(white));"+t)+w.join("linear-gradient(left top,#9f9, white);"+t)).slice(0,-t.length)),n(g.backgroundImage,"gradient")},S.cssreflections=function(){return l("boxReflect")},S.csstransforms=function(){return!!l("transform")},S.csstransforms3d=function(){var e=!!l("perspective");return e&&"webkitPerspective"in p.style&&L("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(t){e=9===t.offsetLeft&&3===t.offsetHeight}),e},S.csstransitions=function(){return l("transition")},S.fontface=function(){var s;return L('@font-face {font-family:"font";src:url("https://")}',function(t,e){var o=h.getElementById("smodernizr"),i=o.sheet||o.styleSheet,n=i?i.cssRules&&i.cssRules[0]?i.cssRules[0].cssText:i.cssText||"":"";s=/src/i.test(n)&&0===n.indexOf(e.split(" ")[0])}),s},S.generatedcontent=function(){var e;return L(["#",f,"{font:0/0 a}#",f,':after{content:"',y,'";visibility:hidden;font:3px/1 a}'].join(""),function(t){e=3<=t.offsetHeight}),e},S.video=function(){var t=h.createElement("video"),e=!1;try{(e=!!t.canPlayType)&&((e=new Boolean(e)).ogg=t.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),e.h264=t.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),e.webm=t.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,""))}catch(t){}return e},S.audio=function(){var t=h.createElement("audio"),e=!1;try{(e=!!t.canPlayType)&&((e=new Boolean(e)).ogg=t.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),e.mp3=t.canPlayType("audio/mpeg;").replace(/^no$/,""),e.wav=t.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),e.m4a=(t.canPlayType("audio/x-m4a;")||t.canPlayType("audio/aac;")).replace(/^no$/,""))}catch(t){}return e},S.localstorage=function(){try{return localStorage.setItem(f,f),localStorage.removeItem(f),!0}catch(t){return!1}},S.sessionstorage=function(){try{return sessionStorage.setItem(f,f),sessionStorage.removeItem(f),!0}catch(t){return!1}},S.webworkers=function(){return!!i.Worker},S.applicationcache=function(){return!!i.applicationCache},S.svg=function(){return!!h.createElementNS&&!!h.createElementNS(C,"svg").createSVGRect},S.inlinesvg=function(){var t=h.createElement("div");return t.innerHTML="<svg/>",(t.firstChild&&t.firstChild.namespaceURI)==C},S.smil=function(){return!!h.createElementNS&&/SVGAnimate/.test(v.call(h.createElementNS(C,"animate")))},S.svgclippaths=function(){return!!h.createElementNS&&/SVGClipPath/.test(v.call(h.createElementNS(C,"clipPath")))},S)c(S,$)&&(t=$.toLowerCase(),u[t]=S[$](),I.push((u[t]?"":"no-")+t));return u.input||(u.input=function(t){for(var e=0,o=t.length;e<o;e++)_[t[e]]=!!(t[e]in m);return _.list&&(_.list=!(!h.createElement("datalist")||!i.HTMLDataListElement)),_}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" ")),u.inputtypes=function(t){for(var e,o,i,n=0,s=t.length;n<s;n++)m.setAttribute("type",o=t[n]),(e="text"!==m.type)&&(m.value=y,m.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(o)&&m.style.WebkitAppearance!==a?(p.appendChild(m),e=(i=h.defaultView).getComputedStyle&&"textfield"!==i.getComputedStyle(m,null).WebkitAppearance&&0!==m.offsetHeight,p.removeChild(m)):/^(search|tel)$/.test(o)||(e=/^(url|email)$/.test(o)?m.checkValidity&&!1===m.checkValidity():m.value!=y)),T[t[n]]=!!e;return T}("search tel url email datetime date month week time datetime-local number range color".split(" "))),u.addTest=function(t,e){if("object"==typeof t)for(var o in t)c(t,o)&&u.addTest(o,t[o]);else{if(t=t.toLowerCase(),u[t]!==a)return u;e="function"==typeof e?e():e,p.className+=" "+(e?"":"no-")+t,u[t]=e}return u},o(""),e=m=null,function(t,l){function c(){var t=f.elements;return"string"==typeof t?t.split(" "):t}function d(t){var e=r[t[i]];return e||(e={},a++,t[i]=a,r[a]=e),e}function h(t,e,o){return e||(e=l),p?e.createElement(t):(o||(o=d(e)),!(i=o.cache[t]?o.cache[t].cloneNode():s.test(t)?(o.cache[t]=o.createElem(t)).cloneNode():o.createElem(t)).canHaveChildren||n.test(t)||i.tagUrn?i:o.frag.appendChild(i));var i}function e(t){t||(t=l);var e,o,i,n,s,a,r=d(t);return!f.shivCSS||u||r.hasCSS||(r.hasCSS=(n="article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{dis
1play:block}mark{background:#FF0;color:#000}template{display:none}",s=(i=t).createElement("p"),a=i.getElementsByTagName("head")[0]||i.documentElement,s.innerHTML="x<style>"+n+"</style>",!!a.insertBefore(s.lastChild,a.firstChild))),p||(e=t,(o=r).cache||(o.cache={},o.createElem=e.createElement,o.createFrag=e.createDocumentFragment,o.frag=o.createFrag()),e.createElement=function(t){return f.shivMethods?h(t,e,o):o.createElem(t)},e.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+c().join().replace(/[\w\-]+/g,function(t){return o.createElem(t),o.frag.createElement(t),'c("'+t+'")'})+");return n}")(f,o.frag)),t}var u,p,o=t.html5||{},n=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,s=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,i="_html5shiv",a=0,r={};!function(){try{var t=l.createElement("a");t.innerHTML="<xyz></xyz>",u="hidden"in t,p=1==t.childNodes.length||function(){l.createElement("a");var t=l.createDocumentFragment();return void 0===t.cloneNode||void 0===t.createDocumentFragment||void 0===t.createElement}()}catch(t){p=u=!0}}();var f={elements:o.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:"3.7.0",shivCSS:!1!==o.shivCSS,supportsUnknownElements:p,shivMethods:!1!==o.shivMethods,type:"default",shivDocument:e,createElement:h,createDocumentFragment:function(t,e){if(t||(t=l),p)return t.createDocumentFragment();for(var o=(e=e||d(t)).frag.cloneNode(),i=0,n=c(),s=n.length;i<s;i++)o.createElement(n[i]);return o}};t.html5=f,e(l)}(this,h),u._version="2.8.3",u._prefixes=w,u._domPrefixes=z,u._cssomPrefixes=x,u.mq=function(t){var e,o=i.matchMedia||i.msMatchMedia;return o?o(t)&&o(t).matches||!1:(L("@media "+t+" { #"+f+" { position: absolute; } }",function(t){e="absolute"==(i.getComputedStyle?getComputedStyle(t,null):t.currentStyle).position}),e)},u.hasEvent=k,u.testProp=function(t){return r([t])},u.testAllProps=l,u.testStyles=L,u.prefixed=function(t,e,o){return e?l(t,e,o):l(t,"pfx")},p.className=p.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+" js "+I.join(" "),u}(this,this.document),function(C,S,s,t){var o,T,i,n,a,r,l,c,d,h,e,u,p="mPageScroll2id",_="mPS2id",f={scrollSpeed:1e3,autoScrollSpeed:!0,scrollEasing:"easeInOutQuint",scrollingEasing:"easeOutQuint",pageEndSmoothScroll:!0,layout:"vertical",offset:0,highlightSelector:!1,clickedClass:_+"-clicked",targetClass:_+"-target",highlightClass:_+"-highlight",forceSingleHighlight:!1,keepHighlightUntilNext:!1,highlightByNextTarget:!1,disablePluginBelow:!1,clickEvents:!0,appendHash:!1,onStart:function(){},onComplete:function(){},defaultSelector:!1,live:!0,liveSelector:!1},g=0,m={init:function(t){t=C.extend(!0,{},f,t);if(C(s).data(_,t),T=C(s).data(_),!this.selector){var e="__"+_;this.each(function(){var t=C(this);t.hasClass(e)||t.addClass(e)}),this.selector="."+e}T.liveSelector&&(this.selector+=","+T.liveSelector),o=o?o+","+this.selector:this.selector,T.defaultSelector&&("object"==typeof C(o)&&0!==C(o).length||(o=".m_PageScroll2id,a[rel~='m_PageScroll2id'],.page-scroll-to-id,a[rel~='page-scroll-to-id'],._ps2id")),T.clickEvents&&C(s).undelegate("."+_).delegate(o,"click."+_,function(t){if(y._isDisabled.call(null))y._removeClasses.call(null);else{var e=C(this),o=e.attr("href"),i=e.prop("href").baseVal||e.prop("href");o&&-1!==o.indexOf("#/")||(y._reset.call(null),h=e.data("ps2id-offset")||0,y._isValid.call(null,o,i)&&y._findTarget.call(null,o)&&(t.preventDefault(),n="selector",a=e,y._setClasses.call(null,!0),y._scrollTo.call(null)))}}),C(S).unbind("."+_).bind("scroll.mPS2id resize."+_,function(){if(y._isDisabled.call(null))y._removeClasses.call(null);else{var n=C("._mPS2id-t");n.each(function(t){var e=C(this),o=e.attr("id"),i=y._findHighlight.call(null,o);y._setClasses.call(null,!1,e,i),t==n.length-1&&y._extendClasses.call(null)})}}),i=!0,y._setup.call(null),y._live.call(null)},scrollTo:function(t,e){if(y._isDisabled.call(null))y._removeClasses.call(null);else if(t&&void 0!==t){y._isInit.call(null);var o={layout:T.layout,offset:T.offset,clicked:!1};e=C.extend(!0,{},o,e);y._reset.call(null),c=e.layout,d=e.offset,t=-1!==t.indexOf("#")?t:"#"+t,y._isValid.call(null,t)&&y._findTarget.call(null,t)&&(n="scrollTo",(a=e.clicked)&&y._setClasses.call(null,!0),y._scrollTo.call(null))}},destroy:function(){C(S).unbind("."+_),C(s).undelegate("."+_).removeData(_),C("._mPS2id-t").removeData(_),y._removeClasses.call(null,!0)}},y={_isDisabled:function(){var t=S,e="inner",o=T.disablePluginBelow instanceof Array?[T.disablePluginBelow[0]||0,T.disablePluginBelow[1]||0]:[T.disablePluginBelow||0,0];return"innerWidth"in S||(e="client",t=s.documentElement||s.body),t[e+"Width"]<=o[0]||t[e+"Height"]<=o[1]},_isValid:function(t,e){if(t){var o=-1!==(e=e||t).indexOf("#/")?e.split("#/")[0]:e.split("#")[0],i=S.location.toString().split("#")[0];return"#"!==t&&-1!==t.indexOf("#")&&(""===o||decodeURIComponent(o)===decodeURIComponent(i))}},_setup:function(){var a=y._highlightSelector(),r=1,l=0;return C(a).each(function(){var t=C(this),e=t.attr("href"),o=t.prop("href").baseVal||t.prop("href");if(y._isValid.call(null,e,o)){var i=-1!==e.indexOf("#/")?e.split("#/")[1]:e.split("#")[1],n=C("#"+i);if(0<n.length){T.highlightByNextTarget&&n!==l&&(l?l.data(_,{tn:n}):n.data(_,{tn:"0"}),l=n),n.hasClass("_mPS2id-t")||n.addClass("_mPS2id-t"),n.data(_,{i:r}),t.hasClass("_mPS2id-h")||t.addClass("_mPS2id-h");var s=y._findHighlight.call(null,i);y._setClasses.call(null,!1,n,s),g=r,++r==C(a).length&&y._extendClasses.call(null)}}})},_highlightSelector:function(){return T.highlightSelector&&""!==T.highlightSelector?T.highlightSelector:o},_findTarget:function(t){var e=-1!==t.indexOf("#/")?t.split("#/")[1]:t.split("#")[1],o=C("#"+e);if(o.length<1||"fixed"===o.css("position")){if("top"!==e)return;o=C("body")}
1return r=o,c||(c=T.layout),d=y._setOffset.call(null),(l=[(o.offset().top-d[0]).toString(),(o.offset().left-d[1]).toString()])[0]=l[0]<0?0:l[0],l[1]=l[1]<0?0:l[1],l},_setOffset:function(){var t,e,o,i;switch(d||(d=T.offset?T.offset:0),h&&(d=h),typeof d){case"object":case"string":0<(e=[(t=[d.y?d.y:d,d.x?d.x:d])[0]instanceof jQuery?t[0]:C(t[0]),t[1]instanceof jQuery?t[1]:C(t[1])])[0].length?(o=e[0].height(),"fixed"===e[0].css("position")&&(o+=e[0][0].offsetTop)):o=!isNaN(parseFloat(t[0]))&&isFinite(t[0])?parseInt(t[0]):0,0<e[1].length?(i=e[1].width(),"fixed"===e[1].css("position")&&(i+=e[1][0].offsetLeft)):i=!isNaN(parseFloat(t[1]))&&isFinite(t[1])?parseInt(t[1]):0;break;case"function":(t=d.call(null))instanceof Array?(o=t[0],i=t[1]):o=i=t;break;default:o=i=parseInt(d)}return[o,i]},_findHighlight:function(t){var e=S.location,o=e.toString().split("#")[0],i=e.pathname;return C("._mPS2id-h[href='#"+t+"'],._"+_+"-h[href='"+o+"#"+t+"'],._"+_+"-h[href='"+i+"#"+t+"'],._"+_+"-h[href='#/"+t+"'],._"+_+"-h[href='"+o+"#/"+t+"'],._"+_+"-h[href='"+i+"#/"+t+"']")},_setClasses:function(t,e,o){var i=T.clickedClass,n=T.targetClass,s=T.highlightClass;t&&i&&""!==i?(C("."+i).removeClass(i),a.addClass(i)):e&&n&&""!==n&&o&&s&&""!==s&&(y._currentTarget.call(null,e)?(e.addClass(n),o.addClass(s)):(!T.keepHighlightUntilNext||1<C("."+s).length)&&(e.removeClass(n),o.removeClass(s)))},_extendClasses:function(){var t=T.targetClass,e=T.highlightClass,o=C("."+t),i=C("."+e),n=t+"-first",s=t+"-last",a=e+"-first",r=e+"-last";C("._mPS2id-t").removeClass(n+" "+s),C("._mPS2id-h").removeClass(a+" "+r),T.forceSingleHighlight?T.keepHighlightUntilNext&&1<o.length?(o.slice(0,1).removeClass(t),i.slice(0,1).removeClass(e)):(o.slice(1).removeClass(t),i.slice(1).removeClass(e)):(o.slice(0,1).addClass(n).end().slice(-1).addClass(s),i.slice(0,1).addClass(a).end().slice(-1).addClass(r))},_removeClasses:function(t){C("."+T.clickedClass).removeClass(T.clickedClass),C("."+T.targetClass).removeClass(T.targetClass+" "+T.targetClass+"-first "+T.targetClass+"-last"),C("."+T.highlightClass).removeClass(T.highlightClass+" "+T.highlightClass+"-first "+T.highlightClass+"-last"),t&&(C("._mPS2id-t").removeClass("_mPS2id-t"),C("._mPS2id-h").removeClass("_mPS2id-h"))},_currentTarget:function(t){var e=T["target_"+t.data(_).i],o=t.data("ps2id-target"),i=o&&C(o)[0]?C(o)[0].getBoundingClientRect():t[0].getBoundingClientRect();if(void 0!==e){var n=t.offset().top,s=t.offset().left,a=e.from?e.from+n:n,r=e.to?e.to+n:n,l=e.fromX?e.fromX+s:s,c=e.toX?e.toX+s:s;return i.top>=r&&i.top<=a&&i.left>=c&&i.left<=l}var d=C(S).height(),h=C(S).width(),u=o?C(o).height():t.height(),p=o?C(o).width():t.width(),f=1+u/d,g=f,m=u<d?f*(d/u):f,y=1+p/h,v=y,w=p<h?y*(h/p):y,b=[i.top<=d/g,i.bottom>=d/m,i.left<=h/v,i.right>=h/w];if(T.highlightByNextTarget){var x=t.data(_).tn;if(x){var z=x[0].getBoundingClientRect();"vertical"===T.layout?b=[i.top<=d/2,z.top>d/2,1,1]:"horizontal"===T.layout&&(b=[1,1,i.left<=h/2,z.left>h/2])}}return b[0]&&b[1]&&b[2]&&b[3]},_scrollTo:function(){u=y._scrollSpeed.call(null),l=T.pageEndSmoothScroll?y._pageEndSmoothScroll.call(null):l;var t=C("html,body"),e=T.autoScrollSpeed?y._autoScrollSpeed.call(null):u,o=t.is(":animated")?T.scrollingEasing:T.scrollEasing,i=C(S).scrollTop(),n=C(S).scrollLeft();switch(c){case"horizontal":n!=l[1]&&(y._callbacks.call(null,"onStart"),t.stop().animate({scrollLeft:l[1]},e,o).promise().then(function(){y._callbacks.call(null,"onComplete")}
1));break;case"auto":var s;if(i!=l[0]||n!=l[1])if(y._callbacks.call(null,"onStart"),navigator.userAgent.match(/(iPod|iPhone|iPad|Android)/))t.stop().animate({pageYOffset:l[0],pageXOffset:l[1]},{duration:e,easing:o,step:function(t,e){"pageXOffset"==e.prop?s=t:"pageYOffset"==e.prop&&S.scrollTo(s,t)}}).promise().then(function(){y._callbacks.call(null,"onComplete")});else t.stop().animate({scrollTop:l[0],scrollLeft:l[1]},e,o).promise().then(function(){y._callbacks.call(null,"onComplete")});break;default:i!=l[0]&&(y._callbacks.call(null,"onStart"),t.stop().animate({scrollTop:l[0]},e,o).promise().then(function(){y._callbacks.call(null,"onComplete")}))}},_pageEndSmoothScroll:function(){var t=C(s).height(),e=C(s).width(),o=C(S).height(),i=C(S).width();return[t-l[0]<o?t-o:l[0],e-l[1]<i?e-i:l[1]]},_scrollSpeed:function(){var i=T.scrollSpeed;return a&&a.length&&a.add(a.parent()).each(function(){var t=C(this);if(t.attr("class")){var e=t.attr("class").split(" ");for(var o in e)if(String(e[o]).match(/^ps2id-speed-\d+$/)){i=e[o].split("ps2id-speed-")[1];break}}}),parseInt(i)},_autoScrollSpeed:function(){var t=C(S).scrollTop(),e=C(S).scrollLeft(),o=C(s).height(),i=C(s).width(),n=[u+u*Math.floor(Math.abs(l[0]-t)/o*100)/100,u+u*Math.floor(Math.abs(l[1]-e)/i*100)/100];return Math.max.apply(Math,n)},_callbacks:function(t){if(T)switch(this[_]={trigger:n,clicked:a,target:r,scrollTo:{y:l[0],x:l[1]}},t){case"onStart":if(T.appendHash&&S.history&&S.history.pushState&&a&&a.length){var e="#"+a.attr("href").split("#")[1];e!==S.location.hash&&history.pushState("","",e)}T.onStart.call(null,this[_]);break;case"onComplete":T.onComplete.call(null,this[_])}},_reset:function(){c=d=h=!1},_isInit:function(){i||m.init.apply(this)},_live:function(){e=setTimeout(function(){T.live?C(y._highlightSelector()).length!==g&&y._setup.call(null):e&&clearTimeout(e),y._live.call(null)},1e3)},_easing:function(){function e(t){var e=7.5625,o=2.75;return t<1/o?e*t*t:t<2/o?e*(t-=1.5/o)*t+.75:t<2.5/o?e*(t-=2.25/o)*t+.9375:e*(t-=2.625/o)*t+.984375}C.easing.easeInQuad=C.easing.easeInQuad||function(t){return t*t},C.easing.easeOutQuad=C.easing.easeOutQuad||function(t){return 1-(1-t)*(1-t)},C.easing.easeInOutQuad=C.easing.easeInOutQuad||function(t){return t<.5?2*t*t:1-Math.pow(-2*t+2,2)/2},C.easing.easeInCubic=C.easing.easeInCubic||function(t){return t*t*t},C.easing.easeOutCubic=C.easing.easeOutCubic||function(t){return 1-Math.pow(1-t,3)},C.easing.easeInOutCubic=C.easing.easeInOutCubic||function(t){return t<.5?4*t*t*t:1-Math.pow(-2*t+2,3)/2},C.easing.easeInQuart=C.easing.easeInQuart||function(t){return t*t*t*t},C.easing.easeOutQuart=C.easing.easeOutQuart||function(t){return 1-Math.pow(1-t,4)},C.easing.easeInOutQuart=C.easing.easeInOutQuart||function(t){return t<.5?8*t*t*t*t:1-Math.pow(-2*t+2,4)/2},C.easing.easeInQuint=C.easing.easeInQuint||function(t){return t*t*t*t*t},C.easing.easeOutQuint=C.easing.easeOutQuint||function(t){return 1-Math.pow(1-t,5)},C.easing.easeInOutQuint=C.easing.easeInOutQuint||function(t){return t<.5?16*t*t*t*t*t:1-Math.pow(-2*t+2,5)/2},C.easing.easeInExpo=C.easing.easeInExpo||function(t){return 0===t?0:Math.pow(2,10*t-10)},C.easing.easeOutExpo=C.easing.easeOutExpo||function(t){return 1===t?1:1-Math.pow(2,-10*t)},C.easing.easeInOutExpo=C.easing.easeInOutExpo||function(t){return 0===t?0:1===t?1:t<.5?Math.pow(2,20*t-10)/2:(2-Math.pow(2,-20*t+10))/2},C.easing.easeInSine=C.easing.easeInSine||function(t){return 1-Math.cos(t*Math.PI/2)},C.easing.easeOutSine=C.easing.easeOutSine||function(t){return Math.sin(t*Math.PI/2)},C.easing.easeInOutSine=C.easing.easeInOutSine||function(t){return-(Math.cos(Math.PI*t)-1)/2},C.easing.easeInCirc=C.easing.easeInCirc||function(t){return 1-Math.sqrt(1-Math.pow(t,2))},C.easing.easeOutCirc=C.easing.easeOutCirc||function(t){return Math.sqrt(1-Math.pow(t-1,2))},C.easing.easeInOutCirc=C.easing.easeInOutCirc||function(t){return t<.5?(1-Math.sqrt(1-Math.pow(2*t,2)))/2:(Math.sqrt(1-Math.pow(-2*t+2,2))+1)/2},C.easing.easeInElastic=C.easing.easeInElastic||function(t){return 0===t?0:1===t?1:-Math.pow(2,10*t-10)*Math.sin((10*t-10.75)*(2*Math.PI/3))},C.easing.easeOutElastic=C.easing.easeOutElastic||function(t){return 0===t?0:1===t?1:Math.pow(2,-10*t)*Math.sin((10*t-.75)*(2*Math.PI/3))+1},C.easing.easeInOutElastic=C.easing.easeInOutElastic||function(t){return 0===t?0:1===t?1:t<.5?-Math.pow(2,20*t-10)*Math.sin((20*t-11.125)*(2*Math.PI/4.5))/2:Math.pow(2,-20*t+10)*Math.sin((20*t-11.125)*(2*Math.PI/4.5))/2+1},C.easing.easeInBack=C.easing.easeInBack||function(t){return 2.70158*t*t*t-1.70158*t*t},C.easing.easeOutBack=C.easing.easeOutBack||function(t){return 1+2.70158*Math.pow(t-1,3)+1.70158*Math.pow(t-1,2)},C.easing.easeInOutBack=C.easing.easeInOutBack||function(t){return t<.5?Math.pow(2*t,2)*(7.189819*t-2.5949095)/2:(Math.pow(2*t-2,2)*(3.5949095*(2*t-2)+2.5949095)+2)/2},C.easing.easeInBounce=C.easing.easeInBounce||function(t){return 1-e(1-t)},C.easing.easeOutBounce=C.easing.easeOutBounce||e,C.easing.easeInOutBounce=C.easing.easeInOutBounce||function(t){return t<.5?(1-e(1-2*t))/2:(1+e(2*t-1))/2}}};y._easing.call(),C.fn[p]=function(t){return m[t]?m[t].apply(this,Array.prototype.slice.call(arguments,1
1)):"object"!=typeof t&&t?void C.error("Method "+t+" does not exist"):m.init.apply(this,arguments)},C[p]=function(t){return m[t]?m[t].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof t&&t?void C.error("Method "+t+" does not exist"):m.init.apply(this,arguments)},C[p].defaults=f}(jQuery,window,document),function(o){o(document).on("elementor/render/wfe_preloader",function(t,e){o(window).on("load",function(){o("#status").fadeOut(),o("#preloader").delay(350).fadeOut("slow"),o("body").delay(350).css({overflow:"visible"})})})}(jQuery);var epa_notify_easein_arr=["tada","swing","shake","bounce","wobble","pulse","rollIn","fadeIn","fadeInUp","fadeInDown","fadeInLeft","fadeInRight","fadeInRight","bounceIn","bounceInDown","bounceInUp","bounceInLeft","bounceInRight","rotateIn","rotateInDownLeft","rotateInDownRight","rotateInUpLeft","rotateInUpRight","fadeInLeftBig","fadeInRightBig","fadeInUpBig","fadeInDownBig","flipInX","flipInY","lightSpeedIn"],epa_notify_easeout_arr=["rollOut","fadeOut","fadeOutUp","fadeOutDown","fadeOutLeft","fadeOutRight","fadeOutRight","bounceOut","bounceOutDown","bounceOutUp","bounceOutLeft","bounceOutRight","rotateOut","rotateOutDownLeft","rotateOutDownRight","rotateOutUpLeft","rotateOutUpRight","fadeOutLeftBig","fadeOutRightBig","fadeOutUpBig","fadeOutDownBig","flipOutX","flipOutY","lightSpeedOut"];!function(h){h.fn.extend({scrollNotify:function(t){var e={opacity:100,imageWidth:80,width:300,height:"auto",background:"#FFF",color:"#CCC",imageFloat:"right",position:"topLeft",top:"",right:"",bottom:"",left:"",appearFrom:0,appearTo:"all",easeIn:"fadeInUp",easeOut:"fadeOutDown",autohideDelay:"",initShow:"scrolling",displayDefault:"",closeButton:!1,pauseHover:!0};t&&h.extend(e,t);var o=this.css({background:e.background,color:e.color});o.css("top",e.top),o.css("right",e.right),o.css("bottom",e.bottom),o.css("left",e.left),"loaded"==e.initShow?h.cookie("epa_notify_close_cookie")||o.show():o.hide();var i,n,s=epa_notify_easein_arr.length,a=epa_notify_easeout_arr.length;if("random"==e.easeIn.toLowerCase()?(i=epa_notify_easein_arr[Math.floor(Math.random()*s)],o.data("easein",i)):i=e.easeIn,n="random"==e.easeOut.toLowerCase()?epa_notify_easeout_arr[Math.floor(Math.random()*a)]:e.easeOut,e.closeButton){var r=h('<span class="epa-scrnotify-colse-button"></span>');"left"==e.closePosition&&r.css({left:"-8px"}),o.append(r),r.on("click",o,function(t){d=h(document).height(),t.preventDefault(),clearTimeout(c),Modernizr.csstransitions?o.removeClass(i).addClass("animated "+n).on("animationend webkitAnimationEnd oAnimationEnd MSAnimationEnd",function(){h(this).hide()}):o.stop(!0,!0).animate({opacity:0}
1,400,function(){h(this).hide()}),"on"==e.cookie&&h.cookie("epa_notify_close_cookie",!0,{expires:e.days,path:"/"})})}if(""!=e.width&&o.css("width",e.width),""!=e.height&&o.css("height",e.height),1!=e.opacity){var l=o.css("backgroundColor").replace("rgb","rgba").replace(")",","+e.opacity+")");o.css({backgroundColor:l})}o.find(".epa-notify-img")&&(o.find(".epa-notify-img").addClass("float"+e.imageFloat),""!=e.imageWidth&&o.find(".epa-notify-img").css("width",e.imageWidth)),e.pauseHover&&o.on("mouseover",function(){clearTimeout(c)});var c=0,d=e.appearFrom;return"on"!=e.cookie&&h.removeCookie("epa_notify_close_cookie",{path:"/"}),h.cookie("epa_notify_close_cookie")?void o.hide():void h(window).on("scroll",function(){return"on"==e.displayDefault?(Modernizr.csstransitions?0<h(this).scrollTop()?o.removeClass(i).addClass("animated "+n).on("animationend webkitAnimationEnd oAnimationEnd MSAnimationEnd",function(){h(this).hide()}):(o.off("animationend webkitAnimationEnd oAnimationEnd MSAnimationEnd"),o.show().removeClass(n).addClass("animated "+i),""!=e.autohideDelay&&0<e.autohideDelay&&(c=setTimeout(function(){o.removeClass(i).addClass(n).on("animationend webkitAnimationEnd oAnimationEnd MSAnimationEnd",function(){h(this).hide()})},e.autohideDelay))):0<h(this).scrollTop()?o.stop(!0,!0).animate({opacity:0}
1,400,function(){h(this).hide()}):(o.show().animate({opacity:1},400),""!=e.autohideDelay&&0<e.autohideDelay&&(c=setTimeout(function(){o.stop(!0,!0).animate({opacity:0},400,function(){h(this).hide()})},e.autohideDelay))),!1):(clearTimeout(c),void(h(this).scrollTop()<=d&&"scrolling"==e.initShow?Modernizr.csstransitions?o.removeClass(i).addClass("animated "+n).on("animationend webkitAnimationEnd oAnimationEnd MSAnimationEnd",function(){h(this).hide()}):o.stop(!0,!0).animate({opacity:0},400,function(){h(this).hide()}):"all"!=e.appearTo?h(this).scrollTop()<=e.appearTo?Modernizr.csstransitions?(o.off("animationend webkitAnimationEnd oAnimationEnd MSAnimationEnd"),o.show().removeClass(n).addClass("animated "+i),""!=e.autohideDelay&&0<e.autohideDelay&&(c=setTimeout(function(){o.removeClass(i).addClass(n).on("animationend webkitAnimationEnd oAnimationEnd MSAnimationEnd",function(){h(this).hide()})},e.autohideDelay))):(o.show().animate({opacity:1},400),""!=e.autohideDelay&&0<e.autohideDelay&&(c=setTimeout(function(){o.stop(!0,!0).animate({opacity:0}
1,400,function(){h(this).hide()})},e.autohideDelay))):Modernizr.csstransitions?o.removeClass(i).addClass(n).on("animationend webkitAnimationEnd oAnimationEnd MSAnimationEnd",function(){h(this).hide()}):o.stop(!0,!0).animate({opacity:0},400,function(){h(this).hide()}):Modernizr.csstransitions?(o.off("animationend webkitAnimationEnd oAnimationEnd MSAnimationEnd"),o.show().removeClass(n).addClass("animated "+i),""!=e.autohideDelay&&0<e.autohideDelay&&(c=setTimeout(function(){o.removeClass(i).addClass(n).on("animationend webkitAnimationEnd oAnimationEnd MSAnimationEnd",function(){h(this).hide()})},e.autohideDelay))):(o.show().animate({opacity:1},400),""!=e.autohideDelay&&0<e.autohideDelay&&(c=setTimeout(function(){o.stop(!0,!0).animate({opacity:0},400,function(){h(this).hide()})},e.autohideDelay)))))})}})}(jQuery),jQuery(document).ready(function(t){var e=t(".epa-timeline-block");e.each(function(){t(this).offset().top>t(window).scrollTop()+.75*t(window).height()&&t(this).find(".epa-timeline-img, .epa-timeline-content").addClass("is-hidden")}),t(window).on("scroll",function(){e.each(function(){t(this).offset().top<=t(window).scrollTop()+.75*t(window).height()&&t(this).find(".epa-timeline-img").hasClass("is-hidden")&&t(this).find(".epa-timeline-img, .epa-timeline-content").removeClass("is-hidden").addClass("bounce-in")})})}),"function"!=typeof Object.create&&(Object.create=function(t){function e(){}return e.prototype=t,new e}),function(l,t,e,o){var i={init:function(t,e){var o=this;o.elem=e,o.$elem=l(e),o.imageSrc=o.$elem.data("zoom-image")?o.$elem.data("zoom-image"):o.$elem.attr("src"),o.options=l.extend({},l.fn.elevateZoom.options,t),o.options.tint&&(o.options.lensColour="none",o.options.lensOpacity="1"),"inner"==o.options.zoomType&&(o.options.showLens=!1),o.$elem.parent().removeAttr("title").removeAttr("alt"),o.zoomImage=o.imageSrc,o.refresh(1),l("#"+o.options.gallery+" a").click(function(t){return o.options.galleryActiveClass&&(l("#"+o.options.gallery+" a").removeClass(o.options.galleryActiveClass),l(this).addClass(o.options.galleryActiveClass)),t.preventDefault(),l(this).data("zoom-image")?o.zoomImagePre=l(this).data("zoom-image"):o.zoomImagePre=l(this).data("image"),o.swaptheimage(l(this).data("image"),o.zoomImagePre),!1})},refresh:function(t){var e=this;setTimeout(function(){e.fetch(e.imageSrc)},t||e.options.refresh)},fetch:function(t){var e=this,o=new Image;o.onload=function(){e.largeWidth=o.width,e.largeHeight=o.height,e.startZoom(),e.currentImage=e.imageSrc,e.options.onZoomedImageLoaded(e.$elem)},o.src=t},startZoom:function(){var o=this;if(o.nzWidth=o.$elem.width(),o.nzHeight=o.$elem.height(),o.isWindowActive=!1,o.isLensActive=!1,o.isTintActive=!1,o.overWindow=!1,o.options.imageCrossfade&&(o.zoomWrap=o.$elem.wrap('<div style="height:'+o.nzHeight+"px;width:"+o.nzWidth+'px;" class="zoomWrapper" />'),o.$elem.css("position","absolute")),o.zoomLock=1,o.scrollingLock=!1,o.changeBgSize=!1,o.currentZoomLevel=o.options.zoomLevel,o.nzOffset=o.$elem.offset(),o.widthRatio=o.largeWidth/o.currentZoomLevel/o.nzWidth,o.heightRatio=o.largeHeight/o.currentZoomLevel/o.nzHeight,"window"==o.options.zoomType&&(o.zoomWindowStyle="overflow: hidden;background-position: 0px 0px;text-align:center;background-color: "+String(o.options.zoomWindowBgColour)+";width: "+String(o.options.zoomWindowWidth)+"px;height: "+String(o.options.zoomWindowHeight)+"px;float: left;background-size: "+o.largeWidth/o.currentZoomLevel+"px "+o.largeHeight/o.currentZoomLevel+"px;display: none;z-index:100;border: "+String(o.options.borderSize)+"px solid "+o.options.borderColour+";background-repeat: no-repeat;position: absolute;"),"inner"==o.options.zoomType){var t=o.$elem.css("border-left-width");o.zoomWindowStyle="overflow: hidden;margin-left: "+String(t)+";margin-top: "+String(t)+";background-position: 0px 0px;width: "+String(o.nzWidth)+"px;height: "+String(o.nzHeight)+"px;px;float: left;display: none;cursor:"+o.options.cursor+";px solid "+o.options.borderColour+";background-repeat: no-repeat;position: absolute;"}"window"==o.options.zoomType&&(o.nzHeight<o.options.zoomWindowWidth/o.widthRatio?lensHeight=o.nzHeight:lensHeight=String(o.options.zoomWindowHeight/o.heightRatio),o.largeWidth<o.options.zoomWindowWidth?lensWidth=o.nzWidth:lensWidth=o.options.zoomWindowWidth/o.widthRatio,o.lensStyle="background-position: 0px 0px;width: "+String(o.options.zoomWindowWidth/o.widthRatio)+"px;height: "+String(o.options.zoomWindowHeight/o.heightRatio)+"px;float: right;display: none;overflow: hidden;z-index: 999;-webkit-transform: translateZ(0);opacity:"+o.options.lensOpacity+";filter: alpha(opacity = "+100*o.options.lensOpacity+"); zoom:1;width:"+lensWidth+"px;height:"+lensHeight+"px;background-color:"+o.options.lensColour+";cursor:"+o.options.cursor+";border: "+o.options.lensBorderSize+"px solid "+o.options.lensBorderColour+";background-repeat: no-repeat;position: absolute;"),o.tintStyle="display: block;position: absolute;background-color: "+o.options.tintColour+";filter:alpha(opacity=0);opacity: 0;width: "+o.nzWidth+"px;height: "+o.nzHeight+"px;",o.lensRound="","lens"==o.options.zoomType&&(o.lensStyle="background-position: 0px 0px;float: left;display: none;border: "+String(o.options.borderSize)+"px solid "+o.options.borderColour+";width:"+String(o.options.lensSize)+"px;height:"+String(o.options.lensSize)+"px;background-repeat: no-repeat;position: absolute;"),"round"==o.options.lensShape&&(o.lensRound="border-top-left-radius: "+String(o.options.lensSize/2+o.options.borderSize)+"px;border-top-right-radius: "+String(o.options.lensSize/2+o.options.borderSize)+"px;border-bottom-left-radius: "+String(o.options.lensSize/2+o.options.borderSize)+"px;border-bottom-right-radius: "+String(o.options.lensSize/2+o.options.borderSize)+"px;"),o.zoomContainer=l('<div class="zoomContainer" style="-webkit-transform: translateZ(0);position:absolute;
1left:'+o.nzOffset.left+"px;top:"+o.nzOffset.top+"px;height:"+o.nzHeight+"px;width:"+o.nzWidth+'px;"></div>'),l("body").append(o.zoomContainer),o.options.containLensZoom&&"lens"==o.options.zoomType&&o.zoomContainer.css("overflow","hidden"),"inner"!=o.options.zoomType&&(o.zoomLens=l("<div id='zmlens' class='zoomLens' style='"+o.lensStyle+o.lensRound+"'>&nbsp;</div>").appendTo(o.zoomContainer).click(function(){o.$elem.trigger("click")}),o.options.tint&&(o.tintContainer=l("<div/>").addClass("tintContainer"),o.zoomTint=l("<div class='zoomTint' style='"+o.tintStyle+"'></div>"),o.zoomLens.wrap(o.tintContainer),o.zoomTintcss=o.zoomLens.after(o.zoomTint),o.zoomTintImage=l('<img style="position: absolute; left: 0px; top: 0px; max-width: none; width: '+o.nzWidth+"px; height: "+o.nzHeight+'px;" src="'+o.imageSrc+'">').appendTo(o.zoomLens).click(function(){o.$elem.trigger("click")}))),isNaN(o.options.zoomWindowPosition)?o.zoomWindow=l("<div style='z-index:999;left:"+o.windowOffsetLeft+"px;top:"+o.windowOffsetTop+"px;"+o.zoomWindowStyle+"' class='zoomWindow'>&nbsp;</div>").appendTo("body").click(function(){o.$elem.trigger("click")}):o.zoomWindow=l("<div style='z-index:999;left:"+o.windowOffsetLeft+"px;top:"+o.windowOffsetTop+"px;"+o.zoomWindowStyle+"' class='zoomWindow'>&nbsp;</div>").appendTo(o.zoomContainer).click(function(){o.$elem.trigger("click")}),o.zoomWindowContainer=l("<div/>").addClass("zoomWindowContainer").css("width",o.options.zoomWindowWidth),o.zoomWindow.wrap(o.zoomWindowContainer),"lens"==o.options.zoomType&&o.zoomLens.css({backgroundImage:"url('"+o.imageSrc+"')"}),"window"==o.options.zoomType&&o.zoomWindow.css({backgroundImage:"url('"+o.imageSrc+"')"}),"inner"==o.options.zoomType&&o.zoomWindow.css({backgroundImage:"url('"+o.imageSrc+"')"}),o.$elem.bind("touchmove",function(t){t.preventDefault();var e=t.originalEvent.touches[0]||t.originalEvent.changedTouches[0];o.setPosition(e)}),o.zoomContainer.bind("touchmove",function(t){"inner"==o.options.zoomType&&o.showHideWindow("show"),t.preventDefault();var e=t.originalEvent.touches[0]||t.originalEvent.changedTouches[0];o.setPosition(e)}),o.zoomContainer.bind("touchend",function(t){o.showHideWindow("hide"),o.options.showLens&&o.showHideLens("hide"),o.options.tint&&"inner"!=o.options.zoomType&&o.showHideTint("hide")}),o.$elem.bind("touchend",function(t){o.showHideWindow("hide"),o.options.showLens&&o.showHideLens("hide"),o.options.tint&&"inner"!=o.options.zoomType&&o.showHideTint("hide")}),o.options.showLens&&(o.zoomLens.bind("touchmove",function(t){t.preventDefault();var e=t.originalEvent.touches[0]||t.originalEvent.changedTouches[0];o.setPosition(e)}),o.zoomLens.bind("touchend",function(t){o.showHideWindow("hide"),o.options.showLens&&o.showHideLens("hide"),o.options.tint&&"inner"!=o.options.zoomType&&o.showHideTint("hide")})),o.$elem.bind("mousemove",function(t){0==o.overWindow&&o.setElements("show"),o.lastX===t.clientX&&o.lastY===t.clientY||(o.setPosition(t),o.currentLoc=t),o.lastX=t.clientX,o.lastY=t.clientY}),o.zoomContainer.bind("mousemove",function(t){0==o.overWindow&&o.setElements("show"),o.lastX===t.clientX&&o.lastY===t.clientY||(o.setPosition(t),o.currentLoc=t),o.lastX=t.clientX,o.lastY=t.clientY}),"inner"!=o.options.zoomType&&o.zoomLens.bind("mousemove",function(t){o.lastX===t.clientX&&o.lastY===t.clientY||(o.setPosition(t),o.currentLoc=t),o.lastX=t.clientX,o.lastY=t.clientY}),o.options.tint&&"inner"!=o.options.zoomType&&o.zoomTint.bind("mousemove",function(t){o.lastX===t.clientX&&o.lastY===t.clientY||(o.setPosition(t),o.currentLoc=t),o.lastX=t.clientX,o.lastY=t.clientY}),"inner"==o.options.zoomType&&o.zoomWindow.bind("mousemove",function(t){o.lastX===t.clientX&&o.lastY===t.clientY||(o.setPosition(t),o.currentLoc=t),o.lastX=t.clientX,o.lastY=t.clientY}),o.zoomContainer.add(o.$elem).mouseenter(function(){0==o.overWindow&&o.setElements("show")}).mouseleave(function(){o.scrollLock||(o.setElements("hide"),o.options.onDestroy(o.$elem))}),"inner"!=o.options.zoomType&&o.zoomWindow.mouseenter(function(){o.overWindow=!0,o.setElements("hide")}).mouseleave(function(){o.overWindow=!1}),o.options.zoomLevel,o.options.minZoomLevel?o.minZoomLevel=o.options.minZoomLevel:o.minZoomLevel=2*o.options.scrollZoomIncrement,o.options.scrollZoom&&o.zoomContainer.add(o.$elem).bind("mousewheel DOMMouseScroll MozMousePixelScroll",function(t){o.scrollLock=!0,clearTimeout(l.data(this,"timer")),l.data(this,"timer",setTimeout(function(){o.scrollLock=!1},250));var e=t.originalEvent.wheelDelta||-1*t.originalEvent.detail;return t.stopImmediatePropagation(),t.stopPropagation(),t.preventDefault(),0<e/120?o.currentZoomLevel>=o.minZoomLevel&&o.changeZoomLevel(o.currentZoomLevel-o.options.scrollZoomIncrement):o.options.maxZoomLevel?o.currentZoomLevel<=o.options.maxZoomLevel&&o.changeZoomLevel(parseFloat(o.currentZoomLevel)+o.options.scrollZoomIncrement):o.changeZoomLevel(parseFloat(o.currentZoomLevel)+o.options.scrollZoomIncrement),!1})},setElements:function(t){var e=this;if(!e.options.zoomEnabled)return!1;"show"==t&&e.isWindowSet&&("inner"==e.options.zoomType&&e.showHideWindow("show"),"window"==e.options.zoomType&&e.showHideWindow("show"),e.options.showLens&&e.showHideLens("show"),e.options.tint&&"inner"!=e.options.zoomType&&e.showHideTint("show")),"hide"==t&&("window"==e.options.zoomType&&e.showHideWindow("hide"),e.options.tint||e.showHideWindow("hide"),e.options.showLens&&e.showHideLens("hide"),e.options.tint&&e.showHideTint("hide"))},setPosition:function(t){var e=this;if(!e.options.zoomEnabled)return!1;e.nzHeight=e.$elem.height(),e.nzWidth=e.$elem.width(),e.nzOffset=e.$elem.offset(),e.options.tint&&"inner"!=e.options.zoomType&&(e.zoomTint.css({top:0}),e.zoomTint.css({left:0})),e.options.responsive&&!e.options.scrollZoom&&e.options.showLens&&(e.nzHeight<e.options.zoomWindowWidth/e.widthRatio?lensHeight=e.nzHeight:lensHeight=String(e.options.zoomWindowHeight/e.he
1ightRatio),e.largeWidth<e.options.zoomWindowWidth?lensWidth=e.nzWidth:lensWidth=e.options.zoomWindowWidth/e.widthRatio,e.widthRatio=e.largeWidth/e.nzWidth,e.heightRatio=e.largeHeight/e.nzHeight,"lens"!=e.options.zoomType&&(e.nzHeight<e.options.zoomWindowWidth/e.widthRatio?lensHeight=e.nzHeight:lensHeight=String(e.options.zoomWindowHeight/e.heightRatio),e.nzWidth<e.options.zoomWindowHeight/e.heightRatio?lensWidth=e.nzWidth:lensWidth=String(e.options.zoomWindowWidth/e.widthRatio),e.zoomLens.css("width",lensWidth),e.zoomLens.css("height",lensHeight),e.options.tint&&(e.zoomTintImage.css("width",e.nzWidth),e.zoomTintImage.css("height",e.nzHeight))),"lens"==e.options.zoomType&&e.zoomLens.css({width:String(e.options.lensSize)+"px",height:String(e.options.lensSize)+"px"})),e.zoomContainer.css({top:e.nzOffset.top}),e.zoomContainer.css({left:e.nzOffset.left}),e.mouseLeft=parseInt(t.pageX-e.nzOffset.left),e.mouseTop=parseInt(t.pageY-e.nzOffset.top),"window"==e.options.zoomType&&(e.Etoppos=e.mouseTop<e.zoomLens.height()/2,e.Eboppos=e.mouseTop>e.nzHeight-e.zoomLens.height()/2-2*e.options.lensBorderSize,e.Eloppos=e.mouseLeft<0+e.zoomLens.width()/2,e.Eroppos=e.mouseLeft>e.nzWidth-e.zoomLens.width()/2-2*e.options.lensBorderSize),"inner"==e.options.zoomType&&(e.Etoppos=e.mouseTop<e.nzHeight/2/e.heightRatio,e.Eboppos=e.mouseTop>e.nzHeight-e.nzHeight/2/e.heightRatio,e.Eloppos=e.mouseLeft<0+e.nzWidth/2/e.widthRatio,e.Eroppos=e.mouseLeft>e.nzWidth-e.nzWidth/2/e.widthRatio-2*e.options.lensBorderSize),e.mouseLeft<0||e.mouseTop<0||e.mouseLeft>e.nzWidth||e.mouseTop>e.nzHeight?e.setElements("hide"):(e.options.showLens&&(e.lensLeftPos=String(Math.floor(e.mouseLeft-e.zoomLens.width()/2)),e.lensTopPos=String(Math.floor(e.mouseTop-e.zoomLens.height()/2))),e.Etoppos&&(e.lensTopPos=0),e.Eloppos&&(e.windowLeftPos=0,e.lensLeftPos=0,e.tintpos=0),"window"==e.options.zoomType&&(e.Eboppos&&(e.lensTopPos=Math.max(e.nzHeight-e.zoomLens.height()-2*e.options.lensBorderSize,0)),e.Eroppos&&(e.lensLeftPos=e.nzWidth-e.zoomLens.width()-2*e.options.lensBorderSize)),"inner"==e.options.zoomType&&(e.Eboppos&&(e.lensTopPos=Math.max(e.nzHeight-2*e.options.lensBorderSize,0)),e.Eroppos&&(e.lensLeftPos=e.nzWidth-e.nzWidth-2*e.options.lensBorderSize)),"lens"==e.options.zoomType&&(e.windowLeftPos=String(-1*((t.pageX-e.nzOffset.left)*e.widthRatio-e.zoomLens.width()/2)),e.windowTopPos=String(-1*((t.pageY-e.nzOffset.top)*e.heightRatio-e.zoomLens.height()/2)),e.zoomLens.css({backgroundPosition:e.windowLeftPos+"px "+e.windowTopPos+"px"}),e.changeBgSize&&(e.nzHeight>e.nzWidth?("lens"==e.options.zoomType&&e.zoomLens.css({"background-size":e.largeWidth/e.newvalueheight+"px "+e.largeHeight/e.newvalueheight+"px"}),e.zoomWindow.css({"background-size":e.largeWidth/e.newvalueheight+"px "+e.largeHeight/e.newvalueheight+"px"})):("lens"==e.options.zoomType&&e.zoomLens.css({"background-size":e.largeWidth/e.newvaluewidth+"px "+e.largeHeight/e.newvaluewidth+"px"}),e.zoomWindow.css({"background-size":e.largeWidth/e.newvaluewidth+"px "+e.largeHeight/e.newvaluewidth+"px"})),e.changeBgSize=!1),e.setWindowPostition(t)),e.options.tint&&"inner"!=e.options.zoomType&&e.setTintPosition(t),"window"==e.options.zoomType&&e.setWindowPostition(t),"inner"==e.options.zoomType&&e.setWindowPostition(t),e.options.showLens&&(e.fullwidth&&"lens"!=e.options.zoomType&&(e.lensLeftPos=0),e.zoomLens.css({left:e.lensLeftPos+"px",top:e.lensTopPos+"px"})))},showHideWindow:function(t){var e=this;"show"==t&&(e.isWindowActive||(e.options.zoomWindowFadeIn?e.zoomWindow.stop(!0,!0,!1).fadeIn(e.options.zoomWindowFadeIn):e.zoomWindow.show(),e.isWindowActive=!0)),"hide"==t&&e.isWindowActive&&(e.options.zoomWindowFadeOut?e.zoomWindow.stop(!0,!0).fadeOut(e.options.zoomWindowFadeOut,function(){e.loop&&(clearInterval(e.loop),e.loop=!1)}):e.zoomWindow.hide(),e.isWindowActive=!1)},showHideLens:function(t){var e=this;"show"==t&&(e.isLensActive||(e.options.lensFadeIn?e.zoomLens.stop(!0,!0,!1).fadeIn(e.options.lensFadeIn):e.zoomLens.show(),e.isLensActive=!0)),"hide"==t&&e.isLensActive&&(e.options.lensFadeOut?e.zoomLens.stop(!0,!0).fadeOut(e.options.lensFadeOut):e.zoomLens.hide(),e.isLensActive=!1)},showHideTint:function(t){var e=this;"show"==t&&(e.isTintActive||(e.options.zoomTintFadeIn?e.zoomTint.css({opacity:e.options.tintOpacity}).animate().stop(!0,!0).fadeIn("slow"):(e.zoomTint.css({opacity:e.options.tintOpacity}).animate(),e.zoomTint.show()),e.isTintActive=!0)),"hide"==t&&e.isTintActive&&(e.options.zoomTintFadeOut?e.zoomTint.stop(!0,!0).fadeOut(e.options.zoomTintFadeOut):e.zoomTint.hide(),e.isTintActive=!1)},setLensPostition:function(t){},setWindowPostition:function(t){var e=this;if(isNaN(e.options.zoomWindowPosition))e.externalContainer=l("#"+e.options.zoomWindowPosition),e.externalContainerWidth=e.externalContainer.width(),e.externalContainerHeight=e.externalContainer.height(),e.externalContainerOffset=e.externalContainer.offset(),e.windowOffsetTop=e.externalContainerOffset.top,e.windowOffsetLeft=e.externalContainerOffset.left;else switch(e.options.zoomWindowPosition){case 1:e.windowOffsetTop=e.options.zoomWindowOffety,e.windowOffsetLeft=+e.nzWidth;break;case 2:e.options.zoomWindowHeight>e.nzHeight&&(e.windowOffsetTop=-1*(e.options.zoomWindowHeight/2-e.nzHeight/2),e.windowOffsetLeft=e.nzWidth);break;case 3:e.windowOffsetTop=e.nzHeight-e.zoomWindow.height()-2*e.options.borderSize,e.windowOffsetLeft=e.nzWidth;break;case 4:e.windowOffsetTop=e.nzHeight,e.windowOffsetLeft=e.nzWidth;break;case 5:e.windowOffsetTop=e.nzHeight,e.windowOffsetLeft=e.nzWidth-e.zoomWindow.width()-2*e.options.borderSize;break;case 6:e.options.zoomWindowHeight>e.nzHeight&&(e.windowOffsetTop=e.nzHeight,e.windowOffsetLeft=-1*(e.options.zoomWindowWidth/2-e.nzWidth/2+2*e.options.borderSize));break;case 7:e.windowOffsetTop=e.nzHeight,e.windowOffsetLeft=0;break;case 8:e.windowOffsetTop=e.nzHeight,e.windowOffsetLeft=-1*(e.zoomWindow.width()+2*e.options.borderSize);break;case 9:e.windowOffsetTop=e.nzHeight-e.zoomWindow.height()-2*e.options.borderSize,e.windowOffsetLeft=-1*(e.zoomWindow.width()+2*e.options.borderSize);break;case 10:e.options.zoomWindowHeight>e.nzHeight&&(e.windowOffsetTop=-1*(e.options.zoomWindowHeight/2-e.nzHeight/2),e.windowOffsetLeft=-1*(e.zoomWindow.width()+2*e.options.borderSize));break;case 11:e.windowOffsetTop=e.options.zoomWindowOffety,e.windowOffsetLeft=-1*(e.zoomWindow.width()+2*e.options.borderSize);break;case 12:e.windowOffsetTop=-1*(e.zoomWindow.height()+2*e.options.borderSize),e.windowOffsetLeft=-1*(e.zoomWindow.width()+2*e.options.borderSize);break;case 13:e.windowOffsetTop=-1*(e.zoomWindow.height()+2*e.options.borderSize),e.windowOffsetLeft=0;break;case 14:e.options.zoomWindowHeight>e.nzHeight&&(e.windowOffsetTop=-1*(e.zoomWindow.height()+2*e.options.borderSize),e.windowOffsetLeft=-1*(e.options.zoomWindowWidth/2-e.nzWidth/2+2*e.options.borderSize));break;case 15:e.windowOffsetTop=-1*(e.zoomWindow.height()+2*e.options.borderSize),e.windowOffsetLeft=e.nzWidth-e.zoomWindow.width()-2*e.options.borderSize;break;case 16:e.windowOffsetTop=-1*(e.zoomWindow.height()+2*e.options.borderSize),e.windowOffsetLeft=e.nzWidth;break;default:e.windowOffsetTop=e.options.zoomWindowOffety,e.windowOffsetLeft=e.nzWidth}e.isWindowSet=!0,e.windowOffsetTop=e.windowOffsetTop+e.options.zoomWindowOffety,e.windowOffsetLeft=e.windowOffsetLeft+e.options.zoomWindowOffetx,e.zoomWindow.css({top:e.windowOffsetTop}),e.zoomWindow.css({left:e.windowOffsetLeft}),"inner"==e.options.zoomType&&(e.zoomWindow.css({top:0}),e.zoomWindow.css({left:0})),e.windowLeftPos=String(-1*((t.pageX-e.nzOffset.left)*e.widthRatio-e.zoomWindow.width()/2)),e.
1windowTopPos=String(-1*((t.pageY-e.nzOffset.top)*e.heightRatio-e.zoomWindow.height()/2)),e.Etoppos&&(e.windowTopPos=0),e.Eloppos&&(e.windowLeftPos=0),e.Eboppos&&(e.windowTopPos=-1*(e.largeHeight/e.currentZoomLevel-e.zoomWindow.height())),e.Eroppos&&(e.windowLeftPos=-1*(e.largeWidth/e.currentZoomLevel-e.zoomWindow.width())),e.fullheight&&(e.windowTopPos=0),e.fullwidth&&(e.windowLeftPos=0),"window"!=e.options.zoomType&&"inner"!=e.options.zoomType||(1==e.zoomLock&&(e.widthRatio<=1&&(e.windowLeftPos=0),e.heightRatio<=1&&(e.windowTopPos=0)),"window"==e.options.zoomType&&(e.largeHeight<e.options.zoomWindowHeight&&(e.windowTopPos=0),e.largeWidth<e.options.zoomWindowWidth&&(e.windowLeftPos=0)),e.options.easing?(e.xp||(e.xp=0),e.yp||(e.yp=0),e.loop||(e.loop=setInterval(function(){e.xp+=(e.windowLeftPos-e.xp)/e.options.easingAmount,e.yp+=(e.windowTopPos-e.yp)/e.options.easingAmount,e.scrollingLock?(clearInterval(e.loop),e.xp=e.windowLeftPos,e.yp=e.windowTopPos,e.xp=-1*((t.pageX-e.nzOffset.left)*e.widthRatio-e.zoomWindow.width()/2),e.yp=-1*((t.pageY-e.nzOffset.top)*e.heightRatio-e.zoomWindow.height()/2),e.changeBgSize&&(e.nzHeight>e.nzWidth?("lens"==e.options.zoomType&&e.zoomLens.css({"background-size":e.largeWidth/e.newvalueheight+"px "+e.largeHeight/e.newvalueheight+"px"}),e.zoomWindow.css({"background-size":e.largeWidth/e.newvalueheight+"px "+e.largeHeight/e.newvalueheight+"px"})):("lens"!=e.options.zoomType&&e.zoomLens.css({"background-size":e.largeWidth/e.newvaluewidth+"px "+e.largeHeight/e.newvalueheight+"px"}),e.zoomWindow.css({"background-size":e.largeWidth/e.newvaluewidth+"px "+e.largeHeight/e.newvaluewidth+"px"})),e.changeBgSize=!1),e.zoomWindow.css({backgroundPosition:e.windowLeftPos+"px "+e.windowTopPos+"px"}),e.scrollingLock=!1,e.loop=!1):Math.round(Math.abs(e.xp-e.windowLeftPos)+Math.abs(e.yp-e.windowTopPos))<1?(clearInterval(e.loop),e.zoomWindow.css({backgroundPosition:e.windowLeftPos+"px "+e.windowTopPos+"px"}),e.loop=!1):(e.changeBgSize&&(e.nzHeight>e.nzWidth?("lens"==e.options.zoomType&&e.zoomLens.css({"background-size":e.largeWidth/e.newvalueheight+"px "+e.largeHeight/e.newvalueheight+"px"}),e.zoomWindow.css({"background-size":e.largeWidth/e.newvalueheight+"px "+e.largeHeight/e.newvalueheight+"px"})):("lens"!=e.options.zoomType&&e.zoomLens.css({"background-size":e.largeWidth/e.newvaluewidth+"px "+e.largeHeight/e.newvaluewidth+"px"}),e.zoomWindow.css({"background-size":e.largeWidth/e.newvaluewidth+"px "+e.largeHeight/e.newvaluewidth+"px"})),e.changeBgSize=!1),e.zoomWindow.css({backgroundPosition:e.xp+"px "+e.yp+"px"}))},16))):(e.changeBgSize&&(e.nzHeight>e.nzWidth?("lens"==e.options.zoomType&&e.zoomLens.css({"background-size":e.largeWidth/e.newvalueheight+"px "+e.largeHeight/e.newvalueheight+"px"}),e.zoomWindow.css({"background-size":e.largeWidth/e.newvalueheight+"px "+e.largeHeight/e.newvalueheight+"px"})):("lens"==e.options.zoomType&&e.zoomLens.css({"background-size":e.largeWidth/e.newvaluewidth+"px "+e.largeHeight/e.newvaluewidth+"px"}),e.largeHeight/e.newvaluewidth<e.options.zoomWindowHeight?e.zoomWindow.css({"background-size":e.largeWidth/e.newvaluewidth+"px "+e.largeHeight/e.newvaluewidth+"px"}):e.zoomWindow.css({"background-size":e.largeWidth/e.newvalueheight+"px "+e.largeHeight/e.newvalueheight+"px"})),e.changeBgSize=!1),e.zoomWindow.css({backgroundPosition:e.windowLeftPos+"px "+e.windowTopPos+"px"})))},setTintPosition:function(t){var e=this;e.nzOffset=e.$elem.offset(),e.tintpos=String(-1*(t.pageX-e.nzOffset.left-e.zoomLens.width()/2)),e.tintposy=String(-1*(t.pageY-e.nzOffset.top-e.zoomLens.height()/2)),e.Etoppos&&(e.tintposy=0),e.Eloppos&&(e.tintpos=0),e.Eboppos&&(e.tintposy=-1*(e.nzHeight-e.zoomLens.height()-2*e.options.lensBorderSize)),e.Eroppos&&(e.tintpos=-1*(e.nzWidth-e.zoomLens.width()-2*e.options.lensBorderSize)),e.options.tint&&(e.fullheight&&(e.tintposy=0),e.fullwidth&&(e.tintpos=0),e.zoomTintImage.css({left:e.tintpos+"px"}),e.zoomTintImage.css({top:e.tintposy+"px"}))},swaptheimage:function(t,e){var o=this,i=new Image;o.options.loadingIcon&&(o.spinner=l("<div style=\"background: url('"+o.options.loadingIcon+"') no-repeat center;height:"+o.nzHeight+"px;width:"+o.nzWidth+'px;z-index: 2000;position: absolute; background-position: center center;"></div>'),o.$elem.after(o.spinner)),o.options.onImageSwap(o.$elem),i.onload=function(){o.largeWidth=i.width,o.largeHeight=i.height,o.zoomImage=e,o.zoomWindow.css({"background-size":o.largeWidth+"px "+o.largeHeight+"px"}),o.swapAction(t,e)},i.src=e},swapAction:function(t,e){var o=this,i=new Image;if(i.onload=function(){o.nzHeight=i.height,o.nzWidth=i.width,o.options.onImageSwapComplete(o.$elem),o.doneCallback()},i.src=t,o.currentZoomLevel=o.options.zoomLevel,o.options.maxZoomLevel=!1,"lens"==o.options.zoomType&&o.zoomLens.css({backgroundImage:"url('"+e+"')"}),"window"==o.options.zoomType&&o.zoomWindow.css({backgroundImage:"url('"+e+"')"}),"inner"==o.options.zoomType&&o.zoomWindow.css({backgroundImage:"url('"+e+"')"}),o.currentImage=e,o.options.imageCrossfade){var n=o.$elem,s=n.clone();if(o.$elem.attr("src",t),o.$elem.after(s),s.stop(!0).fadeOut(o.options.imageCrossfade,function(){l(this).remove()}),o.$elem.width("auto").removeAttr("width"),o.$elem.height("auto").removeAttr("height"),n.fadeIn(o.options.imageCrossfade),o.options.tint&&"inner"!=o.options.zoomType){var a=o.zoomTintImage,r=a.clone();o.zoomTintImage.attr("src",e),o.zoomTintImage.after(r),r.stop(!0).fadeOut(o.options.imageCrossfade,function(){l(this).remove()}),a.fadeIn(o.options.imageCrossfade),o.zoomTint.css({height:o.$elem.height()}),o.zoomTint.css({width:o.$elem.width()})}o.zoomContainer.css("height",o.$elem.height()),o.zoomContainer.css("width",o.$elem.width()),"inner"==o.options.zoomType&&(o.options.constrainType||(o.zoomWrap.parent().css("height",o.$elem.height()),o.zoomWrap.parent().css("width",o.$elem.width()),o.zoomWindow.css("height",o.$elem.height()),o.zoomWindow.css("width",o.$elem.width()))),o.options.imageCrossfade&&(o.zoomWrap.css("height",o.$elem.height()),o.zoomWrap.css("width",o.$elem.width()))}else o.$elem.attr("src",t),o.options.tint&&(o.zoomTintImage.attr("src",e),o.zoomTintImage.attr("height",o.$elem.height()),o.zoomTintImage.css({height:o.$elem.height()}),o.zoomTint.css({height:o.$elem.height()})),o.zoomContainer.css("height",o.$elem.height()),o.zoomContainer.css("width",o.$elem.width()),o.options.imageCrossfade&&(o.zoomWrap.css("height",o.$elem.height()),o.zoomWrap.css("width",o.$elem.width()));o.options.constrainType&&("height"==o.options.constrainType&&(o.zoomContainer.css("height",o.options.constrainSize),o.zoomContainer.css("width","auto"),o.options.imageCrossfade?(o.zoomWrap.css("height",o.options.constrainSize),o.zoomWrap.css("width","auto"),o.constwidth=o.zoomWrap.width()):(o.$elem.css("height",o.options.constrainSize),o.$elem.css("width","auto"),o.constwidth=o.$elem.width()),"inner"==o.options.zoomType&&(o.zoomWrap.parent().css("height",o.options.constrainSize),o.zoomWrap.parent().css("width",o.constwidth),o.zoomWindow.css("height",o.options.constrainSize),o.zoomWindow.css("width",o.constwidth)),o.options.tint&&(o.tintContainer.css("height",o.options.constrainSize),o.tintContainer.css("width",o.constwidth),o.zoomTint.css("height",o.options.constrainSize),o.zoomTint.css("width",o.constwidth),o.zoomTintImage.css("height",o.options.constrainSize),o.zoomTintImage.css("width",o.constwidth))),"width"==o.options.constrainType&&(o.zoomContainer.css("height","auto"),o.zoomContainer.css("width",o.options.constrainSize),o.options.imageCrossfade?(o.zoomWrap.css("height","auto"),o.zoomWrap.css("width",o.options.constrainSize),o.constheight=o.zoomWrap.height()):(o.$elem.css("height","auto"),o.$elem.css("width",o.options.constrainSize),o.constheight=o.$elem.height()),"inner"==o.options.zoomType&&(o.zoomWrap.parent().css("height",o.constheight),o.zoomWrap.parent().css("width",o.options.constrainSize),o.zoomWindow.css("height",o.constheight),o.zoomWindow.css("width",o.options.constrainSize)),o.options.tint&&(o.tintContainer.css("height",o.constheight),o.tintContainer.css("width",o.options.constrainSize),o.zoomTint.css("height",o.constheight),o.zoomTint.css("width",o.options.constrainSize),o.zoomTintImage.css("height",o.constheight),o.zoomTintImage.css("width",o.options.constrainSize))))},doneCallback:function(){var t=this;t.options.loadingIcon&&t.spinner.hide(),t.nzOffset=t.$elem.offset(),t.nzWidth=t.$elem.width(),t.nzHeight=t.$elem.height(),t.currentZoomLevel=t.options.zoomLevel,t.widthRatio=t.largeWidth/t.nzWidth,t.heightRatio=t.largeHeight/t.nzHeight,"window"==t.options.zoomType&&(t.nzHeight<t.options.zoomWindowWidth/t.widthRatio?lensHeight=t.nzHeight:lensHeight=String(t.options.zoomWindowHeight/t.heightRatio),t.options.zoomWindowWidth<t.options.zoomWindowWidth?lensWidth=t.nzWidth:lensWidth=t.options.zoomWindowWidth/t.widthRatio,t.zoomLens&&(t.zoomLens.css("width",lensWidth),t.zoomLens.css("height",lensHeight)))},getCurrentImage:function(){return this.zoomImage},getGalleryList:function(){var e=this;return e.gallerylist=[],e.options.gallery?l("#"+e.options.gallery+" a").each(function(){var t="";l(this).data("zoom-image")?t=l(this).data("zoom-image"):l(this).data("image")&&(t=l(this).data("image")),t==e.zoomImage?e.gallerylist.unshift({href:""+t,title:l(this).find("img").attr("title")}):e.gallerylist.push({href:""+t,title:l(this).find("img").attr("title")})}):e.gallerylist.push({href:""+e.zoomImage,title:l(this).find("img").attr("title")}),e.gallerylist},changeZoomLevel:function(t){var e=this;e.scrollingLock=!0,e.newvalue=parseFloat(t).toFixed(2),newvalue=parseFloat(t).toFixed(2),maxheightnewvalue=e.largeHeight/(e.options.zoomWindowHeight/e.nzHeight*e.nzHeight),maxwidthtnewvalue=e.largeWidth/(e.options.zoomWindowWidth/e.nzWidth*e.nzWidth),"inner"!=e.options.zoomType&&(maxheightnewvalue<=newvalue?(e.heightRatio=e.largeHeight/maxheightnewvalue/e.nzHeight,e.newvalueheight=maxheightnewvalue,e.fullheight=!0):(e.heightRatio=e.largeHeight/newvalue/e.nzHeight,e.newvalueheight=newvalue,e.fullheight=!1),maxwidthtnewvalue<=newvalue?(e.widthRatio=e.largeWidth/maxwidthtnewvalue/e.nzWidth,e.newvaluewidth=maxwidthtnewvalue,e.fullwidth=!0):(e.widthRatio=e.largeWidth/newvalue/e.nzWidth,e.newvaluewidth=newvalue,e.fullwidth=!1),"lens"==e.options.zoomType&&(maxheightnewvalue<=newvalue?(e.fullwidth=!0,e.newvaluewidth=maxheightnewvalue):(e.widthRatio=e.largeWidth/newvalue/e.nzWidth,e.newvaluewidth=newvalue,e.fullwidth=!1))),"inner"==e.options.zoomType&&(maxheightnewvalue=parseFloat(e.largeHeight/e.nzHeight).toFixed(2),maxwidthtnewvalue=parseFloat(e.largeWidth/e.nzWidth).toFixed(2),newvalue>maxheightnewvalue&&(newvalue=maxheightnewvalue),newvalue>maxwidthtnewvalue&&(newvalue=maxwidthtnewvalue),maxheightnewvalue<=newvalue?(e.heightRatio=e.largeHeight/newvalue/e.nzHeight,newvalue>maxheightnewvalue?e.newvalueheight=maxheightnewvalue:e.newvalueheight=newvalue,e.fullheight=!0):(e.heightRatio=e.largeHeight/newvalue/e.nzHeight,newvalue>maxheightnewvalue?e.newvalueheight=maxheightnewvalue:e.newvalueheight=newvalue,e.fullheight=!1),maxwidthtnewvalue<=newvalue?(e.widthRatio=e.largeWidth/newvalue/e.nzWidth,newvalue>maxwidthtnewvalue?e.newvaluewidth=maxwidthtnewvalue:e.newvaluewidth=newvalue,e.fullwidth=!0):(e.widthRatio=e.largeWidth/newvalue/e.nzWidth,e.newvaluewidth=newvalue,e.fullwidth=!1)),scrcontinue=!1,"inner"==e.options.zoomType&&(e.nzWidth>=e.nzHeight&&(e.newvaluewidth<=maxwidthtnewvalue?scrcontinue=!0:(scrcontinue=!1,e.fullheight=!0,e.fullwidth=!0)),e.nzHeight>e.nzWidth&&(e.newvaluewidth<=maxwidthtnewvalue?scrcontinue=!0:(scrcontinue=!1,e.fullheight=!0,e.fullwidth=!0))),"inner"!=e.options.zoomType&&(scrcontinue=!0),scrcontinue&&(e.zoomLock=0,e.changeZoom=!0,e.options.zoomWindowHeight/e.he
1ightRatio<=e.nzHeight&&(e.currentZoomLevel=e.newvalueheight,"lens"!=e.options.zoomType&&"inner"!=e.options.zoomType&&(e.changeBgSize=!0,e.zoomLens.css({height:String(e.options.zoomWindowHeight/e.heightRatio)+"px"})),"lens"!=e.options.zoomType&&"inner"!=e.options.zoomType||(e.changeBgSize=!0)),e.options.zoomWindowWidth/e.widthRatio<=e.nzWidth&&("inner"!=e.options.zoomType&&e.newvaluewidth>e.newvalueheight&&(e.currentZoomLevel=e.newvaluewidth),"lens"!=e.options.zoomType&&"inner"!=e.options.zoomType&&(e.changeBgSize=!0,e.zoomLens.css({width:String(e.options.zoomWindowWidth/e.widthRatio)+"px"})),"lens"!=e.options.zoomType&&"inner"!=e.options.zoomType||(e.changeBgSize=!0)),"inner"==e.options.zoomType&&(e.changeBgSize=!0,e.nzWidth>e.nzHeight&&(e.currentZoomLevel=e.newvaluewidth),e.nzHeight>e.nzWidth&&(e.currentZoomLevel=e.newvaluewidth))),e.setPosition(e.currentLoc)},closeAll:function(){self.zoomWindow&&self.zoomWindow.hide(),self.zoomLens&&self.zoomLens.hide(),self.zoomTint&&self.zoomTint.hide()},changeState:function(t){"enable"==t&&(this.options.zoomEnabled=!0),"disable"==t&&(this.options.zoomEnabled=!1)}};l.fn.elevateZoom=function(e){return this.each(function(){var t=Object.create(i);t.init(e,this),l.data(this,"elevateZoom",t)})},l.fn.elevateZoom.options={zoomActivation:"hover",zoomEnabled:!0,preloading:1,zoomLevel:1,scrollZoom:!1,scrollZoomIncrement:.1,minZoomLevel:!1,maxZoomLevel:!1,easing:!1,easingAmount:12,lensSize:200,zoomWindowWidth:400,zoomWindowHeight:400,zoomWindowOffetx:0,zoomWindowOffety:0,zoomWindowPosition:1,zoomWindowBgColour:"#fff",lensFadeIn:!1,lensFadeOut:!1,debug:!1,zoomWindowFadeIn:!1,zoomWindowFadeOut:!1,zoomWindowAlwaysShow:!1,zoomTintFadeIn:!1,zoomTintFadeOut:!1,borderSize:4,showLens:!0,borderColour:"#888",lensBorderSize:1,lensBorderColour:"#000",lensShape:"square",zoomType:"window",containLensZoom:!1,lensColour:"white",lensOpacity:.4,lenszoom:!1,tint:!1,tintColour:"#333",tintOpacity:.4,gallery:!1,galleryActiveClass:"zoomGalleryActive",imageCrossfade:!1,constrainType:!1,constrainSize:!1,loadingIcon:!1,cursor:"default",responsive:!0,onComplete:l.noop,onDestroy:function(){},onZoomedImageLoaded:function(){},onImageSwap:l.noop,onImageSwapComplete:l.noop}}(jQuery,window,document);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.