File Editor
Directories:
.. (Back)
Files:
editor.asset.php
editor.js
editor.js.LICENSE.txt
editor.min.js
editor.strings.js
Create New File
Create
Edit File: editor.min.js
!function(){"use strict";var e={745:function(e,t,n){var r=n(6812);t.s=r.createRoot,r.hydrateRoot},6812:function(e){e.exports=window.ReactDOM}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};!function(){n.r(r),n.d(r,{init:function(){return y},injectIntoLogic:function(){return f},injectIntoTop:function(){return s}});var e=window.elementorV2.locations,t=window.React,o=n(6812),i=n(745),c=window.elementorV2.ui,l=window.elementorV2.store,u=window.elementorV2.editorV1Adapters,a=window.elementorV2.query,{Slot:d,inject:s}=(0,e.createLocation)(),{Slot:m,inject:f}=(0,e.createLocation)();function w(){return t.createElement(t.Fragment,null,t.createElement(d,null),t.createElement("div",{style:{display:"none"}},t.createElement(m,null)))}function v(){return window.elementor?.getPreferences?.("ui_theme")||"auto"}function p({children:e}){const n=function(){const[e,n]=(0,t.useState)((()=>v()));return(0,t.useEffect)((()=>(0,u.__privateListenTo)((0,u.v1ReadyEvent)(),(()=>n(v())))),[]),(0,t.useEffect)((()=>(0,u.__privateListenTo)((0,u.commandEndEvent)("document/elements/settings"),(e=>{const t=e;t.args?.settings&&"ui_theme"in t.args.settings&&n(v())}))),[]),e}();return t.createElement(c.ThemeProvider,{colorScheme:n},e)}function y(e){const n=(0,l.__createStore)(),r=(0,a.createQueryClient)();(0,u.__privateDispatchReadyEvent)(),function(e,t){let n;try{const r=(0,i.s)(t);n=()=>{r.render(e)}}catch{n=()=>{o.render(e,t)}}n()}(t.createElement(l.__StoreProvider,{store:n},t.createElement(a.QueryClientProvider,{client:r},t.createElement(c.DirectionProvider,{rtl:"rtl"===window.document.dir},t.createElement(p,null,t.createElement(w,null))))),e)}}(),(window.elementorV2=window.elementorV2||{}).editor=r}();
Save Changes
Rename File
Rename