1import{u as R,o as f,e as b}from"./BDbHy1Cw.js";import{W as k,a as D,a0 as G,E as N,D as T}from"./DH8UUVDx.js";import{g as h}from"#entry";import{j as E}from"./CR7AoSgS.js";const B=()=>{const{gtag:c}=h(),{$config:u}=R(),e=k(),{discipline:r,module:n}=f(D()),i=E(()=>n.value?.replace("discipline-","")),{locale:l}=G(),p=b(),m=N(),g=T(),v=()=>{switch(!0){case e.isDesktop:return"desktop";case e.isTablet:return"tablet";case e.isMobile:return"mobile";default:return""}},a=()=>{const t=p.currentRoute?.value,s=g(t),o=m(s,"en");return`${u.public?.appDomain}${o?.path}`};return{trackGaEvent:t=>{const s={device_type:v(),discipline:r.value?.title,section:i.value,selected_language:l.value,page_url:a()},{event:o,...d}=t;c("event",o,{...s,...d})},getPageUrl:a}};export{B as u};
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.