File: /home/zwafgyp/lacalita/wp-content/plugins/rey-core/inc/elementor/widgets/grid/assets/script.js
!function(){class i{constructor(i){this.scope=i[0],this.init()}init(){"undefined"!=typeof Masonry&&(this.gridWrapper=this.scope.querySelector(".rey-gridEl"),this.gridWrapper&&this.gridWrapper.classList.contains("--msnry-js")&&(this.grid=this.scope.querySelector(".__items"),rey.util.imagesLoaded(this.scope,(()=>{this.runMasonry()}))))}runMasonry(){this.msnry=new Masonry(this.grid,{itemSelector:".__item",percentPosition:!0,transitionDuration:0,isInitLayout:!1}),this.msnry.layout()}}rey.hooks.addAction("elementor/init",(function(t){t.registerElement({name:"reycore-grid.default",cb:function(){new i(...arguments)}})}))}();