// source --> https://micro-mve.com/wp-content/plugins/wp-image-zoooom-pro/assets/dist/image_zoom-frontend.min.js?ver=1.55 
(function(d){d.Observe={}})(jQuery);
(function(d,q){var r=function(e,f){f||(f=e,e=window.document);var m=[];d(f).each(function(){for(var l=[],g=d(this),h=g.parent();h.length&&!g.is(e);h=h.parent()){var f=g.get(0).tagName.toLowerCase();l.push(f+":eq("+h.children(f).index(g)+")");g=h}(h.length||g.is(e))&&m.push("> "+l.reverse().join(" > "))});return m.join(", ")};q.path={get:r,capture:function(e,f){f||(f=e,e=window.document);var m=[];d(f).each(function(){var l=-1,g=this;if(this instanceof Text)for(var g=this.parentNode,h=g.childNodes,
f=0;f<h.length;f++)if(h[f]===this){l=f;break}var k=r(e,g),n=d(e).is(g);m.push(function(e){e=n?e:d(e).find(k);return-1===l?e:e.contents()[l]})});return function(e){e=e||window.document;return m.reduce(function(d,f){return d.add(f(e))},d([]))}}}})(jQuery,jQuery.Observe);(function(d,q){var r=function(e){this.original=d(e);this.root=this.original.clone(!1,!0)};r.prototype.find=function(d){return q.path.capture(this.original,d)(this.root)};q.Branch=r})(jQuery,jQuery.Observe);
(function(d,q){var r=function(a,b){var c={};a.forEach(function(a){(a=b(a))&&(c[a[0]]=a[1])});return c},e=r("childList attributes characterData subtree attributeOldValue characterDataOldValue attributeFilter".split(" "),function(a){return[a.toLowerCase(),a]}),f=r(Object.keys(e),function(a){if("attributefilter"!==a)return[e[a],!0]}),m=r(["added","removed"],function(a){return[a.toLowerCase(),a]}),l=d([]),g=function(a){if("object"===typeof a)return a;a=a.split(/\s+/);var b={};a.forEach(function(a){a=
a.toLowerCase();if(!e[a]&&!m[a])throw Error("Unknown option "+a);b[e[a]||m[a]]=!0});return b},h=function(a){return"["+Object.keys(a).sort().reduce(function(b,c){var d=a[c]&&"object"===typeof a[c]?h(a[c]):a[c];return b+"["+JSON.stringify(c)+":"+d+"]"},"")+"]"},t=window.MutationObserver||window.WebKitMutationObserver,k=function(a,b,c,s){this._originalOptions=d.extend({},b);b=d.extend({},b);this.attributeFilter=b.attributeFilter;delete b.attributeFilter;c&&(b.subtree=!0);b.childList&&(b.added=!0,b.removed=
!0);if(b.added||b.removed)b.childList=!0;this.target=d(a);this.options=b;this.selector=c;this.handler=s};k.prototype.is=function(a,b,c){return h(this._originalOptions)===h(a)&&this.selector===b&&this.handler===c};k.prototype.match=function(a){var b=this.options,c=a.type;if(!this.options[c])return l;if(this.selector)switch(c){case "attributes":if(!this._matchAttributeFilter(a))break;case "characterData":return this._matchAttributesAndCharacterData(a);case "childList":if(a.addedNodes&&a.addedNodes.length&&
b.added&&(c=this._matchAddedNodes(a),c.length))return c;if(a.removedNodes&&a.removedNodes.length&&b.removed)return this._matchRemovedNodes(a)}else{var s=a.target instanceof Text?d(a.target).parent():d(a.target);if(!b.subtree&&s.get(0)!==this.target.get(0))return l;switch(c){case "attributes":if(!this._matchAttributeFilter(a))break;case "characterData":return this.target;case "childList":if(a.addedNodes&&a.addedNodes.length&&b.added||a.removedNodes&&a.removedNodes.length&&b.removed)return this.target}}return l};
k.prototype._matchAttributesAndCharacterData=function(a){return this._matchSelector(this.target,[a.target])};k.prototype._matchAddedNodes=function(a){return this._matchSelector(this.target,a.addedNodes)};k.prototype._matchRemovedNodes=function(a){var b=new q.Branch(this.target),c=Array.prototype.slice.call(a.removedNodes).map(function(a){return a.cloneNode(!0)});a.previousSibling?b.find(a.previousSibling).after(c):a.nextSibling?b.find(a.nextSibling).before(c):(this.target===a.target?b.root:b.find(a.target)).empty().append(c);
return this._matchSelector(b.root,c).length?d(a.target):l};k.prototype._matchSelector=function(a,b){var c=a.find(this.selector);b=Array.prototype.slice.call(b);return c=c.filter(function(){var a=this;return b.some(function(b){return b instanceof Text?b.parentNode===a:b===a||d(b).has(a).length})})};k.prototype._matchAttributeFilter=function(a){return this.attributeFilter&&this.attributeFilter.length?0<=this.attributeFilter.indexOf(a.attributeName):!0};var n=function(a){this.patterns=[];this._target=
a;this._observer=null};n.prototype.observe=function(a,b,c){var d=this;this._observer?this._observer.disconnect():this._observer=new t(function(a){a.forEach(function(a){d.patterns.forEach(function(b){var c=b.match(a);c.length&&c.each(function(){b.handler.call(this,a)})})})});this.patterns.push(new k(this._target,a,b,c));this._observer.observe(this._target,this._collapseOptions())};n.prototype.disconnect=function(a,b,c){var d=this;this._observer&&(this.patterns.filter(function(d){return d.is(a,b,c)}).forEach(function(a){a=
d.patterns.indexOf(a);d.patterns.splice(a,1)}),this.patterns.length||this._observer.disconnect())};n.prototype.disconnectAll=function(){this._observer&&(this.patterns=[],this._observer.disconnect())};n.prototype.pause=function(){this._observer&&this._observer.disconnect()};n.prototype.resume=function(){this._observer&&this._observer.observe(this._target,this._collapseOptions())};n.prototype._collapseOptions=function(){var a={};this.patterns.forEach(function(b){var c=a.attributes&&a.attributeFilter;
if(!c&&a.attributes||!b.attributeFilter)c&&b.options.attributes&&!b.attributeFilter&&delete a.attributeFilter;else{var e={},f=[];(a.attributeFilter||[]).concat(b.attributeFilter).forEach(function(a){e[a]||(f.push(a),e[a]=1)});a.attributeFilter=f}d.extend(a,b.options)});Object.keys(m).forEach(function(b){delete a[m[b]]});return a};var p=function(a){this.patterns=[];this._paused=!1;this._target=a;this._events={};this._handler=this._handler.bind(this)};p.prototype.NS=".jQueryObserve";p.prototype.observe=
function(a,b,c){a=new k(this._target,a,b,c);d(this._target);a.options.childList&&(this._addEvent("DOMNodeInserted"),this._addEvent("DOMNodeRemoved"));a.options.attributes&&this._addEvent("DOMAttrModified");a.options.characterData&&this._addEvent("DOMCharacerDataModified");this.patterns.push(a)};p.prototype.disconnect=function(a,b,c){var e=d(this._target),f=this;this.patterns.filter(function(d){return d.is(a,b,c)}).forEach(function(a){a=f.patterns.indexOf(a);f.patterns.splice(a,1)});var g=this.patterns.reduce(function(a,
b){b.options.childList&&(a.DOMNodeInserted=!0,a.DOMNodeRemoved=!0);b.options.attributes&&(a.DOMAttrModified=!0);b.options.characterData&&(a.DOMCharacerDataModified=!0);return a},{});Object.keys(this._events).forEach(function(a){g[a]||(delete f._events[a],e.off(a+f.NS,f._handler))})};p.prototype.disconnectAll=function(){var a=d(this._target),b;for(b in this._events)a.off(b+this.NS,this._handler);this._events={};this.patterns=[]};p.prototype.pause=function(){this._paused=!0};p.prototype.resume=function(){this._paused=
!1};p.prototype._handler=function(a){if(!this._paused){var b={type:null,target:null,addedNodes:null,removedNodes:null,previousSibling:null,nextSibling:null,attributeName:null,attributeNamespace:null,oldValue:null};switch(a.type){case "DOMAttrModified":b.type="attributes";b.target=a.target;b.attributeName=a.attrName;b.oldValue=a.prevValue;break;case "DOMCharacerDataModified":b.type="characterData";b.target=d(a.target).parent().get(0);b.attributeName=a.attrName;b.oldValue=a.prevValue;break;case "DOMNodeInserted":b.type=
"childList";b.target=a.relatedNode;b.addedNodes=[a.target];b.removedNodes=[];break;case "DOMNodeRemoved":b.type="childList",b.target=a.relatedNode,b.addedNodes=[],b.removedNodes=[a.target]}for(a=0;a<this.patterns.length;a++){var c=this.patterns[a],e=c.match(b);e.length&&e.each(function(){c.handler.call(this,b)})}}};p.prototype._addEvent=function(a){this._events[a]||(d(this._target).on(a+this.NS,this._handler),this._events[a]=!0)};q.Pattern=k;q.MutationObserver=n;q.DOMEventObserver=p;d.fn.observe=
function(a,b,c){b?c||(c=b,b=null):(c=a,a=f);return this.each(function(){var e=d(this),f=e.data("observer");f||(f=t?new n(this):new p(this),e.data("observer",f));a=g(a);f.observe(a,b,c)})};d.fn.disconnect=function(a,b,c){a&&(b?c||(c=b,b=null):(c=a,a=f));return this.each(function(){var e=d(this),f=e.data("observer");f&&(a?(a=g(a),f.disconnect(a,b,c)):(f.disconnectAll(),e.removeData("observer")))})}})(jQuery,jQuery.Observe);
/*
A simple jQuery function that can add listeners on attribute change.
http://meetselva.github.io/attrchange/

About License:
Copyright (C) 2013-2014 Selvakumar Arumugam
You may use attrchange plugin under the terms of the MIT Licese.
https://github.com/meetselva/attrchange/blob/master/MIT-License.txt
 */
