1import{d as q,u as X,G as Z,c as I,b as J,h as K,i as Q,g as v,a2 as Y}from"./BnowyiiT.js";import{_ as ee}from"./BirJEn2g.js";import{Z as te,y as ne,p as oe,E as ae,a2 as o,u as l,a6 as m,W as y,ai as w,a5 as b,C as t,X as E,a3 as M,a8 as k,T as H,a7 as le,j as d,z as g}from"./DGxlnW41.js";import{u as se}from"./3v2CKPWU.js";import{u as V}from"./CkMOyL3W.js";import"./_CHoJ0K5.js";import"./CbAtIVSG.js";import"./B2YqjWf_.js";const ie={class:"w-100 menu-content"},re={class:"mb-5 mb-sm-4-5 mb-xl-0 d-flex flex-column align-items-center links-wrapper"},ce=["aria-expanded"],ue={key:0,id:"mobile-social-links",class:"w-100 d-flex flex-column align-items-center d-xl-none"},me=["aria-expanded"],de={key:0,id:"mobile-ai-links",class:"w-100 d-flex flex-column align-items-center d-xl-none submenu-ai-wrapper"},pe={key:0,class:"submenu-ai-wrapper__loading text-uppercase mb-0"},fe={class:"w-100 d-none d-xl-flex flex-column flex-xl-row align-items-center justify-content-center justify-content-xl-between social-wrapper"},_e=["innerHTML"],ve={__name:"AppFullscreenMenu",setup(be){const i=d(!1),r=d(!1),c=d(!1),p=d(!1),N=X(),{menuOpen:f,navigation:L,llmButtons:x}=te(N);Z();const P=g(()=>v(x,"sectionTitle")||"Request an AI Summary of GV"),A=g(()=>v(x,"promptText")||""),_=g(()=>{const e=v(x,"platforms");return Array.isArray(e)?e:[]}),C=g(()=>v(L,"socials")),{hideAIMode:T,navigationLinks:U}=se(L),{width:$}=Y(),B=e=>e.url,j=I(),{$bus:ke}=J();ne(f,e=>{if(!e){r.value=!1,c.value=!1;return}V()},{immediate:!0});const F=async()=>{if(p.value)return;const e=_.value.length>0;if(!(e&&A.value)){p.value=!0;try{await V({force:!e})}finally{p.value=!1}}},G=async()=>{const e=!c.value;c.value=e,e&&await F()},z=()=>{f.value=!1},O=e=>{e&&e!==j.fullPath&&setTimeout(()=>{z()},200)},u=d(null);oe(()=>{if(!u.value)return;const e=s=>{};u.value.addEventListener("click",e),ae(()=>{u.value&&u.value.removeEventListener("click",e)})});const R=({isGemini:e})=>{e||(f.value=!1)};return(e,s)=>{const D=K,S=Q,W=ee;return o(),l("div",{ref_key:"menuEl",ref:u,class:"fullscreen-menu bg-black position-fixed t-0 l-0 overflow-auto py-4 px-1 p-md-0-875 p-xl-2-25 d-flex justify-content-md-center"},[m("div",ie,[m("div",re,[(o(!0),l(y,null,w(t(U),(n,a)=>(o(),b(D,{ref_for:!0,ref:"link",to:B(n),key:n.pageId||n.url||`${n.text}-${a}`,class:"gc17 gc17-md gc14-1-xl text-uppercase bold color-white hover-white d-inline-block d-xl-none nav-item",onClick:h=>O(B(n)),innerHTML:n.text},null,8,["to","onClick","innerHTML"]))),128)),m("button",{type:"button",class:"gc17 gc17-md gc14-1-xl text-uppercase bold color-white hover-white d-inline-block d-xl-none nav-item bg-transparent border-0 p-0","aria-expanded":t(r)?"true":"false","aria-controls":"mobile-social-links",onClick:s[0]||(s[0]=n=>r.value=!t(r))}," Social ",8,ce),E(H,{name:"submenu-fade"},{default:M(()=>[t(r)?(o(),l("div",ue,[(o(!0),l(y,null,w(t(C),(n,a)=>(o(),b(S,{key:`mobile-social-${a}`,tag:"a",preset:"fadeUp",from:{y:16,opacity:0},to:{y:0,opacity:1,duration:.3,delay:a*.08},href:n.value,target:"_blank",class:"gc17 gc17-md gc14-1-xl text-uppercase bold color-white hover-white d-inline-block d-xl-none nav-item social-sub-link",onClick:s[1]||(s[1]=h=>f.value=!1),innerHTML:n.key},null,8,["to","href","innerHTML"]))),128))])):k("",!0)]),_:1}),t(T)?k("",!0):(o(),l("button",{key:0,type:"button",class:"gc17 gc17-md gc14-1-xl text-uppercase bold color-white hover-white d-inline-block d-xl-none nav-item bg-transparent border-0 p-0","aria-expanded":t(c)?"true":"false","aria-controls":"mobile-ai-links",onClick:G}," AI Mode ",8,me)),E(H,{name:"submenu-fade"},{default:M(()=>[t(c)&&!t(T)?(o(),l("div",de,[t(p)&&!t(_).length?(o(),l("p",pe," Loading... ")):t(_).length?(o(),b(W,{key:1,title:t(P),prompt:t(A),platforms:t(_),"tracking-location":"fullscreen_mobile_menu","gemini-modal-title":"Ask Gemini about GV","auto-animate-on-mount":"",inverted:"",onPlatformClick:R},null,8,["title","prompt","platforms"])):k("",!0)])):k("",!0)]),_:1})]),m("div",fe,[(o(!0),l(y,null,w(t(C),(n,a)=>(o(),b(S,{tag:"a",preset:"fadeUp",from:{y:t($)<1200?0:-200},to:{delay:.2+a/5,duration:t($)<1200?0:.8},ref_for:!0,ref:"socialLink",onMouseenter:h=>i.value=a,onMouseleave:s[2]||(s[2]=h=>
1i.value=!1),class:le([[`social-link--${a}`,{active:t(i)===a,"not-active":t(i)&&t(i)!=a}],"d-inline-block social-link"]),key:a,href:n.value,target:"_blank"},{default:M(()=>[m("h6",{innerHTML:n.key,class:"gc17 gc17-md gc13-2-xl text-uppercase bold social"},null,8,_e)]),_:2},1032,["from","to","onMouseenter","class","href"]))),128))])])],512)}}},Ce=q(ve,[["__scopeId","data-v-dd0737b5"]]);export{Ce as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.