geno/wp-content/plugins/elementor/assets/js/element-manager-admin.min.js

3 lines
41 KiB
JavaScript
Raw Normal View History

2024-02-01 17:24:18 +05:30
/*! elementor - v3.18.0 - 20-12-2023 */
/*! For license information please see element-manager-admin.min.js.LICENSE.txt */
(()=>{var e={2234:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Children:()=>n.Children,Component:()=>n.Component,Fragment:()=>n.Fragment,Platform:()=>d,RawHTML:()=>RawHTML,StrictMode:()=>n.StrictMode,Suspense:()=>n.Suspense,cloneElement:()=>n.cloneElement,concatChildren:()=>concatChildren,createContext:()=>n.createContext,createElement:()=>n.createElement,createInterpolateElement:()=>create_interpolate_element,createPortal:()=>u.createPortal,createRef:()=>n.createRef,createRoot:()=>c.s,findDOMNode:()=>u.findDOMNode,flushSync:()=>u.flushSync,forwardRef:()=>n.forwardRef,hydrate:()=>u.hydrate,hydrateRoot:()=>c.a,isEmptyElement:()=>isEmptyElement,isValidElement:()=>n.isValidElement,lazy:()=>n.lazy,memo:()=>n.memo,render:()=>u.render,renderToString:()=>C,startTransition:()=>n.startTransition,switchChildrenNodeName:()=>switchChildrenNodeName,unmountComponentAtNode:()=>u.unmountComponentAtNode,useCallback:()=>n.useCallback,useContext:()=>n.useContext,useDebugValue:()=>n.useDebugValue,useDeferredValue:()=>n.useDeferredValue,useEffect:()=>n.useEffect,useId:()=>n.useId,useImperativeHandle:()=>n.useImperativeHandle,useInsertionEffect:()=>n.useInsertionEffect,useLayoutEffect:()=>n.useLayoutEffect,useMemo:()=>n.useMemo,useReducer:()=>n.useReducer,useRef:()=>n.useRef,useState:()=>n.useState,useSyncExternalStore:()=>n.useSyncExternalStore,useTransition:()=>n.useTransition});var n=r(87363);let a,o,l,i;const s=/<(\/)?(\w+)\s*(\/)?>/g;function createFrame(e,t,r,n,a){return{element:e,tokenStart:t,tokenLength:r,prevOffset:n,leadingTextStart:a,children:[]}}const isValidConversionMap=e=>{const t="object"==typeof e,r=t&&Object.values(e);return t&&r.length&&r.every((e=>(0,n.isValidElement)(e)))};function proceed(e){const t=function nextToken(){const e=s.exec(a);if(null===e)return["no-more-tokens"];const t=e.index,[r,n,o,l]=e,i=r.length;if(l)return["self-closed",o,t,i];if(n)return["closer",o,t,i];return["opener",o,t,i]}(),[r,u,c,d]=t,f=i.length,p=c>o?o:null;if(!e[u])return addText(),!1;switch(r){case"no-more-tokens":if(0!==f){const{leadingTextStart:e,tokenStart:t}=i.pop();l.push(a.substr(e,t))}return addText(),!1;case"self-closed":return 0===f?(null!==p&&l.push(a.substr(p,c-p)),l.push(e[u]),o=c+d,!0):(addChild(createFrame(e[u],c,d)),o=c+d,!0);case"opener":return i.push(createFrame(e[u],c,d,c+d,p)),o=c+d,!0;case"closer":if(1===f)return function closeOuterElement(e){const{element:t,leadingTextStart:r,prevOffset:o,tokenStart:s,children:u}=i.pop(),c=e?a.substr(o,e-o):a.substr(o);c&&u.push(c);null!==r&&l.push(a.substr(r,s-r));l.push((0,n.cloneElement)(t,null,...u))}(c),o=c+d,!0;const t=i.pop(),r=a.substr(t.prevOffset,c-t.prevOffset);t.children.push(r),t.prevOffset=c+d;const s=createFrame(t.element,t.tokenStart,t.tokenLength,c+d);return s.children=t.children,addChild(s),o=c+d,!0;default:return addText(),!1}}function addText(){const e=a.length-o;0!==e&&l.push(a.substr(o,e))}function addChild(e){const{element:t,tokenStart:r,tokenLength:o,prevOffset:l,children:s}=e,u=i[i.length-1],c=a.substr(u.prevOffset,r-u.prevOffset);c&&u.children.push(c),u.children.push((0,n.cloneElement)(t,null,...s)),u.prevOffset=l||r+o}const create_interpolate_element=(e,t)=>{if(a=e,o=0,l=[],i=[],s.lastIndex=0,!isValidConversionMap(t))throw new TypeError("The conversionMap provided is not valid. It must be an object with values that are React Elements");do{}while(proceed(t));return(0,n.createElement)(n.Fragment,null,...l)};function concatChildren(...e){return e.reduce(((e,t,r)=>(n.Children.forEach(t,((t,a)=>{t&&"string"!=typeof t&&(t=(0,n.cloneElement)(t,{key:[r,a].join()})),e.push(t)})),e)),[])}function switchChildrenNodeName(e,t){return e&&n.Children.map(e,((e,r)=>{if("string"==typeof e?.valueOf())return(0,n.createElement)(t,{key:r},e);const{children:a,...o}=e.props;return(0,n.createElement)(t,{key:r,...o},a)}))}var u=r(61533),c=r(37634);const isEmptyElement=e=>"number"!=typeof e&&("string"==typeof e?.valueOf()||Array.isArray(e)?!e.length:!e),d={OS:"web",select:e=>"web"in e?e.web:e.default,isWeb:!0};function isObject(e){return"[object Object]"===Object.prototype.toString.call(e)}var __