import{f as h,i as f,ar as v,j as p,V as g,aq as M,O as A,ad as y,U as u,Q as S,S as k,Y as m,a5 as E,a0 as C,P as w,an as H}from"./js/vendor-vue-ui.de3ab35f.js";import{l as b}from"./js/index.faac30d2.js";import{l as O}from"./js/index.fae6edc8.js";import{l as L}from"./js/index.0d80c2c2.js";import{d as o,b as $,l as U}from"./js/app-core.ae890a3f.js";import{_ as d}from"./js/_plugin-vue_export-helper.eefbdd86.js";import{S as x}from"./js/Message.2774a2ce.js";import{S as V}from"./js/Star.9d3e6e2c.js";import{S as P}from"./js/Support.2e4d4097.js";import{_ as e,a as q}from"./js/vendor-other.7b559694.js";import"./js/Button.a549093d.js";import"./js/Input.8918dec2.js";import"./js/Index.52399193.js";import"./js/Close.098d4b76.js";import"./js/Pencil.405b16d2.js";import"./js/Trash.d35f8063.js";import"./js/Select.32af2da8.js";import"./js/Caret.a017b70a.js";import"./js/Toggle.26ac9b1a.js";import"./js/vendor-lodash.8e35bd59.js";const N={},j={width:"57",height:"56",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Q(a,l){return h(),f("svg",j,[...l[0]||(l[0]=[v('',1)])])}const R=d(N,[["render",Q]]),I={},J={width:"57",height:"56",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function T(a,l){return h(),f("svg",J,[...l[0]||(l[0]=[v('',1)])])}const Y=d(I,[["render",T]]),G={props:{active:{type:Boolean,default(){return!1}}}},K={viewBox:"0 0 29 29",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"aioseo-light-bulb"};function W(a,l,r,B,t,z){return h(),f("svg",K,[l[0]||(l[0]=p("path",{fill:"currentColor",d:"M 10.3477 27.595 c 0 0.6655 0.5445 1.21 1.21 1.21 h 4.84 c 0.6655 0 1.21 -0.5445 1.21 -1.21 v -1.21 h -7.26 v 1.21 z m 3.63 -22.99 c -4.6706 0 -8.47 3.7994 -8.47 8.47 c 0 2.8798 1.4399 5.4087 3.63 6.9454 V 22.755 c 0 0.6655 0.5445 1.21 1.21 1.21 h 7.26 c 0.6655 0 1.21 -0.5445 1.21 -1.21 v -2.7346 c 2.1901 -1.5367 3.63 -4.0656 3.63 -6.9454 c 0 -4.6706 -3.7994 -8.47 -8.47 -8.47 z m 3.4485 13.431 l -1.0285 0.726 V 21.545 h -4.84 v -2.783 l -1.0285 -0.726 A 6.0464 6.0464 90 0 1 7.9277 13.075 c 0 -3.3396 2.7104 -6.05 6.05 -6.05 s 6.05 2.7104 6.05 6.05 c 0 1.9723 -0.968 3.8236 -2.6015 4.961 z"},null,-1)),p("path",{fill:"currentColor",d:"M 13.041 3.717 h 2.334 V 0.799 h -2.334 v 2.918 z M 24.127 14.219 h 2.917 v -2.334 h -2.917 v 2.334 z M 1.956 14.219 h 2.917 v -2.334 H 1.956 v 2.334 z M 23.133 7.52 l 2.062 -2.063 l -1.642 -1.642 l -2.062 2.063 l 1.642 1.642 z M 6.56 7.52 L 4.499 5.457 L 6.14 3.815 l 2.063 2.063 L 6.56 7.52 z",style:g({opacity:r.active?1:0})},null,4)])}const X=d(G,[["render",W]]),n="all-in-one-seo-pack",Z={setup(){return{rootStore:$()}},components:{SvgFlyoutDannie:R,SvgFlyoutDannieUp:Y,SvgLightBulb:X,SvgMessage:x,SvgStar:V,SvgSupport:P},data(){return{isOpen:!1,willOpen:!1,hovering:null,strings:{quickLinks:e("Quick Links",n)}}},computed:{items(){const a=[{label:e("Support & Docs",n),url:o.utmUrl("flyout-menu","support-docs",o.docLinks.home),icon:"svg-support"},{label:e("Join Our Community",n),url:o.utmUrl("flyout-menu","join-our-community","plugin/facebook/"),icon:"svg-message"},{label:e("Suggest a Feature",n),url:o.utmUrl("flyout-menu","suggest-a-feature","suggest-a-feature/"),icon:"svg-light-bulb"}];return!this.rootStore.isPro&&this.rootStore.pong&&a.unshift({label:q(e("Upgrade to %1$s %2$s",n),"AIOSEO","Pro"),url:o.getUpsellUrl("flyout-menu","upgrade-to-pro","liteUpgrade"),icon:"svg-star"}),a}},methods:{documentClick(a){if(!this.isOpen)return;const l=this.$refs["aioseo-flyout-menu"];l&&(l===a.target||l.contains(a.target))||(this.isOpen=!1)}},mounted(){this.$nextTick(function(){document.addEventListener("click",this.documentClick)})},beforeUnmount(){document.removeEventListener("click",this.documentClick)}},l1={class:"aioseo-flyout-menu-items"},t1=["href","onMouseover"],a1={class:"aioseo-flyout-menu-label"},c1={class:"aioseo-flyout-menu-label icon"},p1={class:"aioseo-flyout-menu-label"};function h1(a,l,r,B,t,z){const D=M("svg-flyout-dannie-up"),F=M("svg-flyout-dannie");return h(),f("div",{class:w(["aioseo-flyout-menu",[{"is-open":t.isOpen},{"will-open":t.willOpen}]]),ref:"aioseo-flyout-menu"},[p("div",l1,[(h(!0),f(A,null,y(z.items,(i,s)=>(h(),f("a",{key:s,href:i.url,target:"_blank",style:g({transitionDelay:`${z.items.length-s}00ms`}),onMouseover:_=>t.hovering=s,onMouseleave:l[0]||(l[0]=_=>t.hovering=null)},[p("span",a1,u(i.label),1),p("div",c1,[(h(),S(k(i.icon),{active:s===t.hovering},null,8,["active"]))])],44,t1))),128))]),p("div",{class:"aioseo-flyout-menu-button",onClick:l[1]||(l[1]=i=>t.isOpen=!t.isOpen),onMouseover:l[2]||(l[2]=i=>t.willOpen=!0),onMouseleave:l[3]||(l[3]=i=>t.willOpen=!1)},[p("span",p1,u(t.strings.quickLinks),1),m(C(D,null,null,512),[[E,t.isOpen]]),m(C(F,null,null,512),[[E,!t.isOpen]])],32)],2)}const i1=d(Z,[["render",h1]]);let c=H({...i1,name:"Standalone/FlyoutMenu"});c=b(c);c=O(c);c=L(c);U(c);c.mount("#aioseo-flyout-menu");