1import h from"./Brk1mKNN.js";import L from"./_NYXBqk1.js";import{_ as w}from"./D2yG2EH7.js";import{u as y}from"./BwnWW_FZ.js";import{g as v}from"./kIzYXmK0.js";import{u as B}from"./DT7JlThB.js";import{k as E,c as M,f as m,o as n,h as N,w as C,b as o,e as r,a as l,t as u,u as P}from"./Q6C8zf6a.js";import"./BB_xiAxL.js";import"./DB42MCEB.js";import"./yoVCQo5v.js";import"./COjhYyr1.js";import"./UOT4Wx8t.js";import"./4DPLanj3.js";import"./CTVnN6IM.js";import"./DsD71Nu6.js";import"./ClvvPbaP.js";import"./Bp2H_QBv.js";import"./CO_9lU0n.js";import"./DzuzKdz5.js";import"./yroz_IR_.js";import"./DrAfJg2T.js";import"./BJ2ClxiI.js";import"./B6COaLvX.js";import"./BOnugIwB.js";const T=["src"],b={class:"flex flex-col gap-0.5"},V={class:"flex flex-wrap items-center gap-x-2 text-sm/5 font-medium"},F={key:0,class:"text-xs text-gray-400"},I=E({__name:"MegaMenuItem",props:{item:{},columnTitle:{}},emits:["link-click"],setup(e,{emit:p}){const t=e,_=p,s=y(),a=M(()=>t.item.internalLink?.slug?v(t.item.internalLink.slug,t.item.internalLink.__typename):t.item.externalLink?t.item.externalLink.startsWith("/")?s(t.item.externalLink):t.item.externalLink:s("/")),d=B(),f=()=>{_("link-click"),d?.trackEvent({event:"menu_click",text:t.item.title,current_url:window.location.href,click_url:t.item.externalLink||window.location.origin+a.value,type:"Menu",section:t.columnTitle}),document.documentElement.classList.add("navigating"),setTimeout(()=>{document.documentElement.classList.remove("navigating")},500);const c=document.querySelectorAll(":focus");for(const i of c)i instanceof HTMLElement&&i.blur()};return(c,i)=>{const k=h,g=L,x=w;return n(),m("li",null,[N(x,{to:P(a),class:"flex items-start gap-3.5 transition hover:text-primary-light",onClick:f},{default:C(()=>[e.item.icon?.url?(n(),m("img",{key:0,src:e.item.icon.url,alt:"",class:"h-5 w-5 shrink-0"},null,8,T)):o("",!0),r("div",b,[r("span",V,[r("span",null,u(e.item.title),1),e.item.showFreeBadge?(n(),l(k,{key:0})):o("",!0),e.item.showNewBadge?(n(),l(g,{key:1})):o("",!0)]),e.item.description?(n(),m("span",F,u(e.item.description),1)):o("",!0)])]),_:1},8,["to"])])}}}),mt=Object.assign(I,{__name:"MegaMenuItem"});export{mt 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.