!function(a){function b(){var a=document.createElement("p"),b=!1;if(a.addEventListener)a.addEventListener("DOMAttrModified",function(){b=!0},!1);else{if(!a.attachEvent)return!1;a.attachEvent("onDOMAttrModified",function(){b=!0})}return a.setAttribute("id","target"),b}function c(b,c){if(b){var d=this.data("attr-old-value");if(c.attributeName.indexOf("style")>=0){d.style||(d.style={});var e=c.attributeName.split(".");c.attributeName=e[0],c.oldValue=d.style[e[1]],c.newValue=e[1]+":"+this.prop("style")[a.camelCase(e[1])],d.style[e[1]]=c.newValue}else c.oldValue=d[c.attributeName],c.newValue=this.attr(c.attributeName),d[c.attributeName]=c.newValue;this.data("attr-old-value",d)}}var d=window.MutationObserver||window.WebKitMutationObserver;a.fn.attrchange=function(e,f){if("object"==typeof e){var g={trackValues:!1,callback:a.noop};if("function"==typeof e?g.callback=e:a.extend(g,e),g.trackValues&&this.each(function(b,c){for(var d,e={},f=0,g=c.attributes,h=g.length;h>f;f++)d=g.item(f),e[d.nodeName]=d.value;a(this).data("attr-old-value",e)}),d){var h={subtree:!1,attributes:!0,attributeOldValue:g.trackValues},i=new d(function(b){b.forEach(function(b){var c=b.target;g.trackValues&&(b.newValue=a(c).attr(b.attributeName)),"connected"===a(c).data("attrchange-status")&&g.callback.call(c,b)})});return this.data("attrchange-method","Mutation Observer").data("attrchange-status","connected").data("attrchange-obs",i).each(function(){i.observe(this,h)})}return b()?this.data("attrchange-method","DOMAttrModified").data("attrchange-status","connected").on("DOMAttrModified",function(b){b.originalEvent&&(b=b.originalEvent),b.attributeName=b.attrName,b.oldValue=b.prevValue,"connected"===a(this).data("attrchange-status")&&g.callback.call(this,b)}):"onpropertychange"in document.body?this.data("attrchange-method","propertychange").data("attrchange-status","connected").on("propertychange",function(b){b.attributeName=window.event.propertyName,c.call(a(this),g.trackValues,b),"connected"===a(this).data("attrchange-status")&&g.callback.call(this,b)}):this}return"string"==typeof e&&a.fn.attrchange.hasOwnProperty("extensions")&&a.fn.attrchange.extensions.hasOwnProperty(e)?a.fn.attrchange.extensions[e].call(this,f):void 0}}(jQuery);
/*! Image Zoom - v4.12 - 2022-03-21
* Copyright (c) 2021 Diana Burduja; Licensed MIT License
* This is a very strongly modified version of the https://github.com/elevateweb/elevatezoom jQuery plugin. */

