[ SYSTEM ]: Linux wordpress 6.1.0-44-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.164-1 (2026-03-09) x86_64
[ SERVER ]: Apache/2.4.66 (Debian) | PHP: 8.2.30
[ USER ]: www-data | IP: 172.19.30.54
GEFORCE FILE MANAGER
/
var
/
www
/
html
/
wordpress
/
wp-content
/
plugins
/
elementor
/
assets
/
js
/
packages
/
editor-elements
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📄 editor-elements.asset.php
329 B
SET
[ EDIT ]
|
[ DEL ]
📄 editor-elements.js
37,081 B
SET
[ EDIT ]
|
[ DEL ]
📄 editor-elements.js.LICENSE.txt
13,451 B
SET
[ EDIT ]
|
[ DEL ]
📄 editor-elements.min.js
16,627 B
SET
[ EDIT ]
|
[ DEL ]
📄 editor-elements.strings.js
142 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: editor-elements.min.js
!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,{ELEMENT_STYLE_CHANGE_EVENT:function(){return oe},createElement:function(){return _},createElementStyle:function(){return ce},createElements:function(){return I},deleteElement:function(){return C},deleteElementStyle:function(){return de},dropElement:function(){return S},duplicateElement:function(){return b},duplicateElements:function(){return T},findChildRecursive:function(){return i},generateElementId:function(){return k},getAllDescendants:function(){return U},getAnchoredAncestorId:function(){return Q},getAnchoredDescendantId:function(){return K},getContainer:function(){return o},getCurrentDocumentContainer:function(){return x},getCurrentDocumentId:function(){return O},getElementChildrenWithFallback:function(){return s},getElementEditorSettings:function(){return u},getElementInteractions:function(){return ae},getElementLabel:function(){return N},getElementSetting:function(){return w},getElementSettings:function(){return y},getElementStyles:function(){return M},getElementType:function(){return p},getElements:function(){return $},getLinkInLinkRestriction:function(){return z},getSelectedElements:function(){return f},getWidgetsCache:function(){return a},isElementAnchored:function(){return X},moveElement:function(){return D},moveElements:function(){return J},playElementInteractions:function(){return fe},removeElements:function(){return q},replaceElement:function(){return W},selectElement:function(){return r},shouldCreateNewLocalStyle:function(){return ue},styleRerenderEvents:function(){return re},updateElementEditorSettings:function(){return F},updateElementInteractions:function(){return pe},updateElementSettings:function(){return G},updateElementStyle:function(){return me},useElementChildren:function(){return c},useElementEditorSettings:function(){return d},useParentElement:function(){return m},useSelectedElement:function(){return g},useSelectedElementSettings:function(){return v}});var n=window.elementorV2.editorV1Adapters;function o(e){const t=window,n=t.elementor?.getContainer?.(e);return n??null}const r=e=>{try{const t=o(e);(0,n.__privateRunCommand)("document/elements/select",{container:t})}catch{}};function i(e,t){const n=e.get("elements")??[];for(const e of n){if(t(e))return{model:e};const n=i(e,t);if(n)return n}return null}function s(e,t){return(e.get("elements")??[]).filter(e=>!t||t(e)).map(e=>({model:e}))}function l({model:e}){return{id:e.get("id"),editorSettings:e.get("editor_settings")??{}}}function c(e,t){return(0,n.__privateUseListenTo)([(0,n.v1ReadyEvent)(),(0,n.commandEndEvent)("document/elements/create"),(0,n.commandEndEvent)("document/elements/delete"),(0,n.commandEndEvent)("document/elements/update"),(0,n.commandEndEvent)("document/elements/set-settings")],()=>{const n=o(e),r=n?.model;return r?Object.entries(t).reduce((e,[t,n])=>{const o=i(r,e=>e.get("elType")===t);if(!o)return e[n]=[],e;const c=s(o.model,e=>e.get("elType")===n);return e[n]=c.map(l),e},{}):{}},[e])}function u(e){const t=o(e);return t?.model.get("editor_settings")??{}}const d=e=>(0,n.__privateUseListenTo)((0,n.windowEvent)("elementor/element/update_editor_settings"),()=>u(e),[e]);function m(e){return(0,n.__privateUseListenTo)([(0,n.commandEndEvent)("document/elements/create")],()=>{if(!e)return null;const t=window,n=t?.elementor?.getContainer?.(e);return n?n.parent:null},[e])}function a(){const e=window;return e?.elementor?.widgetsCache||null}function p(e){if(!e)return null;const t=a(),n=t?.[e];return n?.atomic_controls&&n?.atomic_props_schema?{key:e,controls:n.atomic_controls,propsSchema:n.atomic_props_schema,dependenciesPerTargetMapping:n.dependencies_per_target_mapping??{},title:n.title,styleStates:n.atomic_style_states??[],pseudoStates:n.atomic_pseudo_states??[]}:null}function f(){const e=window;return(e.elementor?.selection?.getElements?.()??[]).reduce((e,t)=>{const n=t.model.get("widgetType")||t.model.get("elType");return n&&e.push({id:t.model.get("id"),type:n}),e},[])}function E(){const e=f(),[t]=e,n=p(t?.type);return 1===e.length&&n&&t?{element:t,elementType:n}:{element:null,elementType:null}}function g(){return(0,n.__privateUseListenTo)([(0,n.commandEndEvent)("document/elements/select"),(0,n.commandEndEvent)("document/elements/deselect"),(0,n.commandEndEvent)("document/elements/select-all"),(0,n.commandEndEvent)("document/elements/deselect-all")],E)}const w=(e,t)=>{const n=o(e);return n?.settings?.get(t)??null},y=(e,t)=>Object.fromEntries(t.map(t=>[t,w(e,t)]));function v(){return(0,n.__privateUseListenTo)([(0,n.commandEndEvent)("document/elements/select"),(0,n.commandEndEvent)("document/elements/deselect"),(0,n.commandEndEvent)("document/elements/select-all"),(0,n.commandEndEvent)("document/elements/deselect-all"),(0,n.commandEndEvent)("document/elements/set-settings")],()=>{const{element:e,elementType:t}=E();return e&&t?{element:e,elementType:t,settings:y(e.id,Object.keys(t.propsSchema))}:{element:null,elementType:null,settings:null}})}function _({container:e,model:t,options:o}){return(0,n.__privateRunCommandSync)("document/elements/create",{container:e,model:t,options:{edit:!1,...o}})}var h=window.wp.i18n;function C({container:e,options:t={}}){(0,n.__privateRunCommandSync)("document/elements/delete",{container:e,options:t})}const I=({elements:e,title:t,subtitle:o=(0,h.__)("Item added","elementor")})=>(0,n.undoable)({do:({elements:e})=>{const t=[];return e.forEach(({container:e,options:n,...o})=>{const r=e.lookup?.()??e;if(!r)throw new Error("Parent container not found");const i=_({container:r,...o,options:{...n,useHistory:!1}});t.push({container:i,parentContainer:r,model:i.model?.toJSON()||{},options:n})}),{createdElements:t}},undo:(e,{createdElements:t})=>{[...t].reverse().forEach(({container:e})=>{const t=e.lookup?.();t&&C({container:t,options:{useHistory:!1}})})},redo:(e,{createdElements:t})=>{const n=[];return t.forEach(({parentContainer:e,model:t,options:o})=>{const r=e.lookup?.();if(!r)return;const i=_({container:r,model:t,options:{...o,useHistory:!1}});n.push({container:i,parentContainer:r,model:i.model.toJSON(),options:o})}),{createdElements:n}}},{title:t,subtitle:o})({elements:e});function S({containerId:e,model:t,options:r}){const i=o(e);if(!i)throw new Error(`Container with ID "${e}" not found`);return(0,n.__privateRunCommandSync)("preview/drop",{container:i,model:t,options:r})}function b({element:e,options:t={}}){const o=e.view?._index??0,r=!1!==t.clone?o+1:void 0;return(0,n.__privateRunCommandSync)("document/elements/duplicate",{container:e,options:{at:r,edit:!1,...t}})}const T=({elementIds:e,title:t,subtitle:r=(0,h.__)("Item duplicated","elementor"),onDuplicateElements:i,onRestoreElements:s})=>(0,n.undoable)({do:({elementIds:e})=>{i?.();const t=[];return e.forEach(e=>{const n=o(e);if(!n?.parent)return;const r=b({element:n,options:{useHistory:!1}});r.parent&&t.push({container:r,parentContainer:r.parent,model:r.model.toJSON(),at:r.view?._index})}),{duplicatedElements:t}},undo:(e,{duplicatedElements:t})=>{s?.(),[...t].reverse().forEach(({container:e})=>{C({container:e,options:{useHistory:!1}})})},redo:(e,{duplicatedElements:t})=>{i?.();const n=[];return t.forEach(({parentContainer:e,model:t,at:o})=>{const r=e.lookup?.();if(r){const e=_({container:r,model:t,options:{useHistory:!1,clone:!1,at:o}});n.push({container:e,parentContainer:r,model:t,at:o})}}),{duplicatedElements:n}}},{title:t,subtitle:r})({elementIds:e}),k=()=>{const e=window;return e.elementorCommon?.helpers?.getUniqueId?.()??`el-${Date.now()}-${Math.random().toString(36).substring(2,9)}`};function x(){const e=window;return e.elementor?.documents?.getCurrent?.()?.container??null}function O(){const e=window;try{return e.elementor?.documents?.getCurrentId?.()??null}catch{return null}}var H=window.elementorV2.utils;const R=(0,H.createError)({code:"element_not_found",message:"Element not found."}),j=(0,H.createError)({code:"style_not_found",message:"Style not found."}),P=(0,H.createError)({code:"element_type_not_exists",message:"Element type does not exist."}),V=(0,H.createError)({code:"element_label_not_exists",message:"Element label does not exist."}),A=(0,H.createError)({code:"element_parent_not_found",message:"Element parent not found."}),L=(0,H.createError)({code:"element_index_not_found",message:"Element index not found."});function N(e){e||(e=f()?.[0]?.id);const t=o(e),n=t?.model.get("widgetType")||t?.model.get("elType");if(!n)throw new P({context:{elementId:e}});const r=a()?.[n]?.title;if(!r)throw new V({context:{elementType:n}});return r}const M=e=>{const t=o(e);return t?.model.get("styles")||null};function U(e){return[e,...(e.children??[]).flatMap(e=>U(e))]}function $(e){const t=e?o(e):x();if(!t)return[];const n=[...t.model.get("elements")??[]].flatMap(e=>$(e.get("id")));return[t,...n]}function D({element:e,targetContainer:t,options:n={}}){const o=e.lookup?.(),r=t.lookup?.();if(!o)throw new Error(`Element not found: ${e.id}`);if(!r)throw new Error(`Target container not found: ${t.id}`);const i=o.model.toJSON();return C({container:o,options:{...n,useHistory:!1}}),_({container:r,model:i,options:{edit:!1,...n,useHistory:!1}})}const J=({moves:e,title:t,subtitle:o=(0,h.__)("Elements moved","elementor"),onMoveElements:r,onRestoreElements:i})=>(0,n.undoable)({do:({moves:e})=>{const t=[];return r?.(),e.forEach(({element:e,targetContainer:n,options:o})=>{const r=e.lookup?.()??e,i=n.lookup?.()??n;if(!r)throw new Error("Element not found");if(!i)throw new Error("Target container not found");if(!r.parent)throw new Error("Element has no parent container");const s=r.parent,l=s.children?.indexOf(r)??-1,c=D({element:r,targetContainer:i,options:{...o,useHistory:!1}});t.push({element:c,originalContainer:s,originalIndex:l,targetContainer:i,options:o})}),{movedElements:t}},undo:(e,{movedElements:t})=>{i?.(),[...t].reverse().forEach(({element:e,originalContainer:t,originalIndex:n})=>{const o=e.lookup?.(),r=t.lookup?.();o&&r&&D({element:o,targetContainer:r,options:{useHistory:!1,at:n>=0?n:void 0}})})},redo:(e,{movedElements:t})=>{const n=[];return r?.(),t.forEach(({element:e,originalContainer:t,originalIndex:o,targetContainer:r,options:i})=>{const s=e.lookup?.(),l=t.lookup?.(),c=r.lookup?.();if(!s||!l||!c)return;const u=D({element:s,targetContainer:c,options:{...i,useHistory:!1}});n.push({element:u,originalContainer:l,originalIndex:o,targetContainer:c,options:i})}),{movedElements:n}}},{title:t,subtitle:o})({moves:e}),q=({elementIds:e,title:t,subtitle:r=(0,h.__)("Item removed","elementor"),onRemoveElements:i,onRestoreElements:s})=>(0,n.undoable)({do:({elementIds:e})=>{const t=[];return e.forEach(e=>{const n=o(e);n?.parent&&t.push({container:n,parent:n.parent,model:n.model.toJSON(),at:n.view?._index??0})}),i?.(),t.forEach(({container:e})=>{C({container:e,options:{useHistory:!1}})}),{removedElements:t}},undo:(e,{removedElements:t})=>{s?.(),[...t].reverse().forEach(({parent:e,model:t,at:n})=>{const o=e.lookup?.();o&&_({container:o,model:t,options:{useHistory:!1,at:n}})})},redo:(e,{removedElements:t})=>{i?.();const n=[];return t.forEach(({container:e,parent:t,model:o,at:r})=>{const i=e.lookup?.(),s=t.lookup?.();i&&s&&(C({container:i,options:{useHistory:!1}}),n.push({container:i,parent:s,model:o,at:r}))}),{removedElements:n}}},{title:t,subtitle:r})({elementIds:e}),W=({currentElementId:e,newElement:t,withHistory:n=!0})=>{const r=o(e);if(!r)throw new R({context:{elementId:e}});const{container:i,index:s}=function(e,t){const{parent:n}=e;if(!n)throw new A({context:{elementId:e.id}});const o=e.view?._index??0;if(-1===o)throw new L({context:{elementId:e.id}});let r={container:n,index:o};return"document"===n.id&&"widget"===t.elType&&(r=function(e,t){return{container:_({container:e,model:{elType:B},options:{at:t,useHistory:!1}}),index:0}}(n,o)),r}(r,t),l=_({container:i,model:t,options:{at:s,useHistory:n}});return C({container:r,options:{useHistory:n}}),l},B="e-flexbox",F=({elementId:e,settings:t})=>{const r=o(e);if(!r)throw new Error(`Element with id ${e} not found`);const i=r.model.get("editor_settings")??{};r.model.set("editor_settings",{...i,...t}),(0,n.__privateRunCommandSync)("document/save/set-is-modified",{status:!0},{internal:!0})},G=({id:e,props:t,withHistory:r=!0})=>{const i=o(e);if(!i)return;const s={container:i,settings:{...t}};r?(0,n.__privateRunCommandSync)("document/elements/settings",s):(0,n.__privateRunCommandSync)("document/elements/set-settings",s,{internal:!0})},Y="a, [data-action-link]";function z(e,t){const n=K(e);if(n)return{shouldRestrict:!0,reason:"descendant",elementId:n};const o=function(e,t){const n=te(e);if(!n)return!1;if(n.matches(Y))return!1;const o=t??w(e,"link")?.value;return!o?.destination&&null!==n.querySelector(Y)}(e,t);if(o)return{shouldRestrict:!0,reason:"descendant",elementId:e};const r=Q(e);return r?{shouldRestrict:!0,reason:"ancestor",elementId:r}:{shouldRestrict:!1}}function K(e){const t=te(e);if(!t)return null;for(const n of Array.from(t.querySelectorAll(Y))){const t=ee(n);if(t!==e)return t}return null}function Q(e){const t=te(e);if(!t||null===t.parentElement)return null;const n=t.parentElement.closest(Y);return n?ee(n):null}function X(e){const t=te(e);return!!t&&(!!t.matches(Y)||Z(t))}function Z(e){for(const t of Array.from(e.children))if(!ne(t)){if(t.matches(Y))return!0;if(Z(t))return!0}return!1}function ee(e){return e.closest("[data-id]")?.dataset.id||null}function te(e){try{return o(e)?.view?.el||null}catch{return null}}function ne(e){return e.hasAttribute("data-id")}const oe="elementor/editor-v2/editor-elements/style",re=[(0,n.commandEndEvent)("document/elements/create"),(0,n.commandEndEvent)("document/elements/duplicate"),(0,n.commandEndEvent)("document/elements/import"),(0,n.commandEndEvent)("document/elements/paste"),(0,n.windowEvent)(oe)];var ie=window.elementorV2.editorProps,se=window.elementorV2.editorStyles;function le(e,t){const r=o(e);if(!r)throw new R({context:{elementId:e}});const i=Object.keys(r.model.get("styles")??{}),s=function(e,t){const n=structuredClone(e.model.get("styles"))??{},o=Object.entries(t(n)).map(([e,t])=>(t.variants=function(e){return e.variants.filter(({props:e,custom_css:t})=>Object.keys(e).length>0||t?.raw)}(t),[e,t])).filter(([,e])=>!function(e){return 0===e.variants.length}(e)),r=Object.fromEntries(o);return e.model.set("styles",r),r}(r,t);return function(e,{oldIds:t,newIds:n}){const o=t.filter(e=>!n.includes(e)),r=structuredClone(function(e){return Object.entries(e.settings.toJSON()).filter(e=>{const[,t]=e;return ie.classesPropTypeUtil.isValid(t)})}(e));r.forEach(([,e])=>{e.value=e.value.filter(e=>!o.includes(e))}),G({id:e.id,props:Object.fromEntries(r),withHistory:!1})}(r,{oldIds:i,newIds:Object.keys(s)}),window.dispatchEvent(new CustomEvent(oe)),(0,n.__privateRunCommandSync)("document/save/set-is-modified",{status:!0},{internal:!0}),s}function ce({styleId:e,elementId:t,classesProp:n,label:o,meta:r,props:i,custom_css:s=null,additionalVariants:l=[]}){let c=e;return le(t,e=>{c??=(0,se.generateId)(`e-${t}-`,Object.keys(e));const u=[{meta:r,props:i,custom_css:s},...l];return e[c]={id:c,label:o,type:"class",variants:u},function(e,t,n){const o=w(e,t),r=ie.classesPropTypeUtil.create(e=>[...e??[],n],{base:o});G({id:e,props:{[t]:r},withHistory:!1})}(t,n,c),e}),c}function ue(e){return!e?.styleId&&!e?.provider}function de(e,t){le(e,e=>(delete e[t],e))}function me(e){le(e.elementId,t=>{const n=t[e.styleId];if(!n)throw new j({context:{styleId:e.styleId}});const o=(0,se.getVariantByMeta)(n,e.meta),r=("custom_css"in e?e.custom_css:o?.custom_css)??null;return o?(o.props=(0,ie.mergeProps)(o.props,e.props),o.custom_css=r?.raw?r:null):n.variants.push({meta:e.meta,props:e.props,custom_css:r}),t})}function ae(e){const t=o(e),n=t?.model?.get("interactions");return"string"==typeof n?JSON.parse(n):n}const pe=({elementId:e,interactions:t})=>{const r=o(e);if(!r)throw new Error(`Element with id ${e} not found`);r.model.set("interactions",t),window.dispatchEvent(new CustomEvent("elementor/element/update_interactions")),(0,n.__privateRunCommandSync)("document/save/set-is-modified",{status:!0},{internal:!0})},fe=(e,t)=>{window.top?.dispatchEvent(new CustomEvent("atomic/play_interactions",{detail:{elementId:e,interactionId:t}}))};(window.elementorV2=window.elementorV2||{}).editorElements=t}(),window.elementorV2.editorElements?.init?.();