Ubuntu

­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­ jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/premium-twitter-feed.default",function(e,a){var t=e.find(".premium-twitter-feed-wrapper"),o=t.find(".premium-loading-feed"),r=t.data("settings"),i="yes"===t.data("carousel");r&&a.ajax({url:void t.find(".premium-social-feed-container").socialfeed({twitter:{accounts:r.accounts,limit:r.limit||2,header:r.header,tweets:r.data.tweets.slice(0,r.limit),user:r.data.user},length:r.length||130,show_media:"yes"===r.showMedia,readMore:r.readMore,template:r.template,callback:function(){o.removeClass("premium-show-loading"),t.imagesLoaded(function(){!function(){var e=t.find(".premium-twitter-user-cover");if(i){var o="yes"===t.data("play"),n=t.data("speed")||5e3,l=t.data("rtl"),s=t.data("col");e.prependTo(t),a(e).not(":first").remove(),t.find(".premium-social-feed-container").slick({infinite:!0,slidesToShow:s,slidesToScroll:s,responsive:[{breakpoint:1025,settings:{slidesToShow:1,slidesToScroll:1}},{breakpoint:768,settings:{slidesToShow:1,slidesToScroll:1}}],autoplay:o,autoplaySpeed:n,rows:0,rtl:!!l,nextArrow:'',prevArrow:'',draggable:!0,pauseOnHover:!0})}if(!i&&"grid-layout"===r.layout&&!r.even){var d=t.find(".premium-social-feed-container");d.isotope({itemSelector:".premium-social-feed-element-wrap",percentPosition:!0,layoutMode:"masonry",animationOptions:{duration:750,easing:"linear",queue:!1}}),e.prependTo(t),a(e).not(":first").remove()}}()})}}),beforeSend:function(){o.addClass("premium-show-loading")},error:function(){console.log("error getting data from Twitter")}})})});