!function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=12)}({12:function(e,t){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var r;r=jQuery,window.wpzInstaFrontendInit=function(){r('.zoom-instagram-widget__items[data-lightbox="1"]').each((function(){var e=r(this).parent().parent().find(".wpz-insta-lightbox-wrapper > .swiper");if(e.length>0){var t,o=e.find(".image-wrapper > .swiper");new Swiper(e.get(0),(i(t={lazy:{threshold:50},watchSlidesVisibility:!0,preloadImages:!1},"lazy",!0),i(t,"direction","horizontal"),i(t,"loop",!1),i(t,"spaceBetween",20),i(t,"autoHeight",!1),i(t,"watchOverflow",!0),i(t,"navigation",{nextEl:e.find("> .swiper-button-next").get(0),prevEl:e.find("> .swiper-button-prev").get(0)}),i(t,"keyboard",{enabled:!0,onlyInViewport:!0}),i(t,"on",{activeIndexChange:function(){var e=this.slides[this.activeIndex],t=r(e).find("video").get(0);t&&t.play()}}),t)),o.each((function(){var e;new Swiper(r(this).get(0),(i(e={lazy:{threshold:50},watchSlidesVisibility:!0,preloadImages:!1},"lazy",!0),i(e,"direction","horizontal"),i(e,"loop",!1),i(e,"spaceBetween",20),i(e,"nested",!0),i(e,"watchOverflow",!0),i(e,"pagination",{el:r(this).find("> .swiper-pagination").get(0),type:"bullets",clickable:!0,hideOnClick:!1}),i(e,"navigation",{nextEl:r(this).find("> .swiper-button-next").get(0),prevEl:r(this).find("> .swiper-button-prev").get(0)}),i(e,"keyboard",{enabled:!0,onlyInViewport:!0}),i(e,"on",{activeIndexChange:function(){var e=this.slides[this.activeIndex],t=r(e).find("video").get(0);t&&t.play()}}),e))})),r(this).find(".zoom-instagram-link").magnificPopup({items:{type:"inline",src:r(this).parent().parent().find(".wpz-insta-lightbox-wrapper")},closeBtnInside:!1,mainClass:"wpzoom-lightbox",midClick:!0,callbacks:{open:function(){var e=r.magnificPopup.instance.st.el,t=this.content.find("> .swiper").get(0).swiper;this.content.find('> .swiper > .swiper-wrapper > .swiper-slide[data-uid="'+e.data("mfp-src")+'"] video')&&this.content.find('> .swiper > .swiper-wrapper > .swiper-slide[data-uid="'+e.data("mfp-src")+'"] video').trigger("play"),"object"===n(t)&&t.slideTo(this.content.find('> .swiper > .swiper-wrapper > .swiper-slide[data-uid="'+e.data("mfp-src")+'"]').index())}}}),r(this).find(".zoom-instagram-link").addClass("magnific-active")}}))},r(window).on("load",window.wpzInstaFrontendInit)}});