!function(){const t=window.jQuery,{screenSizes:o}=window.VPData;if(void 0!==window.Isotope&&void 0!==window.Isotope.LayoutMode){const e=window.Isotope.LayoutMode.modes.masonry;if(e){const n=e.prototype.measureColumns;e.prototype.measureColumns=function(){let e=!0;if(!this.columnWidth){const n=t(this.element).closest('.vp-portfolio[data-vp-layout="tiles"]');if(n.length&&n[0].vpf){this.getContainerWidth();const{vpf:t}=n[0],i=t.getTilesSettings();let s=parseInt(i[0],10)||1,p=s-1,a=Math.min(o.length-1,p);for(;0<=a;a-=1)0{"vpf"===t.namespace&&(o.prototype.getTilesSettings=function(){const t=this.options.tilesType.split(/[:|]/);return void 0===t[t.length-1]||t[t.length-1]||t.pop(),t})})),t(document).on("initOptions.vpf",((t,o)=>{"vpf"===t.namespace&&(o.defaults.tilesType="3|1,1|",o.options.tilesType||(o.options.tilesType=o.defaults.tilesType))})),t(document).on("initLayout.vpf",((t,e)=>{if("vpf"!==t.namespace)return;if("tiles"!==e.options.layout)return;const n=e.getTilesSettings(),i=parseInt(n[0],10)||1;if(n.shift(),e.addStyle(".vp-portfolio__item-wrap",{width:"".concat(100/i,"%")}),n&&n.length)for(let t=0;t