PATH:
home
/
lab2454c
/
equitablegold.com
/
wp-content
/
plugins
/
elementor
/
assets
/
js
/
packages
/
editor-app-bar
/*! For license information please see editor-app-bar.js.LICENSE.txt */ !function(){"use strict";var e={react:function(e){e.exports=window.React},"@elementor/editor":function(e){e.exports=window.elementorV2.editor},"@elementor/editor-documents":function(e){e.exports=window.elementorV2.editorDocuments},"@elementor/editor-v1-adapters":function(e){e.exports=window.elementorV2.editorV1Adapters},"@elementor/icons":function(e){e.exports=window.elementorV2.icons},"@elementor/locations":function(e){e.exports=window.elementorV2.locations},"@elementor/ui":function(e){e.exports=window.elementorV2.ui},"@wordpress/i18n":function(e){e.exports=window.wp.i18n}},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,{documentOptionsMenu:function(){return D},injectIntoPageIndication:function(){return I},injectIntoPrimaryAction:function(){return k},injectIntoResponsive:function(){return x},integrationsMenu:function(){return A},mainMenu:function(){return w},toolsMenu:function(){return T},utilitiesMenu:function(){return C}});var e=n("react"),t=n("@elementor/locations"),o=n("@elementor/ui"),i=n("@elementor/icons"),l=n("@wordpress/i18n"),a=n("@elementor/editor"),c=n("@elementor/editor-v1-adapters"),s=n("@elementor/editor-documents"),u=(0,e.createContext)({type:"toolbar"});function p({type:t,children:n}){return e.createElement(u.Provider,{value:{type:t}},n)}function m(){return(0,e.useContext)(u)}function d({title:t,...n}){return e.createElement(v,{title:t},e.createElement(o.Box,{component:"span","aria-label":void 0},e.createElement(o.IconButton,{...n,"aria-label":t,size:"medium",sx:{"& svg":{fontSize:"1.25rem",height:"1em",width:"1em"},"&:hover":{color:"text.primary"}}})))}function v(t){return e.createElement(o.Tooltip,{PopperProps:{sx:{"&.MuiTooltip-popper .MuiTooltip-tooltip.MuiTooltip-tooltipPlacementBottom":{mt:2}}},...t})}var g=(0,o.withDirection)(i.ArrowUpRightIcon);function f({text:t,icon:n,onClick:r,href:i,target:l,disabled:a,...c}){const s=i&&"_blank"===l;return e.createElement(o.MenuItem,{...c,disabled:a,onClick:r,component:i?"a":"div",href:i,target:l,sx:{"&:hover":{color:"text.primary"}}},e.createElement(o.ListItemIcon,null,n),e.createElement(o.ListItemText,{primary:t}),s&&e.createElement(g,null))}function E({icon:t,title:n,visible:r=!0,...o}){const{type:i}=m();return r?"toolbar"===i?e.createElement(d,{title:n,...o},e.createElement(t,null)):e.createElement(f,{...o,text:n,icon:e.createElement(t,null)}):null}function _({title:t,onClick:n,...r}){return e.createElement(o.Tooltip,{title:t},e.createElement(o.Box,{component:"span","aria-label":void 0},e.createElement(o.ToggleButton,{...r,onChange:n,"aria-label":t,size:"small",sx:{border:0,"&.Mui-disabled":{border:0},"& svg":{fontSize:"1.25rem",height:"1em",width:"1em"}}})))}function b({icon:t,title:n,value:r,visible:o=!0,...i}){const{type:l}=m();return o?"toolbar"===l?e.createElement(_,{value:r||n,title:n,...i},e.createElement(t,null)):e.createElement(f,{...i,text:n,icon:e.createElement(t,null)}):null}function y({icon:t,title:n,visible:r=!0,...o}){const{type:i}=m();return r?"toolbar"===i?e.createElement(d,{title:n,...o},e.createElement(t,null)):e.createElement(f,{...o,text:n,icon:e.createElement(t,null)}):null}function h(n=[]){const r=[...n,"default"],o=r.reduce(((e,n)=>({...e,[n]:(0,t.createLocation)()})),{}),[i,l,a]=[E,b,y].map((t=>function({locations:t,menuGroups:n,component:r}){return({group:o="default",id:i,overwrite:l,priority:a,...c})=>{if(!n.includes(o))return;const s="props"in c?()=>c.props:c.useProps,u=r;t[o].inject({id:i,component:t=>{const n=s();return e.createElement(u,{...t,...n})},options:{priority:a,overwrite:l}})}}({locations:o,menuGroups:r,component:t}))),c=function(t){return()=>(0,e.useMemo)((()=>Object.entries(t).reduce(((e,[t,n])=>({...e,[t]:n.getInjections().map((e=>({id:e.id,MenuItem:e.component})))})),{})),[])}(o);return{registerAction:i,registerToggleAction:l,registerLink:a,useMenuItems:c}}var{inject:I,Slot:M}=(0,t.createLocation)(),{inject:x,Slot:P}=(0,t.createLocation)(),{inject:k,Slot:S}=(0,t.createLocation)(),w=h(["exits"]),T=h(),C=h(),A=h(),D=h(["save"]);function B({children:t,...n}){return e.createElement(p,{type:"popover"},e.createElement(o.Menu,{PaperProps:{sx:{mt:1.5}},...n,MenuListProps:{component:"div",dense:!0}},t))}var R=(0,o.styled)(o.ToggleButton)((({theme:e})=>({padding:0,border:0,color:e.palette.text.primary,"&.MuiToggleButton-root:hover":{backgroundColor:"initial"},"&.MuiToggleButton-root.Mui-selected":{backgroundColor:"initial"}}))),O=(0,o.styled)((t=>e.createElement(o.SvgIcon,{viewBox:"0 0 32 32",...t},e.createElement("g",null,e.createElement("circle",{cx:"16",cy:"16",r:"16"}),e.createElement("path",{d:"M11.7 9H9V22.3H11.7V9Z"}),e.createElement("path",{d:"M22.4 9H9V11.7H22.4V9Z"}),e.createElement("path",{d:"M22.4 14.4004H9V17.1004H22.4V14.4004Z"}),e.createElement("path",{d:"M22.4 19.6992H9V22.3992H22.4V19.6992Z"})))),{shouldForwardProp:e=>"showMenuIcon"!==e})((({theme:e,showMenuIcon:t})=>({"& path":{fill:e.palette.background.default,transition:"all 0.2s linear",transformOrigin:"bottom left","&:first-of-type":{transitionDelay:!t&&"0.2s",transform:t&&"translateY(-9px) scaleY(0)"},"&:not(:first-of-type)":{transform:!t&&`translateX(${"rtl"===e.direction?"4":"9"}px) scaleX(0.6)`},"&:nth-of-type(2)":{transitionDelay:t?"0":"0.2s"},"&:nth-of-type(3)":{transitionDelay:"0.1s"},"&:nth-of-type(4)":{transitionDelay:t?"0.2s":"0"}}})));function V(t){const[n,r]=(0,e.useState)(!1),o=t.selected||n;return e.createElement(R,{...t,value:"selected",size:"large",onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1)},e.createElement(O,{fontSize:"large",showMenuIcon:o,titleAccess:(0,l.__)("Elementor Logo","elementor")}))}function L({children:t,...n}){const r="rtl"===(0,o.useTheme)().direction;return e.createElement(B,{sx:{pointerEvents:"none"},PaperProps:{sx:{...r?{marginInlineEnd:-1}:{marginInlineStart:1},pointerEvents:"auto"}},anchorOrigin:{vertical:"center",horizontal:r?"left":"right"},transformOrigin:{vertical:"center",horizontal:r?"right":"left"},...n},t)}var{useMenuItems:j}=A,z=(0,o.withDirection)(i.ChevronRightIcon);function H({parentPopupState:t}){const n=j(),r=(0,o.usePopupState)({parentPopupState:t,variant:"popover",popupId:"elementor-v2-app-bar-integrations"});return 0===n.default.length?null:e.createElement(e.Fragment,null,e.createElement(o.Divider,null),e.createElement(o.MenuItem,{...(0,o.bindHover)(r),...(0,o.bindFocus)(r)},e.createElement(o.ListItemIcon,null,e.createElement(i.PlugIcon,null)),e.createElement(o.ListItemText,{primary:(0,l.__)("Integrations","elementor")}),e.createElement(z,null),e.createElement(L,{...(0,o.bindMenu)(r),onClick:r.close},n.default.map((({MenuItem:t,id:n})=>e.createElement(t,{key:n}))))))}var{useMenuItems:U}=w;function F(){const t=U(),n=(0,o.usePopupState)({variant:"popover",popupId:"elementor-v2-app-bar-main-menu"});return e.createElement(o.Stack,{sx:{paddingInlineStart:3},direction:"row",alignItems:"center"},e.createElement(V,{...(0,o.bindTrigger)(n),selected:n.isOpen}),e.createElement(B,{onClick:n.close,...(0,o.bindMenu)(n),marginThreshold:8},t.default.map((({MenuItem:t,id:n})=>e.createElement(t,{key:n}))),e.createElement(H,{key:"integrations-location",parentPopupState:n}),t.exits.length>0&&e.createElement(o.Divider,null),t.exits.map((({MenuItem:t,id:n})=>e.createElement(t,{key:n})))))}function G({children:t,...n}){return e.createElement(p,{type:"toolbar"},e.createElement(o.Stack,{sx:{px:1.5},spacing:1.5,direction:"row",alignItems:"center",...n},t))}function W({children:t,id:n}){const r=(0,o.usePopupState)({variant:"popover",popupId:n});return e.createElement(e.Fragment,null,e.createElement(d,{...(0,o.bindTrigger)(r),title:(0,l.__)("More","elementor")},e.createElement(i.DotsVerticalIcon,null)),e.createElement(B,{onClick:r.close,...(0,o.bindMenu)(r)},t))}var K=5,{useMenuItems:Z}=T;function q(){const t=Z(),n=t.default.slice(0,K),r=t.default.slice(K);return e.createElement(G,null,n.map((({MenuItem:t,id:n})=>e.createElement(t,{key:n}))),r.length>0&&e.createElement(W,{id:"elementor-editor-app-bar-tools-more"},r.map((({MenuItem:t,id:n})=>e.createElement(t,{key:n})))))}var X=3,{useMenuItems:Y}=C;function $(){const t=Y(),n=t.default.slice(0,X),r=t.default.slice(X);return e.createElement(G,null,n.map((({MenuItem:t,id:n},r)=>e.createElement(e.Fragment,{key:n},0===r&&e.createElement(o.Divider,{orientation:"vertical"}),e.createElement(t,null)))),r.length>0&&e.createElement(W,{id:"elementor-editor-app-bar-utilities-more"},r.map((({MenuItem:t,id:n})=>e.createElement(t,{key:n})))))}function J(){return e.createElement(S,null)}function N(){return e.createElement(M,null)}function Q(){return e.createElement(P,null)}function ee(){const t=(0,s.__useActiveDocument)(),n=(0,s.__useHostDocument)(),r=t&&"kit"!==t.type.value?t:n,{isActive:a,isBlocked:u}=(0,c.__privateUseRouteStatus)("panel/page-settings");if(!r)return null;const p=(0,l.__)("%s Settings","elementor").replace("%s",r.type.label);return e.createElement(te,{title:p},e.createElement(o.Box,{component:"span","aria-label":void 0},e.createElement(o.ToggleButton,{value:"document-settings",selected:a,disabled:u,onChange:()=>(0,c.__privateOpenRoute)("panel/page-settings/settings"),"aria-label":p,size:"small",sx:{border:0,"&.Mui-disabled":{border:0}}},e.createElement(i.SettingsIcon,{fontSize:"small"}))))}function te(t){return e.createElement(o.Tooltip,{PopperProps:{sx:{"&.MuiTooltip-popper .MuiTooltip-tooltip.MuiTooltip-tooltipPlacementBottom":{mt:1.7}}},...t})}function ne(){const e=(0,s.__useActiveDocument)();return{icon:i.EyeIcon,title:(0,l.__)("Preview Changes","elementor"),onClick:()=>e&&(0,c.__privateRunCommand)("editor/documents/preview",{id:e.id,force:!0})}}function re(){const e=(0,s.__useActiveDocument)(),{saveDraft:t}=(0,s.__useActiveDocumentActions)();return{icon:i.FileReportIcon,title:(0,l.__)("Save Draft","elementor"),onClick:t,disabled:!e||e.isSaving||e.isSavingDraft||!e.isDirty}}function oe(){const{saveTemplate:e}=(0,s.__useActiveDocumentActions)();return{icon:i.FolderIcon,title:(0,l.__)("Save as Template","elementor"),onClick:e}}var{useMenuItems:ie}=D,le=(0,o.styled)(B)` & > .MuiPopover-paper > .MuiList-root > .MuiDivider-root { &:only-child, /* A divider is being rendered lonely */ &:last-child, /* The last group renders empty but renders a divider */ & + .MuiDivider-root /* Multiple dividers due to multiple empty groups */ { display: none; } } `;function ae(t){const{save:n,default:r}=ie();return e.createElement(le,{...t,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},marginThreshold:4,PaperProps:{sx:{mt:.5}}},n.map((({MenuItem:t,id:n},r)=>[r>0&&e.createElement(o.Divider,{key:`${n}-divider`}),e.createElement(t,{key:n})])),r.length>0&&e.createElement(o.Divider,null),r.map((({MenuItem:t,id:n})=>e.createElement(t,{key:n}))))}function ce(){const t=(0,s.__useActiveDocument)(),{save:n}=(0,s.__useActiveDocumentActions)(),r=(0,c.__privateUseIsPreviewMode)(),a=(0,o.usePopupState)({variant:"popover",popupId:"document-save-options"});if(!t)return null;const u=r||!function(e){return"kit"!==e.type.value&&(e.isDirty||"draft"===e.status.value)}(t),p=r||"kit"===t.type.value,m=t.isSaving&&!u;return e.createElement(e.Fragment,null,e.createElement(o.ButtonGroup,{size:"large",variant:"contained"},e.createElement(o.Button,{onClick:()=>!t.isSaving&&n(),sx:{height:"100%",borderRadius:0,maxWidth:"158px","&.MuiButtonBase-root.MuiButtonGroup-grouped":{minWidth:"110px"}},disabled:u},m?e.createElement(o.CircularProgress,{color:"inherit",size:"1.5em"}):function(e){return e.userCan.publish?(0,l.__)("Publish","elementor"):(0,l.__)("Submit","elementor")}(t)),e.createElement(o.Tooltip,{title:(0,l.__)("Save Options","elementor"),PopperProps:{sx:{"&.MuiTooltip-popper .MuiTooltip-tooltip.MuiTooltip-tooltipPlacementBottom":{mt:1,mr:.25}}}},e.createElement(o.Box,{component:"span","aria-label":void 0},e.createElement(o.Button,{size:"small",...(0,o.bindTrigger)(a),sx:{px:0,height:"100%",borderRadius:0},disabled:p,"aria-label":(0,l.__)("Save Options","elementor")},e.createElement(i.ChevronDownIcon,null))))),e.createElement(ae,{...(0,o.bindMenu)(a),onClick:a.close}))}function se(e){window.elementor?.getPanelView?.()?.getHeaderView?.()?.setTitle?.(e)}function ue(e){const t=document.querySelector('.elementor-component-tab[data-tab="categories"]');t&&(t.textContent=e)}function pe(){const{isActive:e,isBlocked:t}=(0,c.__privateUseRouteStatus)("panel/elements");return{title:(0,l.__)("Add Element","elementor"),icon:i.PlusIcon,onClick:()=>(0,c.__privateOpenRoute)("panel/elements/categories"),selected:e,disabled:t}}function me(){const{isBlocked:e}=(0,c.__privateUseRouteStatus)("finder",{blockOnKitRoutes:!1,blockOnPreviewMode:!1});return{title:(0,l.__)("Finder","elementor"),icon:i.SearchIcon,onClick:()=>(0,c.__privateRunCommand)("finder/toggle"),disabled:e}}function de(){const{isActive:e,isBlocked:t}=(0,c.__privateUseRouteStatus)("panel/history");return{title:(0,l.__)("History","elementor"),icon:i.HistoryIcon,onClick:()=>(0,c.__privateOpenRoute)("panel/history/actions"),selected:e,disabled:t}}function ve(){return{icon:i.KeyboardIcon,title:(0,l.__)("Keyboard Shortcuts","elementor"),onClick:()=>(0,c.__privateRunCommand)("shortcuts/open")}}function ge(t){const n=(0,c.__privateUseListenTo)([(0,c.routeOpenEvent)("panel/global"),(0,c.routeCloseEvent)("panel/global")],fe);return n.current?e.createElement(o.Portal,{container:n.current,...t}):null}function fe(){return(0,c.__privateIsRouteActive)("panel/global")?{current:document.querySelector("#elementor-panel-inner")}:{current:null}}function Ee(){const t=(0,s.__useActiveDocument)(),{save:n}=(0,s.__useActiveDocumentActions)();return e.createElement(o.Paper,{sx:{px:5,py:4,borderTop:1,borderColor:"divider"}},e.createElement(o.Button,{variant:"contained",disabled:!t||!t.isDirty,size:"medium",sx:{width:"100%"},onClick:()=>t&&!t.isSaving?n():null},t?.isSaving?e.createElement(o.CircularProgress,null):(0,l.__)("Save Changes","elementor")))}function _e(){return e.createElement(ge,null,e.createElement(Ee,null))}function be(){const{isActive:e,isBlocked:t}=(0,c.__privateUseRouteStatus)("panel/global",{blockOnKitRoutes:!1});return{title:(0,l.__)("Site Settings","elementor"),icon:i.AdjustmentsHorizontalIcon,onClick:()=>e?(0,c.__privateRunCommand)("panel/global/close"):(0,c.__privateRunCommand)("panel/global/open"),selected:e,disabled:t}}function ye(){const{isActive:e,isBlocked:t}=(0,c.__privateUseRouteStatus)("navigator");return{title:(0,l.__)("Structure","elementor"),icon:i.StructureIcon,onClick:()=>(0,c.__privateRunCommand)("navigator/toggle"),selected:e,disabled:t}}function he(){return{icon:i.ThemeBuilderIcon,title:(0,l.__)("Theme Builder","elementor"),onClick:()=>(0,c.__privateRunCommand)("app/open")}}function Ie(){const{isActive:e,isBlocked:t}=(0,c.__privateUseRouteStatus)("panel/editor-preferences");return{icon:i.ToggleRightIcon,title:(0,l.__)("User Preferences","elementor"),onClick:()=>(0,c.__privateOpenRoute)("panel/editor-preferences"),selected:e,disabled:t}}(0,c.__privateListenTo)((0,c.routeOpenEvent)("panel/menu"),(()=>{(0,c.__privateOpenRoute)("panel/elements/categories")})),I({id:"document-settings-button",component:ee,options:{priority:20}}),C.registerAction({id:"document-preview-button",priority:30,useProps:ne}),k({id:"document-primary-action",component:ce}),D.registerAction({group:"save",id:"document-save-draft",priority:10,useProps:re}),D.registerAction({group:"save",id:"document-save-as-template",priority:20,useProps:oe}),function(){const e=(0,l.__)("Elements","elementor"),t=(0,l.__)("Widgets","elementor");(0,c.__privateListenTo)((0,c.routeOpenEvent)("panel/elements"),(()=>{se(e),ue(t)})),(0,c.__privateListenTo)((0,c.v1ReadyEvent)(),(()=>{(0,c.__privateIsRouteActive)("panel/elements")&&(se(e),ue(t))}))}(),T.registerToggleAction({id:"open-elements-panel",priority:1,useProps:pe}),C.registerAction({id:"toggle-finder",priority:10,useProps:me}),C.registerLink({id:"open-help-center",priority:20,useProps:()=>({title:(0,l.__)("Help","elementor"),href:"https://go.elementor.com/editor-top-bar-learn/",icon:i.HelpIcon,target:"_blank"})}),w.registerToggleAction({id:"open-history",priority:20,useProps:de}),w.registerAction({id:"open-keyboard-shortcuts",group:"default",priority:40,useProps:ve}),(0,a.injectIntoTop)({id:"site-settings-primary-action-portal",component:_e}),T.registerToggleAction({id:"toggle-site-settings",priority:2,useProps:be}),T.registerToggleAction({id:"toggle-structure-view",priority:3,useProps:ye}),w.registerAction({id:"open-theme-builder",useProps:he}),w.registerToggleAction({id:"open-user-preferences",priority:30,useProps:Ie}),w.registerLink({id:"exit-to-wordpress",group:"exits",useProps:()=>{const e=(0,s.__useActiveDocument)();return{title:(0,l.__)("Exit to WordPress","elementor"),href:e?.links?.platformEdit,icon:i.WordpressIcon}}}),(0,a.injectIntoTop)({id:"app-bar",component:function(){return e.createElement(o.ThemeProvider,{colorScheme:"dark"},e.createElement(o.AppBar,{position:"sticky"},e.createElement(o.Box,{display:"grid",gridTemplateColumns:"repeat(3, 1fr)"},e.createElement(o.Grid,{container:!0},e.createElement(F,null),e.createElement(q,null)),e.createElement(o.Grid,{container:!0,justifyContent:"center"},e.createElement(G,{spacing:1.5},e.createElement(o.Divider,{orientation:"vertical"}),e.createElement(N,null),e.createElement(o.Divider,{orientation:"vertical"}),e.createElement(Q,null),e.createElement(o.Divider,{orientation:"vertical"}))),e.createElement(o.Grid,{container:!0,justifyContent:"flex-end"},e.createElement($,null),e.createElement(J,null)))))}})}(),(window.elementorV2=window.elementorV2||{}).editorAppBar=r}();
[-] editor-app-bar.strings.js
[edit]
[+]
..
[-] editor-app-bar.js
[edit]
[-] editor-app-bar.asset.php
[edit]
[-] editor-app-bar.js.LICENSE.txt
[edit]
[-] editor-app-bar.min.js
[edit]