Edit file File name : editor-responsive.min.js Content :!function(){"use strict";var e={d:function(t,n){for(var o in n)e.o(n,o)&&!e.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:n[o]})},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r:function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{getBreakpoints:function(){return r},useActivateBreakpoint:function(){return a},useActiveBreakpoint:function(){return u},useBreakpoints:function(){return d}});var n=window.elementorV2.editorV1Adapters,o=window.wp.i18n,i=window.React;function r(){const{breakpoints:e}=window.elementor?.config?.responsive||{};if(!e||0===Object.entries(e).length)return[];const t=[],n=[],i=[{id:"desktop",label:(0,o.__)("Desktop","elementor")}];Object.entries(e).forEach((([e,o])=>{if(!o.is_enabled)return;const r={id:e,label:o.label,width:o.value,type:"min"===o.direction?"min-width":"max-width"};r.width?"min-width"===r.type?t.push(r):"max-width"===r.type&&n.push(r):i.push(r)}));const r=(e,t)=>e.width&&t.width?t.width-e.width:0;return[...t.sort(r),...i,...n.sort(r)]}function d(){return(0,n.__privateUseListenTo)((0,n.v1ReadyEvent)(),r)}function u(){return(0,n.__privateUseListenTo)((0,n.windowEvent)("elementor/device-mode/change"),c)}function c(){const e=window;return e.elementor?.channels?.deviceMode?.request?.("currentMode")||null}function a(){return(0,i.useCallback)((e=>(0,n.__privateRunCommand)("panel/change-device-mode",{device:e})),[])}(window.elementorV2=window.elementorV2||{}).editorResponsive=t}(); Save