(()=>{"use strict";class n{constructor(){this.runned=!1}runOnReady(){d.runOnReady(this)}}class e extends n{constructor(){super(...arguments),this.runnedAdmin=!1}}class d{constructor(){this.isReady=!1}static addModule(n){window.inobyModules||(window.inobyModules=[]),window.inobyModules.push(n)}static getInstance(){return d.instance||(d.instance=new d),d.instance}static runOnReady(n){d.addModule(n),window.wasReady&&d.runModule(n)}static onReady(){var n;window.wasReady=!0,null===(n=window.inobyModules)||void 0===n||n.forEach((n=>{d.runModule(n)}))}static runModule(n){n instanceof e&&(null===window||void 0===window?void 0:window.adminpage)&&!n.runnedAdmin?document.addEventListener("mb_blocks_preview/"+n.metaboxId,(()=>{n.runnedAdmin=!0,n.runAdmin()})):n.runned||(n.runned=!0,n.run(),"function"==typeof n.runAsync&&setTimeout((()=>{n.runAsync()}),200))}}"loading"!==document.readyState?d.onReady():document.addEventListener("DOMContentLoaded",(()=>d.onReady())),(new class extends n{run(){!function(n={}){GLightbox(n)}({selector:".gallery-img"})}}).runOnReady()})();