import{a as e,i as t}from"./6046a29b.js";import"useblocks/runtime/react";function n(t,n){if(t!==void 0)if(typeof t==`string`){if(t=document.querySelector(t),t)return t;let r=n.addDisposable(new e);return new Promise((e,n)=>{let i=new MutationObserver(()=>{t=document.querySelector(t),t&&(r.dispose(),e(t))});i.observe(document.body,{attributes:!0,childList:!0,subtree:!0}),r.addDisposable({dispose:()=>i.disconnect()})})}else return t;else return t}var r=new Map;t(`ELEMENT_INSERT_HTML_PIPELINE`),t(`BLOCK_INSERT_HTML_PIPELINE`),t(`DomComponentRegistry`),t(`ComponentRegistry`);function i(e){return t(e)}var a;(function(e){e.BEFORE_SAVE_EMAIL=i(),e.ON_SAVEBUTTON_CLICK_ID=i(),e.ON_NEXTBUTTON_CLICK_ID=i(),e.ON_PREVIOUSBUTTON_CLICK_ID=i(),e.ON_MODEL_CHANGE=i(),e.WILL_EMAIL_INIT_ID=i(),e.ON_EMAIL_INIT_ID=i(),e.ON_BLOCK_INIT_ID=i(),e.ON_CONTENT_CHANGED_ID=i(),e.ON_PREHEADER_CHANGED_ID=i(),e.ON_SUBJECT_CHANGED_ID=i(),e.ON_EMAIL_CHANGED_ID=i(),e.ON_BLOCK_CHANGED_ID=i(),e.ON_CHUNKS_LOADED=i(),e.ON_SEND_TESTEMAIL_ID=i(),e.ON_SEND_LIVEPREVIEW_ID=i(),e.ON_SHARE_ID=i(),e.ON_SHOW_PREVIEW_ID=i(),e.ON_EMAIL_CLONE_ID=i(),e.ON_SEND_EMAIL_MODAL_ID=i(),e.ON_NOTIFICATION=i(),e.READ_LOCALE=i(),e.ON_TRANSLATE_ID=i(),e.ON_CODE_VALIDATE_ID=i(),e.UPLOAD_EVENT_ID=i(),e.PROXY_URL_EVENT_ID=i(),e.FILE_PROXY_EVENT_ID=i(),e.ON_LIMIT_ID=i(),e.ON_GLOBAL_BLOCK_PROPAGATE_UPDATE_ID=i(),e.ON_BROWSER_EXTENSION_DETECTED_ID=i()})(a||={}),t(),t(),t(),t(),t(),t(),t(),t(),t(`PluginCollection`),i(`APP_LOAD_EVENT`),i(`CONFIG_CHANGED_EVENT`);export{n,r as t};