You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

2 lines
687 B

  1. import{$ as s}from"./iframe-D9cMMDcW.js";class d{constructor(l){this.section=l.addClass("initiated"),this.cols=l.find(".col");const e=Math.ceil(this.cols.length/6)*3-this.cols.last().index()-1,n=Math.ceil(this.cols.length/3)*3-this.cols.last().index()-1;if(e===0||n===0)return;let t=this.cols.length-e*2,i=this.cols.length-n*2;t<0&&(t=0),i<0&&(i=0),this.cols.eq(t).addClass("width-half").nextAll().addClass("width-half"),this.cols.eq(i).addClass("width-third").nextAll().addClass("width-third")}}s("body").on("ihk-init dynamic-component-loaded gfi-dynamic-init",function(){s(".topics:not(.initiated), .eventoverview-section:not(.initiated)").each(()=>{new d(s(this))})});export{d as I};