(()=>{"use strict";document.addEventListener("DOMContentLoaded",function(){e.init()});let e={init:function(){this.holder=document.querySelectorAll(".qi-block-process"),this.holder.length&&[...this.holder].map(t=>{e.initItem(t)})},getRealCurrentItem:function(e){return"string"==typeof e&&""!==e&&(e=qiBlocksEditor.qodefGetCurrentBlockElement.get(e)),e},initItem:function(t,i){if(!(t=e.getRealCurrentItem(t)))return;const o="object"!=typeof qiBlocksEditor?qiBlocks:qiBlocksEditor;"reinit"===i&&t.classList.remove("qodef--appeared"),o.qodefIsInViewport.check(t,function(){t.classList.add("qodef--appeared")})}}})();