/*! For license information please see zoom.bundle.js.LICENSE */
!function(o){var t={};function e(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return o[n].call(i.exports,i,i.exports,e),i.l=!0,i.exports}e.m=o,e.c=t,e.d=function(o,t,n){e.o(o,t)||Object.defineProperty(o,t,{enumerable:!0,get:n})},e.r=function(o){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"__esModule",{value:!0})},e.t=function(o,t){if(1&t&&(o=e(o)),8&t)return o;if(4&t&&"object"==typeof o&&o&&o.__esModule)return o;var n=Object.create(null);if(e.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:o}),2&t&&"string"!=typeof o)for(var i in o)e.d(n,i,function(t){return o[t]}.bind(null,i));return n},e.n=function(o){var t=o&&o.__esModule?function(){return o.default}:function(){return o};return e.d(t,"a",t),t},e.o=function(o,t){return Object.prototype.hasOwnProperty.call(o,t)},e.p=".",e(e.s=0)}({"./src/jquery.zoom.js":function(o,t){var e,n;e=window.jQuery,n={url:!1,callback:!1,target:!1,duration:120,on:"mouseover",touch:!0,onZoomIn:!1,onZoomOut:!1,magnify:1},e.zoom=function(o,t,n,i){var r,u,c,a,l,f,m,s=e(o),d=s.css("position"),h=e(t);return o.style.position=/(absolute|fixed)/.test(d)?d:"relative",o.style.overflow="hidden",n.style.width=n.style.height="",e(n).addClass("zoomImg").css({position:"absolute",top:0,left:0,opacity:0,width:n.width*i,height:n.height*i,border:"none",maxWidth:"none",maxHeight:"none"}).appendTo(o),{init:function(){u=s.outerWidth(),r=s.outerHeight(),t===o?(a=u,c=r):(a=h.outerWidth(),c=h.outerHeight()),l=(n.width-u)/a,f=(n.height-r)/c,m=h.offset()},move:function(o){var t=o.pageX-m.left,e=o.pageY-m.top;e=Math.max(Math.min(e,c),0),t=Math.max(Math.min(t,a),0),n.style.left=t*-l+"px",n.style.top=e*-f+"px"}}},e.fn.zoom=function(o){return this.each((function(){var t=e.extend({},n,o||{}),i=t.target&&e(t.target)[0]||this,r=this,u=e(r),c=document.createElement("img"),a=e(c),l="mousemove.zoom",f=!1,m=!1;if(!t.url){var s=r.querySelector("img");if(s&&(t.url=s.getAttribute("data-src")||s.currentSrc||s.src),!t.url)return}u.one("zoom.destroy",function(o,t){u.off(".zoom"),i.style.position=o,i.style.overflow=t,c.onload=null,a.remove()}.bind(this,i.style.position,i.style.overflow)),c.onload=function(){var o=e.zoom(i,r,c,t.magnify);function n(n){o.init(),o.move(n),a.stop().fadeTo(e.support.opacity?t.duration:0,1,!!e.isFunction(t.onZoomIn)&&t.onZoomIn.call(c))}function s(){a.stop().fadeTo(t.duration,0,!!e.isFunction(t.onZoomOut)&&t.onZoomOut.call(c))}"grab"===t.on?u.on("mousedown.zoom",(function(t){1===t.which&&(e(document).one("mouseup.zoom",(function(){s(),e(document).off(l,o.move)})),n(t),e(document).on(l,o.move),t.preventDefault())})):"click"===t.on?u.on("click.zoom",(function(t){return f?void 0:(f=!0,n(t),e(document).on(l,o.move),e(document).one("click.zoom",(function(){s(),f=!1,e(document).off(l,o.move)})),!1)})):"toggle"===t.on?u.on("click.zoom",(function(o){f?s():n(o),f=!f})):"mouseover"===t.on&&(o.init(),u.on("mouseenter.zoom",n).on("mouseleave.zoom",s).on(l,o.move)),t.touch&&u.on("touchstart.zoom",(function(o){o.preventDefault(),m?(m=!1,s()):(m=!0,n(o.originalEvent.touches[0]||o.originalEvent.changedTouches[0]))})).on("touchmove.zoom",(function(t){t.preventDefault(),o.move(t.originalEvent.touches[0]||t.originalEvent.changedTouches[0])})).on("touchend.zoom",(function(o){o.preventDefault(),m&&(m=!1,s())})),e.isFunction(t.callback)&&t.callback.call(c)},c.src=t.url}))},e.fn.zoom.defaults=n},0:function(o,t,e){o.exports=e("./src/jquery.zoom.js")}});