!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=523)}({523:function(e,r,t){e.exports=t(524)},524:function(e,r){jQuery(document).ready((function(e){"use strict";[{name:"instagram",selector:".wpsr-ig-feed-wrapper"},{name:"facebook_feed",selector:".wpsr-fb-feed-wrapper"},{name:"tiktok",selector:".wpsr-tiktok-feed-wrapper"},{name:"youtube",selector:".wpsr-yt-feed-wrapper"}].forEach((function(r){var t=e(r.selector);if(0!==t.length){var a=r.name;t.each((function(){var r="#"+e(this).attr("id"),t=r.replace(/#wpsr-(fb-feed|tiktok-feed|yt-feed|ig-feed)-/,""),n=window.wpsr_ajax_params.upload_url,i={action:"wpsr_resize_images",id:t,platform:a},o={instagram:"ig",facebook_feed:"fb",tiktok:"tt",youtube:"yt"}[a]||"";e.ajax({url:window.wpsr_ajax_params.ajax_url,type:"post",data:i}).then((function(i){if(i){if(window.wpsr_optimized_feed_ids)window.wpsr_optimized_feed_ids[t]=i;else{var s=(u=i,(p=t)in(f={})?Object.defineProperty(f,p,{value:u,enumerable:!0,configurable:!0,writable:!0}):f[p]=u,f);window.wpsr_optimized_feed_ids=s}var d=i.match(/({[^{}]+})/g),c=JSON.parse(d);c.account_id&&e(r).find(".wpsr-ig-header-logo").each((function(r){var t=e(this).data("account_id");if(t&&(t=t.toString())===c.account_id){var a=n+"/instagram/"+t+".jpg";e(this).find("img").attr("src",a)}})),c.images_data&&e(r).find(".wpsr-".concat(o,"-post")).each((function(r){var t=e(this),i=t.attr("data-post_id"),s=t.data("image_size");if(i){i=i.toString();var d=t.attr("data-user_name");if(d&&c.images_data.includes(i)){var f=n+"/"+a+"/"+d+"/"+i+"_"+s+".jpg";t.find(".wpsr-".concat(o,"-feed-image")).removeClass("wpsr-animated-background"),t.find(".wpsr-".concat(o,"-feed-video-preview")).removeClass("wpsr-animated-background"),t.find(".wpsr-".concat(o,"-feed-image")).css("height","auto"),t.find(".wpsr-".concat(o,"-feed-image")).removeClass("wpsr-hide"),t.find(".wpsr-".concat(o,"-post-img")).attr("src",f),t.find(".wpsr-".concat(o,"-post-img")).addClass("wpsr-show"),t.find(".wpsr-".concat(o,"-post-img")).removeClass("wpsr-hide"),t.find(".wpsr-".concat(o,"-post-img")).removeClass("wpsr-animated-background"),t.find(".wpsr-".concat(o,"-post-media")).removeClass("wpsr-animated-background"),t.find(".wpsr-".concat(o,"-feed-video-preview")).removeClass("wpsr-animated-background")}}}))}var f,p,u})).catch((function(e){console.error(e)}))}))}}))}))}});