text: /*! elementor-pro - v3.2.1 - 21-03-2021 */
  (self.webpackChunkelementor_pro=self.webpackChunkelementor_pro||[]).push([[287],{8014:(e,t,n)=>{"use strict";var s=n(7971);n(7394)(t,"__esModule",{value:!0}),t.default=void 0;var i=s(n(2926)).default.extend({getSkinPrefix:function getSkinPrefix(){return"cards_"}});t.default=i},2926:(e,t,n)=>{"use strict";n(7394)(t,"__esModule",{value:!0}),t.default=void 0,n(4828),n(1954);var s=elementorModules.frontend.handlers.Base.extend({getSkinPrefix:function getSkinPrefix(){return"classic_"},bindEvents:function bindEvents(){var e=this.getModelCID();elementorFrontend.addListenerOnce(e,"resize",this.onWindowResize)},getClosureMethodsNames:function getClosureMethodsNames(){return elementorModules.frontend.handlers.Base.prototype.getClosureMethodsNames.apply(this,arguments).concat(["fitImages","onWindowResize","runMasonry"])},getDefaultSettings:function getDefaultSettings(){return{classes:{fitHeight:"elementor-fit-height",hasItemRatio:"elementor-has-item-ratio"},selectors:{postsContainer:".elementor-posts-container",post:".elementor-post",postThumbnail:".elementor-post__thumbnail",postThumbnailImage:".elementor-post__thumbnail img"}}},getDefaultElements:function getDefaultElements(){var e=this.getSettings("selectors");return{$postsContainer:this.$element.find(e.postsContainer),$posts:this.$element.find(e.post)}},fitImage:function fitImage(e){var t=this.getSettings(),n=e.find(t.selectors.postThumbnail),s=n.find("img")[0];if(s){var i=n.outerHeight()/n.outerWidth(),o=s.naturalHeight/s.naturalWidth;n.toggleClass(t.classes.fitHeight,o<i)}},fitImages:function fitImages(){var e=jQuery,t=this,n=getComputedStyle(this.$element[0],":after").content,s=this.getSettings();this.elements.$postsContainer.toggleClass(s.classes.hasItemRatio,!!n.match(/\d/)),t.isMasonryEnabled()||this.elements.$posts.each((function(){var n=e(this),i=n.find(s.selectors.postThumbnailImage);t.fitImage(n),i.on("load",(function(){t.fitImage(n)}))}))},setColsCountSettings:function setColsCountSettings(){var e,t=elementorFrontend.getCurrentDeviceMode(),n=this.getElementSettings(),s=this.getSkinPrefix();switch(t){case"mobile":e=n[s+"columns_mobile"];break;case"tablet":e=n[s+"columns_tablet"];break;default:e=n[s+"columns"]}this.setSettings("colsCount",e)},isMasonryEnabled:function isMasonryEnabled(){return!!this.getElementSettings(this.getSkinPrefix()+"masonry")},initMasonry:function initMasonry(){imagesLoaded(this.elements.$posts,this.runMasonry)},runMasonry:function runMasonry(){var e=this.elements;e.$posts.css({marginTop:"",transitionDuration:""}),this.setColsCountSettings();var t=this.getSettings("colsCount"),n=this.isMasonryEnabled()&&t>=2;if(e.$postsContainer.toggleClass("elementor-posts-masonry",n),n){var s=this.getElementSettings(this.getSkinPrefix()+"row_gap.size");""===this.getSkinPrefix()&&""===s&&(s=this.getElementSettings(this.getSkinPrefix()+"item_gap.size")),new elementorModules.utils.Masonry({container:e.$postsContainer,items:e.$posts.filter(":visible"),columnsCount:this.getSettings("colsCount"),verticalSpaceBetween:s}).run()}else e.$postsContainer.height("")},run:function run(){setTimeout(this.fitImages,0),this.initMasonry()},onInit:function onInit(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),this.bindEvents(),this.run()},onWindowResize:function onWindowResize(){this.fitImages(),this.runMasonry()},onElementChange:function onElementChange(){this.fitImages(),setTimeout(this.runMasonry)}});t.default=s}}]);