/*! For license information please see editor.js.LICENSE.txt */
!function(){"use strict";var e={"./node_modules/react-dom/client.js":function(e,t,r){var n=r("react-dom"),o=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t.createRoot=function(e,t){o.usingClientEntryPoint=!0;try{return n.createRoot(e,t)}finally{o.usingClientEntryPoint=!1}},t.hydrateRoot=function(e,t,r){o.usingClientEntryPoint=!0;try{return n.hydrateRoot(e,t,r)}finally{o.usingClientEntryPoint=!1}}},"./packages/packages/core/editor/src/components/shell.tsx":function(e,t,r){r.r(t),r.d(t,{default:function(){return Shell}});var n=r("react"),o=r("./packages/packages/core/editor/src/locations.ts");function Shell(){return n.createElement(n.Fragment,null,n.createElement(o.TopSlot,null),n.createElement("div",{style:{display:"none"}},n.createElement(o.LogicSlot,null)))}},"./packages/packages/core/editor/src/ensure-current-user.ts":function(e,t,r){r.r(t),r.d(t,{ensureCurrentUser:function(){return ensureCurrentUser}});var n=r("@elementor/editor-current-user"),o=r("@elementor/editor-v1-adapters");async function ensureCurrentUser(){return(0,o.registerDataHook)("after","editor/documents/attach-preview",async()=>{try{await(0,n.ensureUser)()}catch{}})}},"./packages/packages/core/editor/src/locations.ts":function(e,t,r){r.r(t),r.d(t,{LogicSlot:function(){return i},TopSlot:function(){return o},injectIntoLogic:function(){return a},injectIntoTop:function(){return c}});var n=r("@elementor/locations");const{Slot:o,inject:c}=(0,n.createLocation)(),{Slot:i,inject:a}=(0,n.createLocation)()},"./packages/packages/core/editor/src/start.tsx":function(e,t,r){r.r(t),r.d(t,{start:function(){return start}});var n=r("react"),o=r("react-dom"),c=r("./node_modules/react-dom/client.js"),i=r("@elementor/editor-ui"),a=r("@elementor/editor-v1-adapters"),u=r("@elementor/query"),s=r("@elementor/store"),l=r("@elementor/ui"),_=r("./packages/packages/core/editor/src/components/shell.tsx"),d=r("./packages/packages/core/editor/src/ensure-current-user.ts");function start(e){const t=(0,s.__createStore)(),r=(0,u.createQueryClient)();(0,d.ensureCurrentUser)(),(0,a.__privateDispatchReadyEvent)(),function render(e,t){let r;try{const n=(0,c.createRoot)(t);r=()=>{n.render(e)}}catch{r=()=>{o.render(e,t)}}r()}(n.createElement(s.__StoreProvider,{store:t},n.createElement(u.QueryClientProvider,{client:r},n.createElement(l.DirectionProvider,{rtl:"rtl"===window.document.dir},n.createElement(l.ThemeProvider,null,n.createElement(i.GlobalDialog,null),n.createElement(_.default,null))))),e)}},"@elementor/editor-current-user":function(e){e.exports=window.elementorV2.editorCurrentUser},"@elementor/editor-ui":function(e){e.exports=window.elementorV2.editorUi},"@elementor/editor-v1-adapters":function(e){e.exports=window.elementorV2.editorV1Adapters},"@elementor/locations":function(e){e.exports=window.elementorV2.locations},"@elementor/query":function(e){e.exports=window.elementorV2.query},"@elementor/store":function(e){e.exports=window.elementorV2.store},"@elementor/ui":function(e){e.exports=window.elementorV2.ui},react:function(e){e.exports=window.React},"react-dom":function(e){e.exports=window.ReactDOM}},t={};function __webpack_require__(r){var n=t[r];if(void 0!==n)return n.exports;var o=t[r]={exports:{}};return e[r](o,o.exports,__webpack_require__),o.exports}__webpack_require__.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return __webpack_require__.d(t,{a:t}),t},__webpack_require__.d=function(e,t){for(var r in t)__webpack_require__.o(t,r)&&!__webpack_require__.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},__webpack_require__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__webpack_require__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};!function(){__webpack_require__.r(r),__webpack_require__.d(r,{injectIntoLogic:function(){return e.injectIntoLogic},injectIntoTop:function(){return e.injectIntoTop},start:function(){return t.start}});var e=__webpack_require__("./packages/packages/core/editor/src/locations.ts"),t=__webpack_require__("./packages/packages/core/editor/src/start.tsx")}(),(window.elementorV2=window.elementorV2||{}).editor=r}(),window.elementorV2.editor?.init?.();
//# sourceMappingURL=editor.js.map