!function(r,a,l,o){"use strict";var t={textOnImage:function(){var o=this;if(""!==o.options.customText&&o.$elem.attr("width")&&!o.$elem.next().hasClass("iz-text")){var i=r("<div>").css({position:"absolute","margin-top":"-35px","padding-bottom":"35px",width:o.$elem.attr("width"),color:o.options.customTextColor,"font-size":o.options.customTextSize+"px","text-align":o.options.customTextAlign}).addClass("iz-text").text(o.options.customText);if("right"==o.options.customTextAlign&&i.css("padding-right","30px"),"left"==o.options.customTextAlign&&i.css("padding-left","30px"),"top"==o.options.customTextVAlign&&o.$elem.attr("height")){var e=parseInt(o.$elem.attr("height"))-30;i.css("margin-top","-"+e+"px"),i.css("padding-bottom",e+"px")}o.$elem.after(i)}},init:function(o,i){var e=this;if(e.elem=i,e.$elem=r(i),e.options=o,e.is_touch=!1,e.img_big={src:e.$elem.attr("src")},void 0===e.img_big.src&&void 0!==e.$elem.attr("data-src")&&(e.img_big.src=e.$elem.attr("data-src")),e.$elem.data("zoom-image"))e.img_big.src=e.$elem.data("zoom-image");else if(e.$elem.attr("srcset")){var t=e.$elem.attr("srcset").split(","),n=0,s="";r.each(t,function(o,i){var e=i.trim().split(" ");parseInt(e[1])>n&&(n=parseInt(e[1]),s=e[0])}),""!==s&&(e.img_big.src=s)}if(e.$elem.data("zoom-attr"))for(var m in e.$elem.data("zoom-attr"))e.options[m]=e.$elem.data("zoom-attr")[m];e.ratio={width:1,height:1},e.zw={height:parseInt(e.options.zoomWindowHeight),width:parseInt(e.options.zoomWindowWidth)},e.lens={height:e.options.lensSize,width:e.options.lensSize},e.screen={height:r(l).height(),width:r(l).width()},e.options.tint&&(e.options.lensColour="none",e.options.lensOpacity="1"),"inner"===e.options.zoomType&&(e.options.showLens=!1),e.$elem.parent().removeAttr("title").removeAttr("alt"),!0===e.options.responsive&&e.screen.width<=e.options.responsiveThreshold&&(e.options.zoomType="inner",e.options.showLens=!1),e.loadImage()},isTouchDevice:function(){return!!("ontouchstart"in a)},loadImage:function(){var o=this,i=new Image;i.onload=function(){o.img_big.height=i.height,o.img_big.width=i.width,o.img_big.width<o.zw.width&&(o.zw.width=o.img_big.width),o.img_big.height<o.zw.height&&(o.zw.height=o.img_big.height),o.registerStart()},i.src=o.img_big.src},registerStart:function(){var e=this;if(e.$elem.off("touchstart touchmove touchend"),e.$elem.on("touchstart",function(o){o.preventDefault(),e.is_touch=!0,e.startZoom(o),e.registerTouchStart(o)}).on("touchmove",function(o){e.is_touch=!0,o.preventDefault(),e.registerTouchMove(o)}).on("touchend",function(o){e.is_touch=!1,o.preventDefault(),e.registerTouchEnd()}),!0===e.options.onClick)e.$elem.off("click"),e.$elem.on("click",function(o){o.preventDefault(),e.startZoom(o),e.setElements(!0)});else{var t=1,o="mouseenter";!0===e.options.onMouseMove&&(o="mousemove mouseenter"),e.$elem.off(o),e.$elem.on(o,function(o){if(e.isTouchDevice()){var i=!1;e.$elem.on("touchstart",function(){e.is_touch=!0,i=!0}),setTimeout(function(){i||e.startZoom(o)},10)}else(!(e.is_touch=!1)!==e.options.onMouseMove||1<t||"mouseenter"!==o.type)&&e.startZoom(o),t+=1})}e.$elem.on("dragstart",function(){return!1})},buildZoomContainer:function(){var i=this;i.zoomContainer=r("<div />").addClass("zoomContainer").css({"-webkit-transform":"translateZ(0)",position:"absolute",left:i.img_small.offset.left+"px",top:i.img_small.offset.top+"px",height:i.img_small.height+"px",width:i.img_small.width+"px","z-index":i.options.zIndex}),"lens"==i.options.zoomType&&1==i.options.lensOverflow&&i.zoomContainer.css("overflow","hidden"),i.zoomContainer.appendTo("body").on("mouseleave",function(){i.setElements(!1)}),!0===i.options.onClick&&i.zoomContainer.on("click",function(o){i.setElements(!1),o.preventDefault()})},buildZoomLens:function(){var o=this;o.options.containLensZoom&&o.zoomContainer.css("overflow","hidden");var i={"background-position":"0px 0px",float:"left",display:"none",border:o.options.borderSize+"px solid "+o.options.borderColour,width:o.options.lensSize+"px",height:o.options.lensSize+"px","border-radius":o.options.borderRadius+"px",cursor:o.options.cursor,"background-repeat":"no-repeat",position:"absolute",overflow:"hidden","z-index":o.options.zIndex};if(!0===o.options.tint&&(i["-webkit-transform"]="translateZ(0)",i.opacity=o.options.lensOpacity,i["-ms-filter"]="progid:DXImageTransform.Microsoft.Alpha(Opacity="+100*o.options.lensOpacity+")",i.filter="alpha(opacity= "+100*o.options.lensOpacity+")"),"round"===o.options.lensShape){var e=o.options.lensSize/2+o.options.borderSize+"px";i["-webkit-border-radius"]=e,i["-moz-border-radius"]=e,i["border-radius"]=e}o.zoomLens=r("<div />").addClass("zoomLens").css(i).appendTo(o.zoomContainer),!0===o.options.lensTriggerClick&&o.zoomLens.on("click",function(){o.$elem.trigger("click")})},buildZoomWindow:function(){var o=this;o.lens.height=o.zw.height/o.ratio.height,o.img_big.height<o.zw.height&&(o.lens.height=o.img_small.height),o.lens.width=o.zw.width/o.ratio.width,o.img_big.width<o.zw.width&&(o.lens.width=o.img_small.width);var i={"background-position":"0px 0px",display:"none",overflow:"hidden","z-index":o.options.zIndex,"-webkit-transform":"translateZ(0)",opacity:o.options.lensOpacity,"-ms-filter":"progid:DXImageTransform.Microsoft.Alpha(Opacity="+100*o.options.lensOpacity+")",filter:"alpha(opacity= "+100*o.options.lensOpacity+")",zoom:1,width:o.lens.width+"px",height:o.lens.height+"px","background-color":o.options.lensColour,cursor:o.options.cursor,"border-radius":o.options.borderRadius+"px",border:o.options.lensBorderSize+"px solid "+o.options.lensBorderColour,"background-repeat":"no-repeat",position:"absolute","box-shadow":"-0px -0px 10px rgba(0, 0, 0, 0.4)"};!1!==o.options.lensOverlay&&(i.background="url("+o.options.lensOverlay+") "+o.options.lensColour),o.zoomLens=r("<div />").addClass("zoomLens").css(i).appendTo(o.zoomContainer),!0===o.options.lensTriggerClick&&o.zoomLens.on("click",function(){o.$elem.trigger("click")}),o.xp&&o.yp||(o.xp=-o.img_big.width/2,o.yp=-o.img_big.height/2);var e={overflow:"hidden","background-position":o.xp+"px "+o.yp+"px","text-align":"center","background-color":o.options.zoomWindowBgColour,width:o.zw.width+"px",height:o.zw.height+"px",float:"left","border-radius":o.options.borderRadius+"px","background-size":o.img_big.width/o.currentZoomLevel+"px "+o.img_big.height/o.currentZoomLevel+"px",display:"none","z-index":o.options.zIndex,border:o.options.borderSize+"px solid "+o.options.borderColour,"background-repeat":"no-repeat",position:"absolute"};if(0<o.options.zoomWindowShadow){var t=2*o.options.zoomWindowShadow+"px "+2*o.options.zoomWindowShadow+"px "+o.options.zoomWindowShadow+"px #ccc";e["box-shadow"]=t,e["-moz-box-shadow"]=t,e["-webkit-box-shadow"]=t,e["-khtml-box-shadow"]=t}return e},buildZoomInner:function(){var o=this,i=o.$elem.css("border-left-width");return o.xp&&o.yp||(o.xp=-o.img_big.width/2,o.yp=-o.img_big.height/2),{overflow:"hidden","margin-left":i,"margin-top":i,"background-position":o.xp+"px "+o.yp+"px",width:o.img_small.width+"px",height:o.img_small.height+.5+"px",float:"left","border-radius":o.options.borderRadius+"px",display:"none",cursor:o.options.cursor,"background-repeat":"no-repeat",position:"absolute","z-index":o.options.zIndex}},buildTint:function(){var o=this;if(o.options.tint){var i={display:"block",position:"absolute","background-color":o.options.tintColour,filter:"alpha(opacity=0)",border:"none",opacity:0,"z-index":o.options.zIndex-20,width:o.img_small.width+"px",height:o.img_small.height+"px"};o.tintContainer=r("<div />").addClass("tintContainer"),o.zoomTint=r("<div />").addClass("zoomTint").css(i),o.zoomLens.wrap(o.tintContainer),o.zoomLens.after(o.zoomTint);var e={position:"absolute",left:"0px",top:"0px","z-index":o.options.zIndex-20,opacity:"0","max-width":"none",width:o.img_small.width+"px",height:o.img_small.height+"px"};"window"===o.options.zoomType&&(e.opacity=1),o.zoomTintImage=r("<img />").css(e).attr("src",o.img_big.src).appendTo(o.zoomLens).on("click",function(){o.$elem.trigger("click")}).on("dragstart",function(){return!1})}},startZoom:function(o){var i=this;if(i.isWindowActive=!1,i.isLensActive=!1,i.isTintActive=!1,i.zoomLock=1,i.scrollingLock=!1,i.changeBgSize=!1,i.currentZoomLevel=i.options.zoomLevel,i.img_small={src:i.$elem.attr("src"),width:i.$elem.width(),height:i.$elem.height(),offset:i.$elem.offset()},i.$elem.css("padding-top")&&(i.img_small.offset.top+=parseInt(i.$elem.css("padding-top")),i.img_small.offset.left+=parseInt(i.$elem.css("padding-left"))),i.img_big.width/i.img_small.width<1&&1===i.options.zoomLevel&&(i.currentZoomLevel=i.img_big.width/i.img_small.width/1.3,i.options.zoomLevel=i.currentZoomLevel),i.ratio={width:i.img_big.width/i.img_small.width/i.currentZoomLevel,height:i.img_big.height/i.img_small.height/i.currentZoomLevel},i.options.ratio&&(i.ratio={width:i.options.ratio,height:i.options.ratio},i.currentZoomLevel=i.img_big.width/i.img_small.width/i.options.ratio,i.options.zoomLevel=i.currentZoomLevel),(i.ratio.height<1||i.ratio.width<1)&&!0!==i.options.scrollZoom)return!1;i.buildZoomContainer();var e={};switch(i.options.zoomType){case"lens":i.buildZoomLens(),i.buildTint();break;case"window":e=i.buildZoomWindow(),i.buildTint();break;case"inner":e=i.buildZoomInner()}var t="body";isNaN(i.options.zoomWindowPosition)||(t=i.zoomContainer),i.zoomWindow=r("<div />").addClass("zoomWindow").css(e).appendTo(t).on("click",function(){i.$elem.trigger("click")});var n=r("<div />").addClass("iz_watermark").css({width:i.img_small.width+"px",height:i.img_small.height+"px","vertical-align":i.options.customTextVAlign,display:"table-cell","text-align":i.options.customTextAlign,color:i.options.customTextColor,"font-size":i.options.customTextSize+"px",padding:"3px"}).html(i.options.customText);if(0<r(".iz_watermark").length&&r(".iz_watermark").remove(),i.zoomWindow.after(n),!1!==i.options.imageTitlePosition&&i.$elem.attr("title")){var s=r("<div />").addClass("iz_image_title").css({color:i.options.imageTitleColour,"background-color":i.options.imageTitleBg,"font-size":i.options.imageTitleSize,width:"100%",position:"absolute",padding:"4px",opacity:"0.85"}).html(i.$elem.attr("title"));"bottom"==i.options.imageTitlePosition&&s.css("bottom","0"),i.zoomWindow.html(s)}i.zoomWindowContainer=r("<div/>").addClass("zoomWindowContainer").css("width",i.zw.width),i.zoomWindow.wrap(i.zoomWindowContainer);var m={backgroundImage:"url('"+i.img_big.src+"')"};"lens"===i.options.zoomType?i.zoomLens.css(m):i.zoomWindow.css(m),(!0===i.options.onClick||i.isTouchDevice())&&i.setElements(!0),i.registerMouseMove(o),i.registerMouseEvents(),i.registerScrollZoom()},registerTouchEnd:function(){this.scrollLock||this.setElements(!1)},registerTouchStart:function(o){var i=this;o.preventDefault();var e=o.originalEvent.touches[0]||o.originalEvent.changedTouches[0];i.mouse={left:parseInt(e.pageX-i.img_small.offset.left),top:parseInt(e.pageY-i.img_small.offset.top)},"lens"==i.options.zoomType&&i.options.lensUnderTouch&&(i.mouse.top-=i.zoomLens.height()/2),i.setPosition(e)},registerTouchMove:function(o){var i=this;o.preventDefault();var e=o.originalEvent.touches[0]||o.originalEvent.changedTouches[0];void 0!==i.img_small&&(i.mouse={left:parseInt(e.pageX-i.img_small.offset.left),top:parseInt(e.pageY-i.img_small.offset.top)},"lens"==i.options.zoomType&&i.options.lensUnderTouch&&(i.mouse.top-=i.zoomLens.height()/2),i.setPosition(e))},registerMouseMove:function(o){var i=this;i.mouse={left:parseInt(o.pageX-i.img_small.offset.left),top:parseInt(o.pageY-i.img_small.offset.top)},i.lastX===o.clientX&&i.lastY===o.clientY||(i.setPosition(o),i.currentLoc=o),i.lastX=o.clientX,i.lastY=o.clientY},registerMouseEvents:function(){var i=this,o=function(o){i.mouse={left:parseInt(o.pageX-i.img_small.offset.left),top:parseInt(o.pageY-i.img_small.offset.top)},i.lastX===o.clientX&&i.lastY===o.clientY||(i.setPosition(o),i.currentLoc=o),i.lastX=o.clientX,i.lastY=o.clientY};i.$elem.on("mousemove",o),i.zoomContainer.on("mousemove",o),"inner"===i.options.zoomType?i.zoomWindow.on("mousemove",o):(i.zoomLens.on("mousemove",o),i.options.tint&&i.zoomTint.on("mousemove",o))},registerScrollZoom:function(){var t=this;if(!t.options.scrollZoom)return t.changeZoomLevel(t.currentZoomLevel),!1;t.changeZoomLevel(t.currentZoomLevel),1!==t.options.zoomLevel&&t.changeZoomLevel(t.currentZoomLevel);var n=2*t.options.scrollZoomIncrement;t.options.minZoomLevel&&(n=t.options.minZoomLevel);t.zoomContainer.add(t.$elem).on("mousewheel DOMMouseScroll MozMousePixelScroll",function(o){t.scrollLock=!0,clearTimeout(r.data(this,"timer")),r.data(this,"timer",setTimeout(function(){t.scrollLock=!1},250));var i=o.originalEvent.wheelDelta||-1*o.originalEvent.detail||o.originalEvent.deltaY;o.stopImmediatePropagation(),o.stopPropagation(),o.preventDefault();var e=0;return t.currentZoomLevel=parseFloat(t.currentZoomLevel),0<i?t.currentZoomLevel>=n&&(e=t.currentZoomLevel-t.options.scrollZoomIncrement):e=t.currentZoomLevel+t.options.scrollZoomIncrement,t.changeZoomLevel(e),!1})},setElements:function(o){var i=this;if(!i.options.zoomEnabled)return!1;!1===o&&(i.$elem.off("mousemove"),i.zoomContainer.off("mousemove click mouseleave"),i.zoomWindow.off("mousemove click"),i.zoomLens&&i.zoomLens.off("mousemove click"),i.zoomTint&&i.zoomTint.off("mousemove"),r(".zoomContainer").remove(),r(".zoomLens").remove(),r(".zoomWindow").remove(),r(".tintContainer").remove()),i.showZoomWindow(o),i.showLens(o),i.showTint(o)},setPosition:function(o){var i=this;if(!i.options.zoomEnabled)return!1;if(i.options.tint&&"inner"!==i.options.zoomType&&i.zoomTint.css({top:0,left:0}),i.options.responsive&&!i.options.scrollZoom&&i.options.showLens)if("lens"===i.options.zoomType)i.zoomLens.css({width:i.options.lensSize+"px",height:i.options.lensSize+"px"});else{var e=i.zw.height/i.ratio.height;i.img_small.height<i.zw.width/i.ratio.width&&(e=i.img_small.height);var t=i.zw.width/i.ratio.width;i.img_small.width<i.zw.width/i.ratio.height&&(t=i.img_small.width),i.zoomLens.css({width:t+"px",height:e+"px"}),i.options.tint&&i.zoomTintImage.css({width:i.img_small.width+"px",height:i.img_small.height+"px"})}i.zoomContainer.css({top:i.img_small.offset.top,left:i.img_small.offset.left});var n={top:!1,bottom:!1,left:!1,right:!1};"window"===i.options.zoomType&&(n.height=i.zoomLens.height()/2,n.width=i.zoomLens.width()/2),"inner"===i.options.zoomType&&(n.height=i.img_small.height/2/i.ratio.height,n.width=i.img_small.width/2/i.ratio.width),n.top=i.mouse.top<n.height,n.bottom=i.mouse.top>i.img_small.height-n.height,n.left=i.mouse.left<n.width,n.right=i.mouse.left>i.img_small.width-n.width,i.bound=n;var s=0;if("lens"==i.options.zoomType&&1==i.is_touch&&(s=-i.zoomLens.height()/2),i.mouse.left<0||i.mouse.top<s||i.mouse.left>i.img_small.width||i.mouse.top>i.img_small.height)i.setElements(!1);else{i.setElements(!0);var m=0,r=0;switch(i.options.zoomType){case"window":m=i.mouse.left-i.zoomLens.width()/2-i.options.lensBorderSize,r=i.mouse.top-i.zoomLens.height()/2-i.options.lensBorderSize,n.bottom&&(r=i.img_small.height-i.zoomLens.height()-i.options.lensBorderSize),n.right&&(m=i.img_small.width-i.zoomLens.width()-i.options.lensBorderSize),n.top&&(r=-i.options.lensBorderSize),n.left&&(m=-i.options.lensBorderSize),i.options.tint&&i.setTintPosition(o);break;case"inner":n.bottom&&(r=Math.max(i.img_small.height-2*i.options.lensBorderSize,0)),n.right&&(m=2*-i.options.lensBorderSize);break;case"lens":i.windowLeftPos=i.zoomLens.width()/2-i.mouse.left*i.ratio.width,i.windowTopPos=i.zoomLens.height()/2-i.mouse.top*i.ratio.height,1==i.is_touch&&i.mouse.top<0&&(i.windowTopPos=i.zoomLens.height()/2-i.mouse.top),i.zoomLens.css({backgroundPosition:i.windowLeftPos+"px "+i.windowTopPos+"px"}),i.changeBackgroundSize(),i.options.tint&&i.setTintPosition(o),m=i.mouse.left-i.zoomLens.width()/2,r=i.mouse.top-i.zoomLens.height()/2}i.setWindowPosition(o),i.options.showLens&&(i.fullwidth&&"lens"!==i.options.zoomType&&(m=0),i.zoomLens.css({left:m+"px",top:r+"px"}))}},showZoomWindow:function(o){var i=this;i.isWindowActive!==o&&(i.fadeEffect(i.zoomWindow,o,i.options.zoomWindowFadeIn,i.options.zoomWindowFadeOut),i.isWindowActive=o)},showLens:function(o){var i=this;i.options.showLens&&i.isLensActive!==o&&(i.fadeEffect(i.zoomLens,o,i.options.lensFadeIn,i.options.lensFadeOut),i.isLensActive=o)},showTint:function(o){var i=this;i.options.tint&&"inner"!==i.options.zoomType&&i.isTintActive!==o&&(o&&i.zoomTint.css({opacity:i.options.tintOpacity}).animate(),i.fadeEffect(i.zoomTint,o,"slow","slow"),i.isTintActive=o)},fadeEffect:function(o,i,e,t){i?0<e?o.stop(!0,!0,!1).fadeIn(e):o.show():0<t?o.stop(!0,!0).fadeOut(t):o.hide()},setWindowPosition:function(o){var i=this;"inner"===i.options.zoomType&&(i.options.zoomWindowPosition=1),i.options.zoomWindowOffsetx=parseInt(i.options.zoomWindowOffsetx),i.options.zoomWindowOffsety=parseInt(i.options.zoomWindowOffsety);var e=i.options.zoomWindowOffsety,t=i.img_small.width;if(isNaN(i.options.zoomWindowPosition)){var n=r("#"+i.options.zoomWindowPosition).offset();e=n.top,t=n.left}else{switch(i.options.zoomWindowPosition){case 4:case 5:case 6:case 7:case 8:e=i.img_small.height;break;case 12:case 13:case 14:case 15:case 16:e=-i.zoomWindow.height()-2*i.options.borderSize;break;case 1:case 11:e=i.options.zoomWindowOffsety;break;case 2:case 10:e=i.img_small.height/2-i.zw.height/2;break;case 3:case 9:e=i.img_small.height-i.zoomWindow.height()-2*i.options.borderSize}switch(i.options.zoomWindowPosition){case 1:case 2:case 3:case 4:case 16:t=i.img_small.width+i.options.zoomWindowOffsetx,!0===i.options.responsive&&"window"===i.options.zoomType&&i.$elem.offset().left+t+i.zw.width>=i.screen.width&&(i.zw.width=i.screen.width-i.$elem.offset().left-t-20,i.zoomWindow.css({width:i.zw.width}),i.zoomLens.css({width:i.zw.width/i.ratio.width})),"inner"===i.options.zoomType&&(t=i.options.zoomWindowOffsetx);break;case 8:case 9:case 10:case 11:case 12:!0===i.options.responsive&&"window"===i.options.zoomType&&i.zw.width+2*i.options.borderSize+i.options.zoomWindowOffsetx>=i.$elem.offset().left&&(i.zw.width=i.$elem.offset().left-2*i.options.borderSize-i.options.zoomWindowOffsetx-20,i.zoomWindow.css({width:i.zw.width}),i.zoomLens.css({width:i.zw.width/i.ratio.width})),t=-i.zw.width-2*i.options.borderSize-3*i.options.zoomWindowOffsetx;break;case 5:case 15:t=i.img_small.width-i.zoomWindow.width()-2*i.options.borderSize;break;case 6:case 14:t=i.img_small.width/2-i.zw.width/2-2*i.options.borderSize;break;case 7:case 13:t=0}}if(e+=i.options.zoomWindowOffsety,t+=i.options.zoomWindowOffsetx,"window"===i.options.zoomType&&i.options.adjustZoomWindowHeight){var s="innerHeight"in a?a.innerHeight:l.documentElement.offsetHeight,m=a.pageYOffset||l.documentElement.scrollTop;i.img_small.offset.top-m+i.zw.height>s&&(e=-(i.img_small.offset.top-m+i.zw.height-s+10),i.zw.height+20>s&&(i.zw.height=s-20,i.zoomWindow.css({height:i.zw.height}),i.zoomLens.css({height:i.zw.height/i.ratio.height})))}"inner"==i.options.zoomType&&(t=0),i.zoomWindow.css({top:e,left:t}),i.windowLeftPos=i.zoomWindow.width()/2-i.mouse.left*i.ratio.width,i.windowTopPos=i.zoomWindow.height()/2-i.mouse.top*i.ratio.height,(i.bound.top||i.fullheight)&&(i.windowTopPos=0),(i.bound.left||i.fullwidth)&&(i.windowLeftPos=0),i.bound.bottom&&(i.windowTopPos=i.zoomWindow.height()-i.img_big.height/i.currentZoomLevel),i.bound.right&&(i.windowLeftPos=i.zoomWindow.width()-i.img_big.width/i.currentZoomLevel),"window"!==i.options.zoomType&&"inner"!==i.options.zoomType||(1===i.zoomLock&&(i.ratio.width<=1&&(i.windowLeftPos=0),i.ratio.height<=1&&(i.windowTopPos=0)),0<i.options.easingAmount?i.easingEffect(o):(i.changeBackgroundSize(),i.zoomWindow.css({backgroundPosition:i.windowLeftPos+"px "+i.windowTopPos+"px"})))},changeBackgroundSize:function(){var o=this;if(o.changeBgSize){var i=o.img_big.width/o.newZoomLevel+"px "+o.img_big.height/o.newZoomLevel+"px";"lens"===o.options.zoomType&&o.zoomLens.css({"background-size":i}),o.zoomWindow.css({"background-size":i}),o.changeBgSize=!1}},easingEffect:function(o){var i=this;i.xp||(i.xp=0),i.yp||(i.yp=0),i.loop||(i.loop=setInterval(function(){i.xp+=(i.windowLeftPos-i.xp)/i.options.easingAmount,i.yp+=(i.windowTopPos-i.yp)/i.options.easingAmount,0<i.xp&&(i.xp=0),0<i.yp&&(i.yp=0),i.yp<i.zoomWindow.height()-i.img_big.height/i.currentZoomLevel&&(i.yp=i.zoomWindow.height()-i.img_big.height/i.currentZoomLevel),i.xp<i.zoomWindow.width()-i.img_big.width/i.currentZoomLevel&&(i.xp=i.zoomWindow.width()-i.img_big.width/i.currentZoomLevel),i.scrollingLock?(clearInterval(i.loop),i.xp=i.zoomWindow.width()/2-i.mouse.left*i.ratio.width,i.yp=i.zoomWindow.height()/2-i.mouse.top*i.ratio.height,i.changeBackgroundSize(),i.zoomWindow.css({backgroundPosition:i.windowLeftPos+"px "+i.windowTopPos+"px"}),i.scrollingLock=!1,i.loop=!1):(i.changeBackgroundSize(),i.zoomWindow.css({backgroundPosition:i.xp+"px "+i.yp+"px"}))},16))},setTintPosition:function(){var o=this;o.options.tint&&(o.tintpos=o.zoomLens.width()/2-o.mouse.left,o.tintposy=o.zoomLens.height()/2-o.mouse.top,(o.bound.top||o.fullheight)&&(o.tintposy=0),(o.bound.left||o.fullwidth)&&(o.tintpos=0),o.bound.bottom&&(o.tintposy=o.zoomLens.height()-o.img_small.height),o.bound.right&&(o.tintpos=o.zoomLens.width()-o.img_small.width),o.zoomTintImage.css({left:o.tintpos+"px",top:o.tintposy+"px"}))},changeZoomLevel:function(o){var i=this;i.scrollingLock=!0,i.newZoomLevel=parseFloat(o).toFixed(2),"inner"===i.options.zoomType&&(i.zw.width=i.img_small.width,i.zw.height=i.img_small.height);var e=parseFloat(i.img_big.height/i.zw.height).toFixed(2),t=parseFloat(i.img_big.width/i.zw.width).toFixed(2);i.newZoomLevel=Math.min(e,t,i.newZoomLevel),i.newZoomLevel<.1&&(i.newZoomLevel=.1),i.ratio.width=i.img_big.width/i.newZoomLevel/i.img_small.width,i.ratio.height=i.img_big.height/i.newZoomLevel/i.img_small.height,i.zoomLock=0,i.changeBgSize=!0,i.currentZoomLevel=i.newZoomLevel,"window"===i.options.zoomType&&i.zoomLens.css({height:String(i.zw.height/i.ratio.height)+"px",width:String(i.zw.width/i.ratio.width)+"px"}),i.setPosition(i.currentLoc)}};r.fn.image_zoom=function(e){return this.each(function(){function o(){}var i=r.extend(!0,{},r.fn.image_zoom.options,e);o.prototype=t,(new o).init(i,this)})},r.fn.image_zoom.options={zoomEnabled:!0,zoomLevel:1,ratio:!1,onClick:!1,scrollZoom:!1,scrollZoomIncrement:.1,adjustZoomWindowHeight:!1,minZoomLevel:!1,maxZoomLevel:!1,easingAmount:12,lensSize:200,zoomWindowWidth:400,zoomWindowHeight:360,zoomWindowOffsetx:0,zoomWindowOffsety:0,zoomWindowPosition:1,zoomWindowBgColour:"#fff",zoomWindowShadow:4,lensFadeIn:!1,lensFadeOut:!1,lensOverlay:!1,zoomWindowFadeIn:!1,zoomWindowFadeOut:!1,zoomWindowAlwaysShow:!1,zoomTintFadeIn:!1,zoomTintFadeOut:!1,borderSize:4,showLens:!0,borderColour:"#888",borderRadius:0,lensBorderSize:1,lensBorderColour:"#000",lensShape:"square",zoomType:"window",containLensZoom:!1,lensColour:"white",lensOpacity:.4,lenszoom:!1,tint:!1,tintColour:"#333",tintOpacity:.4,cursor:"default",responsive:!1,responsiveThreshold:550,customText:"",customTextSize:12,customTextColor:"#ccc",customTextAlign:"bottom",customTextVAlign:"center",zIndex:999,onMouseMove:!1,lensOverflow:!0,lensTriggerClick:!0,imageTitleBg:"#000",imageTitleColour:"#fff",imageTitleSize:12,lensUnderTouch:!0,imageTitlePosition:!1,onComplete:r.noop}}(jQuery,window,document);window.mobilecheck=function(){var o,e=!1;return o=navigator.userAgent||navigator.vendor||window.opera,(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(o)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(o.substr(0,4)))&&(e=!0),e},jQuery(window).ready(function(n){function i(o,e,t,i){var a;o.attr(t)&&(a=o.attr(t)),e.attr(t)?o.attr(t,e.attr(t)):o.removeAttr(t),i&&(a&&0<a.length?e.attr(t,a):e.removeAttr(t))}function a(o,e,t,i){temp=o.data(t),e.data(t)||e.data(t,""),o.data(t,e.data(t)),temp||(temp=""),i&&e.data(t,temp)}({init:function(){window.mobilecheck()&&"1"!=IZ.enable_mobile||this.is_wysiwyg_editor()||(this.use_zoooom_class(),this.compat_flexslider(),this.compat_woocommerce2(),this.compat_woocommerce3_slider(),this.compat_woocommerce3_no_slider(),this.compat_fancybox(),this.compat_search_filter_pro(),this.compat_huge_it_gallery(),this.compat_flatsome_gallery(),this.compat_jetpack_lightbox(),this.compat_lightbox_photo_gallery(),this.compat_lightbox_avada_portfolio(),this.compat_lightbox_prettyphoto(),this.compat_simplelightbox(),this.compat_magnific_popup(),this.compat_lightbox_media_grid(),this.compat_nextgenpro_lightbox(),this.compat_owl_carousel(),this.compat_flickity_carousel(),this.compat_slick_carousel(),this.compat_lightbox_etoile(),this.compat_featherlight(),this.compat_woo_layout_injector(),void 0!==IZ.shopkeeper&&"1"==IZ.shopkeeper&&this.enable_on_swiper(".woocommerce-product-gallery"),void 0!==IZ.swiper&&0<IZ.swiper.length&&this.enable_on_swiper(IZ.swiper),this.compat_lightbox_elementor(),this.compat_woo_openswatch())},is_wysiwyg_editor:function(){if(0<n("body.elementor-editor-active").length)return!0;if(0<n("body.fl-builder-edit").length)return!0;var o=window.location!=window.parent.location?window.parent.location.href:window.location.href;return 0<o.indexOf("vc_action=vc_inline")||0<o.indexOf("vc_editable=true")||(0<o.indexOf("et_fb=")||0<o.indexOf("et_fb="))},use_zoooom_class:function(){n(".is-style-zoooom").each(function(){n(this).addClass("zoooom")}),n(".zoooom").each(function(){"IMG"!==this.tagName&&(n(this).find("img").addClass("zoooom"),n(this).removeClass("zoooom"))}),n("img[data-lazy-src]").each(function(){if(n(this).attr("data-zoom-image",n(this).data("lazy-src")),n(this).attr("srcset")){var t=0,i="";n(this).attr("srcset").split(", ").forEach(function(o){var e=o.split(" ");parseInt(e[1])>t&&(t=parseInt(e[1]),i=e[0])}),0<i.length&&n(this).attr("data-zoom-image",i)}}),n("img[data-lazy-type]").each(function(){n(this).attr("data-zoom-image",n(this).data("src"))}),n("img[data-src].lazyload").each(function(){n(this).attr("data-zoom-image",n(this).data("src"))}),n("img[data-large_image]").each(function(){n(this).attr("data-zoom-image",n(this).data("large_image"))});var t=void 0===IZ.options.zoomWindowPosition?1:IZ.options.zoomWindowPosition;n(".zoooom-left img, img.zoooom-left").each(function(){var o=new Map([[1,11],[2,10],[3,9]]),e=o.has(t)?o.get(t):11;n(this).attr("data-zoom-attr",'{"zoomWindowPosition": '+e+"}")}),n(".zoooom-right img, img.zoooom-right").each(function(){var o=new Map([[11,1],[10,2],[9,3]]),e=o.has(t)?o.get(t):1;n(this).attr("data-zoom-attr",'{"zoomWindowPosition": '+e+"}")});var e="img.zoooom, .zoooom img, .mp_product_image_single, a.zoomGallery img, .portfolio_images img, .single-fluxus_portfolio .project-image img, .attachment-product_page_image, .product-slider-image, .slider-content-images img";if(n(e).image_zoom(IZ.options),n("img.zoooom, a.zoomGallery").attrchange(r),n("body").observe("added",".zoooom",function(o){IZ.options.onMouseMove=!0,n(".zoooom img, img.zoooom").image_zoom(IZ.options),n("body").observe("removed",".zoooom",function(o){n(".zoomContainer").remove()})}),""!=IZ.custom_class&&n(IZ.custom_class).image_zoom(IZ.options),"function"==typeof n.unveil&&n("img.unveil").unveil(0,function(){n(this).load(function(){n("img.zoooom").image_zoom(IZ.options),n(".zoooom img").image_zoom(IZ.options)})}),n(window).on("resize",function(o){window.resizeEvt,n(window).on("resize",function(){clearTimeout(window.resizeEvt),window.resizeEvt=setTimeout(function(){n(".zoomContainer").remove(),n(e).image_zoom(IZ.options)},500)})}),"1"==IZ.woo_categories){var o=".tax-product_cat .products img, .post-type-archive-product .products img";n(o).image_zoom(IZ.options),n(document).on("yith-wcan-ajax-filtered",function(){n(".zoomContainer").remove(),n(o).image_zoom(IZ.options)})}"1"==IZ.force_attachments&&n(".type-attachment img").image_zoom(IZ.options)},compat_flexslider:function(){if(0!==IZ.flexslider.length){var o=".slides",e=".flex-active-slide";if(0<n(IZ.flexslider+" .lvca-slide").length&&(o=".lvca-slide",e=".lvca-flex-active-slide"),0<n(IZ.flexslider+" .woocommerce-product-gallery__image").length&&(o=".woocommerce-product-gallery__image"),0<n(IZ.flexslider+" "+o).length){setTimeout(function(){n(IZ.flexslider+" img").first().image_zoom(IZ.options)},500);var t="";n(IZ.flexslider+" "+o).attrchange({trackValues:!0,callback:function(o){o.newValue!=t&&(n(".zoomContainer").remove(),setTimeout(function(){n(IZ.flexslider+" "+e+" img").image_zoom(IZ.options)},400)),t=o.newValue}}),n(IZ.flexslider+" .slides li").attrchange({trackValues:!0,callback:function(o){"class"===o.attributeName&&(n(".zoomContainer").remove(),setTimeout(function(){n(IZ.flexslider+" "+e+" img").image_zoom(IZ.options)},400))}})}}},compat_woocommerce2:function(){"1"==IZ.with_woocommerce&&(0===IZ.flexslider.length&&(0<n(".woocommerce-product-gallery .attachment-shop_single").length&&n(".woocommerce-product-gallery .attachment-shop_single").image_zoom(IZ.options),n(".woocommerce-product-gallery .attachment-shop_single").attrchange(r)),"0"==IZ.remove_lightbox_thumbnails&&"0"==IZ.remove_lightbox||n("a[data-rel^='zoomImage']").each(function(o){n(this).on("click",function(o){if(1<(i=n(".attachment-shop_single")).length)var i=n(this).closest(".images").find(n(".attachment-shop_single"));var a=n(this).find("img");if(o.preventDefault(),!1===a.hasClass("attachment-shop_single")){i.removeAttr("srcset").removeAttr("sizes"),a.removeAttr("srcset").removeAttr("sizes");var e,t=a.attr("src");n.each(["alt","title"],function(o,e){var t;i.attr(e)&&(t=i.attr(e)),a.attr(e)?i.attr(e,a.attr(e)):i.removeAttr(e),"1"==IZ.exchange_thumbnails&&(t&&0<t.length?a.attr(e,t):a.removeAttr(e))}),e=a.parent().attr("href"),"1"==IZ.exchange_thumbnails&&a.parent().attr("href",i.parent().attr("href")),i.parent().attr("href",e),i.attr("src",e),i.data("thumbnail-src")&&"1"==IZ.exchange_thumbnails&&a.attr("src",i.attr("data-thumbnail-src")),i.attr("data-thumbnail-src",t),e=i.data("zoom-image"),a.data("zoom-image")||a.data("zoom-image",""),i.data("zoom-image",a.data("zoom-image")),e||(e=""),a.data("zoom-image",e),n(".zoomContainer").remove(),n(".attachment-shop_single").image_zoom(IZ.options)}})}),"1"==IZ.remove_lightbox_thumbnails&&"0"==IZ.remove_lightbox&&"function"==typeof n({}).prettyPhoto&&(n(".thumbnails a").on("click",function(o){o.preventDefault(),n(this).off("click.prettyphoto")}),n("a[data-rel^='zoomImage']").prettyPhoto({hook:"data-rel",social_tools:!1,theme:"pp_woocommerce",horizontal_padding:20,opacity:.8,deeplinking:!0,overlay_gallery:!0})))},compat_woocommerce3_slider:function(){if("1"!=IZ.with_woocommerce||"1"!=IZ.woo_slider&&0===n(".woo_product_slider_enabled").length)return!1;if(0===n(".woocommerce-product-gallery img").length)return!1;IZ.options.onMouseMove=!0;var t=".woocommerce-product-gallery__wrapper img";"1"==IZ.remove_lightbox&&(IZ.options.lensTriggerClick=!1),setTimeout(function(){0<n(".woocommerce-product-gallery .flex-viewport").length&&(t=".woocommerce-product-gallery__wrapper .flex-active-slide img"),n(t).first().image_zoom(IZ.options)},500);var e="";function i(){n(t).first().image_zoom(IZ.options);var e="";n(".woocommerce-product-gallery__wrapper").attrchange({trackValues:!0,callback:function(o){o.newValue!=e&&(n(".zoomContainer").remove(),setTimeout(function(){n(".woocommerce-product-gallery__wrapper .flex-active-slide img").image_zoom(IZ.options)},550)),e=o.newValue}})}n(".woocommerce-product-gallery__wrapper").attrchange({trackValues:!0,callback:function(o){o.newValue!=e&&(n(".zoomContainer").remove(),setTimeout(function(){n(t).first().image_zoom(IZ.options)},550)),e=o.newValue}}),n(".pswp").attrchange({trackValues:!0,callback:function(o){o.newValue!=e&&n(".zoomContainer").remove(),e=o.newValue}}),n(window).on("resize",function(o){window.resizeEvt,n(window).resize(function(){clearTimeout(window.resizeEvt),window.resizeEvt=setTimeout(function(){n(".zoomContainer").remove(),n(t).first().image_zoom(IZ.options)},300)})}),"1"==IZ.remove_lightbox&&n(".woocommerce-product-gallery img").on("click",function(o){o.preventDefault()}),n(".attachment-shop_thumbnail").attrchange({trackValue:!0,callback:function(o){"data-large_image"==o.attributeName&&(n(this).data("zoom-image",n(this).attr("data-large_image")),n(".zoomContainer").remove(),n(t).first().image_zoom(IZ.options))}}),n("body").on("wc_additional_variation_images_frontend_image_swap_done_callback",function(){i()}),n("body").on("woocommerce_gallery_init_zoom",function(){n("body").observe("added",".woocommerce-product-gallery__image",function(o){setTimeout(function(){i()},500)})}),n("body").on("uni_cpo_options_product_image_replaced_event",function(){n(".zoomContainer").remove(),setTimeout(function(){0<n(".flex-active-slide").length?n(".woocommerce-product-gallery__wrapper .flex-active-slide img").image_zoom(IZ.options):n(".woocommerce-product-gallery__image img.attachment-shop_thumbnail").image_zoom(IZ.options)},200)})},compat_woocommerce3_no_slider:function(){if("1"!=IZ.with_woocommerce||"0"!=IZ.woo_slider&&0==n(".woo_product_slider_disabled").length)return!1;var e=n(".woocommerce-product-gallery__image:first-child img");e.image_zoom(IZ.options),e.attrchange(r),n(".woocommerce-product-gallery__image img").on("click",function(o){o.preventDefault()});var t="1"==IZ.exchange_thumbnails;n(".woocommerce-product-gallery__image:nth-child(n+2) img").each(function(o){n(this).on("click",function(o){i(e,n(this),"src",t),i(e,n(this),"alt",t),i(e,n(this),"title",t),i(e,n(this),"data-src",t),a(e,n(this),"zoom-image",t),a(e,n(this),"thumbnail-image",t),i(e.parent(),n(this).parent(),"href",t),a(e.parent().parent(),n(this).parent().parent(),"thumb",t),n(".zoomContainer").remove(),e.image_zoom(IZ.options)})}),n("body").on("change.wc-variation-form",function(o){n(".zoomContainer").remove(),a(e,n(this),"zoom-image",!0),n(e).first().image_zoom(IZ.options)}),"1"==IZ.remove_lightbox&&n(".woocommerce-product-gallery img").on("click",function(o){o.preventDefault()});n(".pswp").attrchange({trackValues:!0,callback:function(o){""!=o.newValue&&n(".zoomContainer").remove()}})},compat_fancybox:function(){if("1"!=IZ.enable_lightbox_zoom)return!1;setTimeout(function(){0<n("#fancybox-content").length&&n("#fancybox-close").attrchange({trackValues:!0,callback:function(o){if(o.newValue!=o.oldValue)return"display: none;"==o.newValue?(n("#fancybox-content img").remove(),void n(".zoomContainer").remove()):void(0<n("#fancybox-content img").length&&(IZ.options.zIndex=112400,IZ.options.onMouseMove=!0,n("#fancybox-left").remove(),n("#fancybox-right").remove(),n("#fancybox-content img").image_zoom(IZ.options)))}})},500),n("body").observe("added",".fancybox-inner img",function(o){n(".fancybox-inner img").image_zoom(IZ.options),n(".fancybox-overlay").attrchange({trackValues:!0,callback:function(o){o.newValue!=o.oldValue&&(n(".fancybox-inner img").remove(),n(".zoomContainer").remove())}}),n("body").observe("removed",".fancybox-container",function(o){n(".zoomContainer").remove()})})},compat_search_filter_pro:function(){if("1"!=IZ.search_filter_pro)return!1;n(document).on("sf:ajaxfinish",".searchandfilter",function(){n(".zoomContainer").remove(),n(".attachment-shop_single").image_zoom(IZ.options),n(".zoooom").image_zoom(IZ.options)})},compat_huge_it_gallery:function(){if(0===IZ.huge_it_gallery.length)return!1;0<=IZ.huge_it_gallery.indexOf(",")?IZ.huge_it_gallery.split(",").forEach(function(o){n("#huge_it_gallery_container_moving_"+o.trim()+" img").image_zoom(IZ.options)}):n("#huge_it_gallery_container_moving_"+IZ.huge_it_gallery.trim()+" img").image_zoom(IZ.options),n(".gallery-image-overlay").remove(),n("body").observe("added","img.gicboxPhoto",function(o){IZ.options.zIndex=19999,n("img.gicboxPhoto").image_zoom(IZ.options),n("#gicolorbox").attrchange({trackValues:!0,callback:function(o){o.newValue!=o.oldValue&&"style"==o.attributeName&&-1!==o.newValue.indexOf("opacity")&&n(".zoomContainer").remove()}})}),n("body").observe("added",".rwd-container",function(o){IZ.options.zIndex=19999999,IZ.options.onMouseMove=!0,n(".rwd-container .rwd-current img").image_zoom(IZ.options),n(".rwd-container .rwd-item").attrchange({trackValues:!0,callback:function(o){o.newValue!=o.oldValue&&"class"==o.attributeName&&-1!==o.newValue.indexOf("rwd-current")&&(n(".zoomContainer").remove(),n(".rwd-container .rwd-current img").image_zoom(IZ.options))}})})},compat_flatsome_gallery:function(){if(0===n(".slide.easyzoom img").length)return!1;n(".slide.easyzoom img").each(function(o){var e=n(this).parent().attr("href");n(this).attr("data-zoom-image",e)}),n(".slide.easyzoom img").image_zoom(IZ.options)},compat_jetpack_lightbox:function(){if("1"!==IZ.enable_lightbox_zoom)return!1;IZ.options.zIndex=2177483647,n(document.body).on("click.jp-carousel","div.gallery,div.tiled-gallery",function(o){n(".jp-carousel-slide.selected img").image_zoom(IZ.options)}),n(window).on("hashchange.jp-carousel",function(){setTimeout(function(){n(".jp-carousel-slide.selected img").image_zoom(IZ.options),n(".jp-carousel-slide img").attrchange({trackValues:!0,callback:function(o){o.newValue!=o.oldValue&&"src"==o.attributeName&&n(".jp-carousel-slide.selected img").image_zoom(IZ.options)}})},500)})},compat_lightbox_photo_gallery:function(){if("1"!==IZ.enable_lightbox_zoom)return!1;n("body").observe("added","#spider_popup_wrap",function(o){IZ.options.zIndex=3e5,IZ.options.onMouseMove=!0,n("#spider_popup_wrap .bwg_popup_image").image_zoom(IZ.options),n(".bwg_popup_image_spun").observe("attributes",function(o){"image_id"==o.attributeName&&n("#spider_popup_wrap .bwg_popup_image").image_zoom(IZ.options)}),n("body").observe("removed","#spider_popup_wrap",function(o){n(".zoomContainer").remove()})})},compat_lightbox_avada_portfolio:function(){if("1"!==IZ.enable_lightbox_zoom)return!1;n("body").observe("added",".ilightbox-overlay",function(o){setTimeout(function(){IZ.options.zIndex=110003,IZ.options.onMouseMove=!0,n("img.ilightbox-image").image_zoom(IZ.options),n("body").observe("added","img.ilightbox-image",function(o){setTimeout(function(){n("img.ilightbox-image").image_zoom(IZ.options)},500)})},500),n("body").observe("removed",".ilightbox-overlay",function(o){n(".zoomContainer").remove()})})},compat_lightbox_prettyphoto:function(){if("1"!==IZ.enable_lightbox_zoom)return!1;n("body").observe("added","#fullResImage",function(o){setTimeout(function(){n(".pp_hoverContainer").remove(),n(".pp_expand").remove(),IZ.options.zIndex=13e4,IZ.options.onMouseMove=!0,n("#fullResImage").image_zoom(IZ.options)},300),n("body").observe("removed",".pp_pic_holder",function(o){n(".zoomContainer").remove()})})},compat_simplelightbox:function(){if("1"!==IZ.enable_lightbox_zoom)return!1;n("body").observe("added",".sl-image",function(o){setTimeout(function(){IZ.options.zIndex=110003,IZ.options.onMouseMove=!0,n(".sl-image img").image_zoom(IZ.options)},300);var e=0;n(".sl-image img").observe("attributes",function(o){"src"===o.attributeName&&(Date.now()-e<200||(e=Date.now(),n(".zoomContainer").remove(),n(".sl-image img").image_zoom(IZ.options)))}),n("body").observe("removed",".sl-image",function(o){n(".zoomContainer").remove()})})},compat_magnific_popup:function(){if("1"!==IZ.enable_lightbox_zoom)return!1;n("body").observe("added",".mfp-gallery",function(o){setTimeout(function(){IZ.options.onMouseMove=!0,n(".mfp-content img").image_zoom(IZ.options)},300);var e=0;n(".mfp-gallery").observe("attributes",function(o){"class"===o.attributeName&&(Date.now()-e<200||(e=Date.now(),n(".zoomContainer").remove(),n(".mfp-content img").image_zoom(IZ.options)))}),n(".mfp-gallery").observe("removed",".mfp-content",function(o){n(".zoomContainer").remove()}),n(".mfp-gallery").observe("added",".mfp-content",function(o){n(".mfp-content img").image_zoom(IZ.options)}),n("body").observe("removed",".mfp-gallery",function(o){n(".zoomContainer").remove()})}),n("body").observe("added",".mfp-content",function(o){setTimeout(function(){IZ.options.onMouseMove=!0,n(".mfp-content img").image_zoom(IZ.options)},300),n("body").observe("removed",".mfp-wrap",function(o){n(".zoomContainer").remove()})})},compat_lightbox_media_grid:function(){if("1"!==IZ.enable_lightbox_zoom)return!1;n("body").observe("added",".mg_item_featured",function(o){setTimeout(function(){IZ.options.zIndex=1110003,IZ.options.onMouseMove=!0,n(".mg_item_featured img").image_zoom(IZ.options)},300),n("#mg_lb_wrap").observe("attributes",function(o){"style"===o.attributeName&&0<n(o.target).attr("style").search(/none/i)&&n(".zoomContainer").remove()})})},compat_nextgenpro_lightbox:function(){if("1"!==IZ.enable_lightbox_zoom)return!1;n("body").observe("added",".galleria-theme-nextgen_pro_lightbox",function(o){setTimeout(function(){IZ.options.zIndex=10000020,IZ.options.onMouseMove=!0,n(".galleria-theme-nextgen_pro_lightbox .galleria-image img").image_zoom(IZ.options)},300);var e=0;n(".galleria-theme-nextgen_pro_lightbox .galleria-image").observe("attributes",function(o){"style"===o.attributeName&&(Date.now()-e<200||(e=Date.now(),n(".zoomContainer").remove(),n(".galleria-theme-nextgen_pro_lightbox .galleria-image img:visible").image_zoom(IZ.options)))}),n("body").observe("removed",".galleria-theme-nextgen_pro_lightbox",function(o){console.log("remove"),n(".zoomContainer").remove()})})},compat_owl_carousel:function(){if(0===IZ.owl.length)return!1;n(IZ.owl).observe("added",".owl-item",function(o){n(IZ.owl+" .owl-item").on("click",function(o){o.preventDefault()});var i=n(IZ.owl+" .owl-item").width(),a=IZ.owl+" .owl-wrapper";0<n(IZ.owl+" .owl-stage").length&&(a=IZ.owl+" .owl-stage"),n(IZ.owl+" .owl-item:nth-child(1) img").image_zoom(IZ.options),n(a).observe("attributes",function(o){if("style"===o.attributeName){var e=n(a).attr("style").match(/translate3d\(-([0-9]+)px/);null==e&&(e=[0,0]);var t=Math.floor(parseInt(e[1])/i+.1)+1;n(".zoomContainer").remove(),n(IZ.owl+" .owl-item img").off("mousemove mouseenter"),n(IZ.owl+" .owl-item:nth-child("+t+") img").image_zoom(IZ.options)}})})},compat_flickity_carousel:function(){if(0===IZ.flickity.length)return!1;setTimeout(function(){var e=IZ.flickity+" .flickity-slider";n(e+" .is-selected img").image_zoom(IZ.options),IZ.options.onMouseMove=!0;var t=0;n(e).attrchange({trackValues:!0,callback:function(o){Date.now()-t<2e3||(t=Date.now(),n(".zoomContainer").remove(),n(e+" .is-selected img").image_zoom(IZ.options))}}),0<n(IZ.flickity+" .product-gallery-stacked").length&&n(IZ.flickity+" img").image_zoom(IZ.options)},300)},compat_slick_carousel:function(){if(0===IZ.slick.length)return!1;n("body").observe("added",IZ.slick+" .slick-current",function(o){n(IZ.slick+" .slick-arrow").css("display","none");var e=n(IZ.slick+" .slick-current img");IZ.options.onMouseMove=!0,IZ.options.lensTriggerClick=!1,IZ.options.zIndex=99,e.image_zoom(IZ.options),n(IZ.slick+" .slick-track").attrchange({trackValues:!0,callback:function(o){o.newValue!==o.oldValue&&(n(".zoomContainer").remove(),n(IZ.slick+" .slick-current img").image_zoom(IZ.options))}})})},compat_featherlight:function(){if("1"!=IZ.enable_lightbox_zoom)return!1;n("body").observe("added",".featherlight-content",function(o){setTimeout(function(){IZ.options.zIndex=2147487647,IZ.options.onMouseMove=!0,n(".featherlight-content img").image_zoom(IZ.options),n(".featherlight").css("background","rgba(0,0,0,.9)"),n("body").observe("removed",".featherlight-content",function(o){n(".zoomContainer").remove()})},600)})},compat_lightbox_etoile:function(){if("1"!=IZ.enable_lightbox_zoom)return!1;n(".ewd-ulb-slide-img img").image_zoom(IZ.options)},compat_woo_layout_injector:function(){if(0===n(".sb_woo_product_image img").length)return!1;n(".sb_woo_product_image img").image_zoom(IZ.options),n(".sb_woo_product_image img").attrchange({trackValues:!0,callback:function(o){"src"==o.attributeName&&(n(".zoomContainer").remove(),setTimeout(function(){n(".sb_woo_product_image img").image_zoom(IZ.options)},200))}})},enable_on_swiper:function(e){IZ.options.onMouseMove=!0,n(e+" .swiper-slide-active img").length,n(e+" .swiper-slide").children().removeClass("easyzoom").removeClass("el_zoom"),setTimeout(function(){n(e+" .swiper-slide-active img").image_zoom(IZ.options)},300);var t=0;n(e+" .swiper-wrapper").attrchange({trackValues:!0,callback:function(o){Date.now()-t<200||(t=Date.now(),n(".zoomContainer").remove(),setTimeout(function(){n(e+" .swiper-slide-active img").image_zoom(IZ.options)},400))}})},compat_lightbox_elementor:function(){var e=this;if("1"!=IZ.enable_lightbox_zoom)return!1;IZ.options.onMouseMove=!0,n("body").observe("added",".elementor-lightbox .swiper-slide-active .elementor-lightbox-image",function(o){void 0===n(".swiper-slide-active img.elementor-lightbox-image").attr("src")?n(".swiper-slide-active img.elementor-lightbox-image").attrchange({trackValues:!0,callback:function(o){"src"===o.attributeName&&void 0!==n(".zoomContainer")&&(n(".zoomContainer").remove(),e.enable_on_swiper(".elementor-lightbox .swiper-container"))}}):e.enable_on_swiper(".elementor-lightbox .swiper-container"),n(".elementor-lightbox").attrchange({trackValues:!0,callback:function(o){/display: none/.test(o.newValue)&&n(".zoomContainer").remove()}})}),n("body").observe("added","img.elementor-lightbox-image",function(o){setTimeout(function(){n("img.elementor-lightbox-image").image_zoom(IZ.options)},300),n(".elementor-lightbox").attrchange({trackValues:!0,callback:function(o){/display: none/.test(o.newValue)&&n(".zoomContainer").remove()}})})},compat_woo_openswatch:function(){if("1"!=IZ.with_woocommerce)return!1;n(document.body).on("openswatch_update_images",function(o,e){setTimeout(function(){n(".woocommerce-product-gallery__wrapper img").first().image_zoom(IZ.options);var e="";n(".woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image").attrchange({trackValues:!0,callback:function(o){o.newValue!=e&&(n(".zoomContainer").remove(),setTimeout(function(){n(".woocommerce-product-gallery__wrapper .flex-active-slide img").image_zoom(IZ.options)},400)),e=o.newValue}})},500)})}}).init();var r={trackValues:!0,callback:function(o){o.newValue!=o.oldValue&&("href"==o.attributeName&&n(this).attr("src",o.newValue),"src"==o.attributeName&&(n(".zoomContainer").remove(),n(this).image_zoom(IZ.options)))}}});