!function(e){var r={};function t(a){if(r[a])return r[a].exports;var n=r[a]={i:a,l:!1,exports:{}};return e[a].call(n.exports,n,n.exports,t),n.l=!0,n.exports}t.m=e,t.c=r,t.d=function(e,r,a){t.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:a})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,r){if(1&r&&(e=t(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(t.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)t.d(a,n,function(r){return e[r]}.bind(null,n));return a},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},t.p="/",t(t.s=542)}({542:function(e,r,t){e.exports=t(543)},543:function(e,r){jQuery(document).ready((function(e){var r=e(".wpsr-album-cover-photo-wrapper-inner"),t=[];r.each((function(r,a){a.addEventListener("click",(function(r){r.preventDefault();var a=e(r.target).closest(".wpsr-album-cover-photo-wrapper-inner");a.hasClass("active")||a.addClass("active");var n=e(a).attr("id"),o=e(a).attr("data-template-id");e(".wpsr-album-cover-photo , .wpsr-fb-albums-feed-info").hide(),e(".wpsr-album-cover-photo-wrapper").each((function(r,t){0===e(t).find("div.wpsr-album-cover-photo-wrapper-inner.active").length&&e(t).parent().hide()})),e("#wpsr-album-".concat(n)).css("display","block");var p=e(r.target).closest(".wpsr-album-cover-photo-wrapper");p.length>0&&(t=p.parent().attr("class").split(" "),p.parent().removeClass(),p.parent().removeAttr("class"),p.parent().css("width","100%")),document.getElementById("wpsr-album-feed-".concat(n)).childElementCount<1&&jQuery.get(wpsr_ajax_params.ajax_url,{action:"wpsr_facebook_album_photo",template_id:o,feed_id:n}).then(r=>{r&&(e("#wpsr-album-feed-".concat(n))[0].innerHTML=r)}).catch(e=>{console.error(e)}).always(()=>{})}))})),e(".wpsr-album-cover-photo-wrapper").each((function(r,t){e(t).on("click",".wpsr-fb-feed-bread-crumbs-album",(function(e){a(e)}))}));var a=r=>{r.preventDefault(),e(".wpsr-fb-feed-image , .wpsr-fb-albums-feed-info").show(),e(".wpsr-fb-feed-album-wrapper").css("display","none"),e(".wpsr-album-cover-photo-wrapper-inner.active").each((function(r,t){e(t).removeClass("active")})),e(".wpsr-album-cover-photo-wrapper").each((function(r,t){e(t).parent().show()}));var a=e(r.target).closest(".wpsr-album-cover-photo-wrapper");a.length>0&&(a.parent().removeClass(),a.parent().addClass(t.join(" ")))}}))}});